From cf4fd8faf311b3c7bfab6e1bfbe93134295e36ed Mon Sep 17 00:00:00 2001 From: chadcarlson Date: Fri, 25 Feb 2022 12:30:03 -0500 Subject: [PATCH 1/2] Migrations. --- migrate.py | 107 ++++++++++++++ migrations/akeneo.migrate.json | 27 ++++ migrations/aspnet-core.migrate.json | 57 +++++++ migrations/backdrop.migrate.json | 34 +++++ migrations/beego.migrate.json | 36 +++++ migrations/directus.migrate.json | 22 +++ migrations/django2.migrate.json | 40 +++++ migrations/django3.migrate.json | 40 +++++ migrations/django4.migrate.json | 40 +++++ migrations/drupal8-govcms8.migrate.json | 42 ++++++ migrations/drupal8-multisite.migrate.json | 55 +++++++ migrations/drupal8-opigno.migrate.json | 38 +++++ migrations/drupal8.migrate.json | 38 +++++ migrations/drupal9.migrate.json | 38 +++++ migrations/echo.migrate.json | 24 +++ migrations/elastic-apm.migrate.json | 139 ++++++++++++++++++ migrations/eleventy-strapi.migrate.json | 115 +++++++++++++++ migrations/express.migrate.json | 23 +++ migrations/fastapi.migrate.json | 24 +++ migrations/flask.migrate.json | 24 +++ migrations/gatsby-drupal.migrate.json | 93 ++++++++++++ migrations/gatsby-strapi.migrate.json | 59 ++++++++ migrations/gatsby-wordpress.migrate.json | 55 +++++++ migrations/gatsby.migrate.json | 25 ++++ migrations/gin.migrate.json | 24 +++ migrations/golang.migrate.json | 24 +++ migrations/hugo.migrate.json | 74 ++++++++++ migrations/jenkins.migrate.json | 20 +++ migrations/jetty.migrate.json | 38 +++++ migrations/koa.migrate.json | 23 +++ migrations/laravel.migrate.json | 26 ++++ migrations/lisp.migrate.json | 23 +++ migrations/magento2ce.migrate.json | 32 ++++ migrations/mattermost.migrate.json | 24 +++ migrations/meilisearch.migrate.json | 26 ++++ migrations/micronaut.migrate.json | 45 ++++++ migrations/microprofile-helidon.migrate.json | 39 +++++ .../microprofile-kumuluzee.migrate.json | 41 ++++++ .../microprofile-openliberty.migrate.json | 52 +++++++ migrations/microprofile-payara.migrate.json | 44 ++++++ .../microprofile-thorntail.migrate.json | 41 ++++++ migrations/microprofile-tomee.migrate.json | 41 ++++++ migrations/microprofile-wildfly.migrate.json | 39 +++++ migrations/nextcloud.migrate.json | 37 +++++ migrations/nextjs.migrate.json | 34 +++++ migrations/nodejs.migrate.json | 23 +++ migrations/nuxtjs.migrate.json | 25 ++++ migrations/pelican.migrate.json | 28 ++++ migrations/php.migrate.json | 27 ++++ migrations/pimcore.migrate.json | 31 ++++ migrations/probot.migrate.json | 42 ++++++ migrations/pyramid.migrate.json | 24 +++ migrations/python3-uwsgi.migrate.json | 26 ++++ migrations/python3.migrate.json | 24 +++ migrations/quarkus.migrate.json | 47 ++++++ migrations/rails.migrate.json | 32 ++++ migrations/sculpin.migrate.json | 24 +++ .../spring-boot-gradle-mysql.migrate.json | 46 ++++++ .../spring-boot-maven-mysql.migrate.json | 41 ++++++ migrations/spring-kotlin.migrate.json | 47 ++++++ .../spring-mvc-maven-mongodb.migrate.json | 46 ++++++ migrations/strapi.migrate.json | 32 ++++ migrations/strapi4.migrate.json | 55 +++++++ migrations/sylius.migrate.json | 27 ++++ migrations/tomcat.migrate.json | 32 ++++ migrations/typo3.migrate.json | 40 +++++ migrations/wagtail.migrate.json | 28 ++++ migrations/wordpress-bedrock.migrate.json | 31 ++++ migrations/wordpress-composer.migrate.json | 38 +++++ migrations/wordpress-vanilla.migrate.json | 25 ++++ migrations/wordpress-woocommerce.migrate.json | 30 ++++ migrations/xwiki.migrate.json | 21 +++ 72 files changed, 2834 insertions(+) create mode 100644 migrate.py create mode 100644 migrations/akeneo.migrate.json create mode 100644 migrations/aspnet-core.migrate.json create mode 100644 migrations/backdrop.migrate.json create mode 100644 migrations/beego.migrate.json create mode 100644 migrations/directus.migrate.json create mode 100644 migrations/django2.migrate.json create mode 100644 migrations/django3.migrate.json create mode 100644 migrations/django4.migrate.json create mode 100644 migrations/drupal8-govcms8.migrate.json create mode 100644 migrations/drupal8-multisite.migrate.json create mode 100644 migrations/drupal8-opigno.migrate.json create mode 100644 migrations/drupal8.migrate.json create mode 100644 migrations/drupal9.migrate.json create mode 100644 migrations/echo.migrate.json create mode 100644 migrations/elastic-apm.migrate.json create mode 100644 migrations/eleventy-strapi.migrate.json create mode 100644 migrations/express.migrate.json create mode 100644 migrations/fastapi.migrate.json create mode 100644 migrations/flask.migrate.json create mode 100644 migrations/gatsby-drupal.migrate.json create mode 100644 migrations/gatsby-strapi.migrate.json create mode 100644 migrations/gatsby-wordpress.migrate.json create mode 100644 migrations/gatsby.migrate.json create mode 100644 migrations/gin.migrate.json create mode 100644 migrations/golang.migrate.json create mode 100644 migrations/hugo.migrate.json create mode 100644 migrations/jenkins.migrate.json create mode 100644 migrations/jetty.migrate.json create mode 100644 migrations/koa.migrate.json create mode 100644 migrations/laravel.migrate.json create mode 100644 migrations/lisp.migrate.json create mode 100644 migrations/magento2ce.migrate.json create mode 100644 migrations/mattermost.migrate.json create mode 100644 migrations/meilisearch.migrate.json create mode 100644 migrations/micronaut.migrate.json create mode 100644 migrations/microprofile-helidon.migrate.json create mode 100644 migrations/microprofile-kumuluzee.migrate.json create mode 100644 migrations/microprofile-openliberty.migrate.json create mode 100644 migrations/microprofile-payara.migrate.json create mode 100644 migrations/microprofile-thorntail.migrate.json create mode 100644 migrations/microprofile-tomee.migrate.json create mode 100644 migrations/microprofile-wildfly.migrate.json create mode 100644 migrations/nextcloud.migrate.json create mode 100644 migrations/nextjs.migrate.json create mode 100644 migrations/nodejs.migrate.json create mode 100644 migrations/nuxtjs.migrate.json create mode 100644 migrations/pelican.migrate.json create mode 100644 migrations/php.migrate.json create mode 100644 migrations/pimcore.migrate.json create mode 100644 migrations/probot.migrate.json create mode 100644 migrations/pyramid.migrate.json create mode 100644 migrations/python3-uwsgi.migrate.json create mode 100644 migrations/python3.migrate.json create mode 100644 migrations/quarkus.migrate.json create mode 100644 migrations/rails.migrate.json create mode 100644 migrations/sculpin.migrate.json create mode 100644 migrations/spring-boot-gradle-mysql.migrate.json create mode 100644 migrations/spring-boot-maven-mysql.migrate.json create mode 100644 migrations/spring-kotlin.migrate.json create mode 100644 migrations/spring-mvc-maven-mongodb.migrate.json create mode 100644 migrations/strapi.migrate.json create mode 100644 migrations/strapi4.migrate.json create mode 100644 migrations/sylius.migrate.json create mode 100644 migrations/tomcat.migrate.json create mode 100644 migrations/typo3.migrate.json create mode 100644 migrations/wagtail.migrate.json create mode 100644 migrations/wordpress-bedrock.migrate.json create mode 100644 migrations/wordpress-composer.migrate.json create mode 100644 migrations/wordpress-vanilla.migrate.json create mode 100644 migrations/wordpress-woocommerce.migrate.json create mode 100644 migrations/xwiki.migrate.json diff --git a/migrate.py b/migrate.py new file mode 100644 index 000000000..33f178539 --- /dev/null +++ b/migrate.py @@ -0,0 +1,107 @@ +# test.py in template-builder root + +import os +import json +import dodo +from datetime import datetime + +def get_templates_list(): + + templates_path = "{0}/templates".format(os.getcwd()) + with os.scandir(templates_path) as p: + for entry in p: + if entry.is_dir(): + yield entry.name + +def document_migration_steps(template): + + mypath = "{0}/templates/{1}/files".format(os.getcwd(), template) + template_link = 'https://raw.githubusercontent.com/platformsh/template-builder/master/' + + def get_files(path, depth): + """Retrieve files added to upstream templates.""" + depth -= 1 + with os.scandir(path) as p: + for entry in p: + file_link = entry.path.replace("{0}/".format(mypath),template_link) + yield file_link + if entry.is_dir() and depth > 0: + yield from get_files(entry.path, depth) + + def get_commands(data): + # data = dodo.project_factory(template).update + commands = [] + for item in data: + if isinstance(item, str): + # if 'echo' not in item and 'git' not in item and 'rsync' not in item: + if "&&" in item: + if len(item.split(" && ")) == 2: + # new_item = item.split(" && ")[1] + commands.append(item.split(" && ")[1]) + # print(new_item) + # if 'composer require' in new_item or 'composer update' in new_item: + # commands.append(new_item.split(" --")[0]) + # else: + # commands.append(item.split(" && ")[1]) + else: + commands.append(item) + return commands + + 'cleanup', 'init', 'update', 'platformify', 'branch', 'push' + + def get_cleanup_commands(): + return get_commands(dodo.project_factory(template).cleanup) + + def get_init_commands(): + return get_commands(dodo.project_factory(template).init) + + def get_update_commands(): + return get_commands(dodo.project_factory(template).update) + + def get_platformify_commands(): + return get_commands(dodo.project_factory(template).platformify) + + def get_branch_commands(): + return get_commands(dodo.project_factory(template).branch) + + def get_push_commands(): + return get_commands(dodo.project_factory(template).push) + + # Files. + migrate_files = list(get_files(mypath, 10)) + + # Commands. + cleanup_commands = get_cleanup_commands() + init_commands = get_init_commands() + update_commands = get_update_commands() + platformify_commands = get_platformify_commands() + branch_commands = get_branch_commands() + push_commands = get_push_commands() + + data = { + "template": template, + "last_updated_on": datetime.today().strftime('%Y-%m-%d-%H:%M:%S'), + "migration": { + "files": migrate_files, + "commands": [ + *cleanup_commands, + *init_commands, + *update_commands, + *platformify_commands, + *branch_commands, + *push_commands + ] + } + } + + json_data=json.dumps(data, indent = 4) + with open("{0}/migrations/{1}.migrate.json".format(os.getcwd(), template), "w") as outfile: + outfile.write(json_data) + +def run(): + templates = list(get_templates_list()) + for template in templates: + document_migration_steps(template) + +if __name__ == "__main__": + run() \ No newline at end of file diff --git a/migrations/akeneo.migrate.json b/migrations/akeneo.migrate.json new file mode 100644 index 000000000..ba14804d9 --- /dev/null +++ b/migrations/akeneo.migrate.json @@ -0,0 +1,27 @@ +{ + "template": "akeneo", + "last_updated_on": "2022-02-25-12:29:07", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/akeneo/build/", + "git clone git@github.com:platformsh-templates/akeneo.git /Users/chadcarlson/template-builder/templates/akeneo/build/", + "git remote add project https://github.com/akeneo/pim-community-standard.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/akeneo/files/ /Users/chadcarlson/template-builder/templates/akeneo/build/", + "composer require platformsh/config-reader --no-scripts --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "composer update -W --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/aspnet-core.migrate.json b/migrations/aspnet-core.migrate.json new file mode 100644 index 000000000..1dcae4069 --- /dev/null +++ b/migrations/aspnet-core.migrate.json @@ -0,0 +1,57 @@ +{ + "template": "aspnet-core", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/favicon.ico", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/css/site.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/js/site.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/lib", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot/lib/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/LICENSE", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Startup.cs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/appsettings.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Models", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Models/ErrorViewModel.cs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/PlatformshAspNetCore.csproj", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app.config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Properties/launchSettings.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/PlatformshAspNetCore.sln", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/appsettings.Development.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Controllers", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Controllers/HomeController.cs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Data", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Data/MyDbContext.cs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Home", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Home/Privacy.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Home/Index.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/_ViewImports.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Shared", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Shared/_Layout.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Shared/Error.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Shared/_CookieConsentPartial.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/Shared/_ValidationScriptsPartial.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Views/_ViewStart.cshtml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/PlatformConfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/PlatformConfig/PlatformRelationship.cs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Program.cs" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/aspnet-core/build/", + "git clone git@github.com:platformsh-templates/aspnet-core.git /Users/chadcarlson/template-builder/templates/aspnet-core/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/aspnet-core/files/ /Users/chadcarlson/template-builder/templates/aspnet-core/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/backdrop.migrate.json b/migrations/backdrop.migrate.json new file mode 100644 index 000000000..2539907b3 --- /dev/null +++ b/migrations/backdrop.migrate.json @@ -0,0 +1,34 @@ +{ + "template": "backdrop", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/staging", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/staging/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/active", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/active/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/backdrop/build/", + "git clone git@github.com:platformsh-templates/backdrop.git /Users/chadcarlson/template-builder/templates/backdrop/build/", + "tar xzvf 1.21.1.tar.gz -C /Users/chadcarlson/template-builder/templates/backdrop/build/", + "rm 1.21.1.tar.gz", + "rm -rf /Users/chadcarlson/template-builder/templates/backdrop/build/web || true", + "mv /Users/chadcarlson/template-builder/templates/backdrop/build/backdrop-1.21.1 /Users/chadcarlson/template-builder/templates/backdrop/build/web", + "rsync -aP /Users/chadcarlson/template-builder/templates/backdrop/files/ /Users/chadcarlson/template-builder/templates/backdrop/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/beego.migrate.json b/migrations/beego.migrate.json new file mode 100644 index 000000000..30c5644cb --- /dev/null +++ b/migrations/beego.migrate.json @@ -0,0 +1,36 @@ +{ + "template": "beego", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/routers", + "https://raw.githubusercontent.com/platformsh/template-builder/master/routers/router.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", + "https://raw.githubusercontent.com/platformsh/template-builder/master/tests", + "https://raw.githubusercontent.com/platformsh/template-builder/master/tests/default_test.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.sum", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/controllers", + "https://raw.githubusercontent.com/platformsh/template-builder/master/controllers/services.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/controllers/default.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/views", + "https://raw.githubusercontent.com/platformsh/template-builder/master/views/index.tpl", + "https://raw.githubusercontent.com/platformsh/template-builder/master/conf", + "https://raw.githubusercontent.com/platformsh/template-builder/master/conf/app.conf", + "https://raw.githubusercontent.com/platformsh/template-builder/master/conf/conf.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/main.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/beego/build/", + "git clone git@github.com:platformsh-templates/beego.git /Users/chadcarlson/template-builder/templates/beego/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/beego/files/ /Users/chadcarlson/template-builder/templates/beego/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/directus.migrate.json b/migrations/directus.migrate.json new file mode 100644 index 000000000..02ebc4130 --- /dev/null +++ b/migrations/directus.migrate.json @@ -0,0 +1,22 @@ +{ + "template": "directus", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/directus/build/", + "git clone git@github.com:platformsh-templates/directus.git /Users/chadcarlson/template-builder/templates/directus/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/directus/files/ /Users/chadcarlson/template-builder/templates/directus/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/django2.migrate.json b/migrations/django2.migrate.json new file mode 100644 index 000000000..bd0ee1549 --- /dev/null +++ b/migrations/django2.migrate.json @@ -0,0 +1,40 @@ +{ + "template": "django2", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/settings.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/wsgi.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/manage.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/models.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/apps.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/admin.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates/base.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/tests.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/views.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/django2/build/", + "git clone git@github.com:platformsh-templates/django2.git /Users/chadcarlson/template-builder/templates/django2/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/django2/files/ /Users/chadcarlson/template-builder/templates/django2/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/django3.migrate.json b/migrations/django3.migrate.json new file mode 100644 index 000000000..2411bb804 --- /dev/null +++ b/migrations/django3.migrate.json @@ -0,0 +1,40 @@ +{ + "template": "django3", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/settings.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/wsgi.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/manage.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/models.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/apps.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/admin.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates/base.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/tests.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/views.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/django3/build/", + "git clone git@github.com:platformsh-templates/django3.git /Users/chadcarlson/template-builder/templates/django3/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/django3/files/ /Users/chadcarlson/template-builder/templates/django3/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/django4.migrate.json b/migrations/django4.migrate.json new file mode 100644 index 000000000..a19f3a559 --- /dev/null +++ b/migrations/django4.migrate.json @@ -0,0 +1,40 @@ +{ + "template": "django4", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/settings.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/wsgi.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/manage.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/migrations/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/models.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/apps.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/admin.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/templates/base.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/tests.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hello/views.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/django4/build/", + "git clone git@github.com:platformsh-templates/django4.git /Users/chadcarlson/template-builder/templates/django4/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/django4/files/ /Users/chadcarlson/template-builder/templates/django4/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/drupal8-govcms8.migrate.json b/migrations/drupal8-govcms8.migrate.json new file mode 100644 index 000000000..d08570250 --- /dev/null +++ b/migrations/drupal8-govcms8.migrate.json @@ -0,0 +1,42 @@ +{ + "template": "drupal8-govcms8", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/scripts", + "https://raw.githubusercontent.com/platformsh/template-builder/master/scripts/composer", + "https://raw.githubusercontent.com/platformsh/template-builder/master/scripts/composer/ScriptHandler.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/docroot", + "https://raw.githubusercontent.com/platformsh/template-builder/master/docroot/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/docroot/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/docroot/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/docroot/sites/default/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/drupal8-govcms8/build/", + "git clone git@github.com:platformsh-templates/drupal8-govcms8.git /Users/chadcarlson/template-builder/templates/drupal8-govcms8/build/", + "git remote add project https://github.com/govCMS/govCMS8-project.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/drupal8-govcms8/files/ /Users/chadcarlson/template-builder/templates/drupal8-govcms8/build/", + "patch -p1 < /Users/chadcarlson/template-builder/templates/drupal8-govcms8/gitignore.patch", + "composer require platformsh/config-reader drush/drush drupal/redis --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/drupal8-multisite.migrate.json b/migrations/drupal8-multisite.migrate.json new file mode 100644 index 000000000..8ddcb6dc8 --- /dev/null +++ b/migrations/drupal8-multisite.migrate.json @@ -0,0 +1,55 @@ +{ + "template": "drupal8-multisite", + "last_updated_on": "2022-02-25-12:29:01", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/psh-subsite-add.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/first", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/first/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/second", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/second/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/sites.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/first", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/first/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/first/services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/first/drushrc.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default.settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/second", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/second/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/second/services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/second/drushrc.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/drushrc.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default.services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/drupal8-multisite/build/", + "git clone git@github.com:platformsh-templates/drupal8-multisite.git /Users/chadcarlson/template-builder/templates/drupal8-multisite/build/", + "git remote add project https://github.com/drupal/recommended-project.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/drupal8-multisite/files/ /Users/chadcarlson/template-builder/templates/drupal8-multisite/build/", + "composer require platformsh/config-reader drush/drush drupal/console drupal/redis --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/drupal8-opigno.migrate.json b/migrations/drupal8-opigno.migrate.json new file mode 100644 index 000000000..b37129b76 --- /dev/null +++ b/migrations/drupal8-opigno.migrate.json @@ -0,0 +1,38 @@ +{ + "template": "drupal8-opigno", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/drupal8-opigno/build/", + "git clone git@github.com:platformsh-templates/drupal8-opigno.git /Users/chadcarlson/template-builder/templates/drupal8-opigno/build/", + "git remote add project https://bitbucket.org/opigno/opigno-composer.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/drupal8-opigno/files/ /Users/chadcarlson/template-builder/templates/drupal8-opigno/build/", + "composer require platformsh/config-reader drush/drush drupal/console drupal/redis --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/drupal8.migrate.json b/migrations/drupal8.migrate.json new file mode 100644 index 000000000..06c2e837a --- /dev/null +++ b/migrations/drupal8.migrate.json @@ -0,0 +1,38 @@ +{ + "template": "drupal8", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/drupal8/build/", + "git clone git@github.com:platformsh-templates/drupal8.git /Users/chadcarlson/template-builder/templates/drupal8/build/", + "git remote add project https://github.com/drupal/recommended-project.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/drupal8/files/ /Users/chadcarlson/template-builder/templates/drupal8/build/", + "composer require platformsh/config-reader drush/drush drupal/console drupal/redis --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/drupal9.migrate.json b/migrations/drupal9.migrate.json new file mode 100644 index 000000000..5b668fa10 --- /dev/null +++ b/migrations/drupal9.migrate.json @@ -0,0 +1,38 @@ +{ + "template": "drupal9", + "last_updated_on": "2022-02-25-12:29:03", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sync/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/sites/default/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/drupal9/build/", + "git clone git@github.com:platformsh-templates/drupal9.git /Users/chadcarlson/template-builder/templates/drupal9/build/", + "git remote add project https://github.com/drupal/recommended-project.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/drupal9/files/ /Users/chadcarlson/template-builder/templates/drupal9/build/", + "composer require platformsh/config-reader drush/drush drupal/redis --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/echo.migrate.json b/migrations/echo.migrate.json new file mode 100644 index 000000000..dacd2cbe5 --- /dev/null +++ b/migrations/echo.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "echo", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.sum", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/echo/build/", + "git clone git@github.com:platformsh-templates/echo.git /Users/chadcarlson/template-builder/templates/echo/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/echo/files/ /Users/chadcarlson/template-builder/templates/echo/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/elastic-apm.migrate.json b/migrations/elastic-apm.migrate.json new file mode 100644 index 000000000..53afcfd46 --- /dev/null +++ b/migrations/elastic-apm.migrate.json @@ -0,0 +1,139 @@ +{ + "template": "elastic-apm", + "last_updated_on": "2022-02-25-12:29:01", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/apm", + "https://raw.githubusercontent.com/platformsh/template-builder/master/apm/apm-server.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/apm/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/apm/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/graph.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logged_out.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/2d206f2ac9a77fca1cab6507cc5e370b.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ml.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/code.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/uptime.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ml.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/7c87870ab40d63cfb8870c1f183f9939.ttf", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/siem.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/apm.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/overwritten_session.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/light_theme.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ec0a03ccf2eb480130b7f4e4bb30de9e.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/commons.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ed25c142a6cdcc9beadd47818d785f4c.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/uptime.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/a5cd567676cfb71f00d939603deadb58.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/a1bd91a0bdccea530c5b4c4225e2114a.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/timelion.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dashboardViewer.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logged_out.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/timelion.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/canvas.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/space_selector.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/status_page.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/monitoring.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/space_selector.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logout.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dashboardViewer.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/infra.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/stateSessionStorageRedirect.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/67ad29097ce5a6e52048a8d74d01d3bb.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/kibana.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/stateSessionStorageRedirect.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/07af0a971c175d17df0116af2b61caea.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/siem.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/b92a8d2bedcc3a3ddc13d818f2286e09.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/fb7ae9f98f10e032ccf36dd3447304d5.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dark_theme.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/1e3666117f7b615888e4683e29f87775.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dfb02f8f6d0cedc009ee5887cc68f1f3.woff", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/infra.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/maps.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/login.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/status_page.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/monitoring.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/code.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/0ca8fdc5268865a96d960fcb9fed7bc8.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/code.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/4b5a84aaf1c9485e060c503a0ff8cadb.woff2", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/maps.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/login.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/login.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/kibana.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dark_theme.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/apm.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/infra.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/stateSessionStorageRedirect.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/kibana.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/5bea4c56c7f0979e110fc248702f6133.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/status_page.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logout.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/d844bf9e1d3f97d254b44777036da1ed.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/space_selector.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/monitoring.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/overwritten_session.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logout.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/dashboardViewer.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/logged_out.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/maps.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/45c73723862c6fc5eb3d6961db2d71fb.eot", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ade373b30e3198d431ecdd2eca3288d3.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/canvas.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/61f7a8d41bbaca86f089d381a6be87d3.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/timelion.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/143c1dbf62728f0b6a6d9e3796126a94.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/156d8527c5b6a05166af9b56235b3cfe.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/91ed15f370a0b093d93d2a5916819434.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/825f54019d40a951b0a446eee370bb07.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/a2b9702c97ccdabde1278b48d790c3da.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/canvas.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ac6e862984bc3f8c4524de056b8179e5.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/d303df21725bd07dffc21f897556169f.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/commons.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/65d2531accd85d48619a26503c062a9c.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/uptime.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/light_theme.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/apm.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/overwritten_session.bundle.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/siem.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/ml.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/graph.entry.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/a36b66d087906393e87379113b20f413.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/76a4f23c6be74fd309e0d0fd2c27a5de.svg", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/c82c878cabd92d1f5ef932187307cd38.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/58f66da475d6edec13ea07c342baf0c9.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/graph.style.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui/public/field_editor", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui/public/field_editor/components", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui/public/field_editor/components/field_format_editor", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_kibana_optimize/src/legacy/ui/public/field_editor/components/field_format_editor/editors", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/optimize.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/kibana/_config/kibana.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/elastic-apm/build/", + "git clone git@github.com:platformsh-templates/elastic-apm.git /Users/chadcarlson/template-builder/templates/elastic-apm/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/elastic-apm/files/ /Users/chadcarlson/template-builder/templates/elastic-apm/build/", + "echo 8.0.0 > kibana_version", + "echo 8.0.0 > apm_version", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/eleventy-strapi.migrate.json b/migrations/eleventy-strapi.migrate.json new file mode 100644 index 000000000..5887cebeb --- /dev/null +++ b/migrations/eleventy-strapi.migrate.json @@ -0,0 +1,115 @@ +{ + "template": "eleventy-strapi", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/handle_mounts.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/favicon.ico", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/database.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/server.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/plugins.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/functions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/functions/cron.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/functions/bootstrap.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/functions/responses", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/config/functions/responses/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.eslintrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/extensions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/extensions/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/extensions/users-permissions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/extensions/users-permissions/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/extensions/users-permissions/config/jwt.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/yarn.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/public/uploads", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/public/uploads/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/public/robots.txt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/config/routes.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/models", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/models/article.settings.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/models/article.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/controllers", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/controllers/article.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/services", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/api/article/services/article.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.eslintignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.env.example", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes/postslist.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes/layouts", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes/layouts/home.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes/layouts/post.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_includes/layouts/base.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/blogs", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/blogs/list.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/blogs/entry.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts/thirdpost.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts/fourthpost.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts/firstpost.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts/posts.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/posts/secondpost.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/LICENSE", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/netlify.toml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/css/platformsh.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/css/index.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/css/prism-base16-monokai.dark.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.eleventyignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/about", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/about/index.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/index.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/archive.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/img", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/img/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/tags-list.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/yarn.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/page-list.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/feed", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/feed/htaccess.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/feed/feed.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/feed/json.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.nvmrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.github", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.github/FUNDING.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/404.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_data", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_data/blogposts.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_data/metadata.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/_data/metadata.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.eleventy.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/.travis.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/sitemap.xml.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/eleventy/tags.njk", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/eleventy-strapi/build/", + "git clone git@github.com:platformsh-templates/eleventy-strapi.git /Users/chadcarlson/template-builder/templates/eleventy-strapi/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/eleventy-strapi/files/ /Users/chadcarlson/template-builder/templates/eleventy-strapi/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/express.migrate.json b/migrations/express.migrate.json new file mode 100644 index 000000000..2c40b7ba7 --- /dev/null +++ b/migrations/express.migrate.json @@ -0,0 +1,23 @@ +{ + "template": "express", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/express/build/", + "git clone git@github.com:platformsh-templates/express.git /Users/chadcarlson/template-builder/templates/express/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/express/files/ /Users/chadcarlson/template-builder/templates/express/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/fastapi.migrate.json b/migrations/fastapi.migrate.json new file mode 100644 index 000000000..9e330f858 --- /dev/null +++ b/migrations/fastapi.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "fastapi", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/fastapi/build/", + "git clone git@github.com:platformsh-templates/fastapi.git /Users/chadcarlson/template-builder/templates/fastapi/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/fastapi/files/ /Users/chadcarlson/template-builder/templates/fastapi/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/flask.migrate.json b/migrations/flask.migrate.json new file mode 100644 index 000000000..a37865c20 --- /dev/null +++ b/migrations/flask.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "flask", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/flask/build/", + "git clone git@github.com:platformsh-templates/flask.git /Users/chadcarlson/template-builder/templates/flask/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/flask/files/ /Users/chadcarlson/template-builder/templates/flask/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/gatsby-drupal.migrate.json b/migrations/gatsby-drupal.migrate.json new file mode 100644 index 000000000..b2bdd25bd --- /dev/null +++ b/migrations/gatsby-drupal.migrate.json @@ -0,0 +1,93 @@ +{ + "template": "gatsby-drupal", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/composer.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/config/sync", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/config/sync/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.ht.router.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/autoload.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/update.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.csslintrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/index.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/web.config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/example.sites.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/example.settings.local.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/development.services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/default/settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/default/default.settings.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/default/settings.platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/default/default.services.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/sites/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.eslintignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/robots.txt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/profiles", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/profiles/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/modules", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/modules/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/themes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/themes/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.eslintrc.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/web/.htaccess", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/install-redis.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/.gitattributes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/drush", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/drush/platformsh_generate_drush_yml.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/drush/platformsh_drush.inc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal/composer.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-ssr.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/LICENSE", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-browser.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-config.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-node.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-astronaut.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-icon.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/layout.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/seo.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/header.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/articlePreview.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/image.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/layout.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates/article.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/using-typescript.tsx", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/page-2.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/articles.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/gatsby-drupal/build/", + "git clone git@github.com:platformsh-templates/gatsby-drupal.git /Users/chadcarlson/template-builder/templates/gatsby-drupal/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/gatsby-drupal/files/ /Users/chadcarlson/template-builder/templates/gatsby-drupal/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/gatsby-strapi.migrate.json b/migrations/gatsby-strapi.migrate.json new file mode 100644 index 000000000..7f29fa82d --- /dev/null +++ b/migrations/gatsby-strapi.migrate.json @@ -0,0 +1,59 @@ +{ + "template": "gatsby-strapi", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-ssr.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/LICENSE", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/yarn.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-browser.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-config.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-node.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-astronaut.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-icon.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/layout.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/seo.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/card.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/articles.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/nav.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates/article.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates/category.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/assets", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/assets/css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/assets/css/main.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/platformsh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/platformsh/database.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/platformsh/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/platformsh/server.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/strapi/start.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/gatsby-strapi/build/", + "git clone git@github.com:platformsh-templates/gatsby-strapi.git /Users/chadcarlson/template-builder/templates/gatsby-strapi/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/gatsby-strapi/files/ /Users/chadcarlson/template-builder/templates/gatsby-strapi/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/gatsby-wordpress.migrate.json b/migrations/gatsby-wordpress.migrate.json new file mode 100644 index 000000000..4879c9184 --- /dev/null +++ b/migrations/gatsby-wordpress.migrate.json @@ -0,0 +1,55 @@ +{ + "template": "gatsby-wordpress", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/wp-config.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/wp-cli.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/composer.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/composer.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress/example.wp-config-local.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-ssr.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/LICENSE", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-browser.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-config.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.prettierrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/gatsby-node.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-astronaut.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/images/gatsby-icon.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/layout.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/seo.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/header.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/image.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/components/layout.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/templates/blog-post.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/page-2.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gatsby/src/pages/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/gatsby-wordpress/build/", + "git clone git@github.com:platformsh-templates/gatsby-wordpress.git /Users/chadcarlson/template-builder/templates/gatsby-wordpress/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/gatsby-wordpress/files/ /Users/chadcarlson/template-builder/templates/gatsby-wordpress/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/gatsby.migrate.json b/migrations/gatsby.migrate.json new file mode 100644 index 000000000..d103d4f7e --- /dev/null +++ b/migrations/gatsby.migrate.json @@ -0,0 +1,25 @@ +{ + "template": "gatsby", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/gatsby/build/", + "git clone git@github.com:platformsh-templates/gatsby.git /Users/chadcarlson/template-builder/templates/gatsby/build/", + "git remote add project https://github.com/gatsbyjs/gatsby-starter-blog.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "git merge --allow-unrelated-histories -X theirs --squash project/master", + "rsync -aP /Users/chadcarlson/template-builder/templates/gatsby/files/ /Users/chadcarlson/template-builder/templates/gatsby/build/", + "rm -rf package-lock.json", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/gin.migrate.json b/migrations/gin.migrate.json new file mode 100644 index 000000000..d4bb28e90 --- /dev/null +++ b/migrations/gin.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "gin", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.sum", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/gin/build/", + "git clone git@github.com:platformsh-templates/gin.git /Users/chadcarlson/template-builder/templates/gin/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/gin/files/ /Users/chadcarlson/template-builder/templates/gin/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/golang.migrate.json b/migrations/golang.migrate.json new file mode 100644 index 000000000..d9cd06642 --- /dev/null +++ b/migrations/golang.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "golang", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.go", + "https://raw.githubusercontent.com/platformsh/template-builder/master/go.sum", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/golang/build/", + "git clone git@github.com:platformsh-templates/golang.git /Users/chadcarlson/template-builder/templates/golang/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/golang/files/ /Users/chadcarlson/template-builder/templates/golang/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/hugo.migrate.json b/migrations/hugo.migrate.json new file mode 100644 index 000000000..110f7d9f8 --- /dev/null +++ b/migrations/hugo.migrate.json @@ -0,0 +1,74 @@ +{ + "template": "hugo", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/content", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content/post", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content/post/hello-world.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content/project", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content/project/hello-world.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hugo_version", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config.toml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/LICENSE.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/post", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/post/creating-a-new-theme.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/post/migrate-from-jekyll.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/post/hugoisforlovers.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/post/goisforlovers.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/project", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/project/project3.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/project/project2.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/project/project1.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/content/project/project4.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/exampleSite/config.toml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/images", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/images/screenshot.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/images/tn.png", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/archetypes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/archetypes/default.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/archetypes/project.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/archetypes/post.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/404.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/_default", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/_default/single.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/_default/list.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/_default/terms.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/body-open.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/css.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/list-item.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/js.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/paginator.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/footer.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/head-open.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/layouts/partials/header.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/static", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/static/css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/static/css/main.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/themes/minimal/theme.toml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/hugo/build/", + "git clone git@github.com:platformsh-templates/hugo.git /Users/chadcarlson/template-builder/templates/hugo/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/hugo/files/ /Users/chadcarlson/template-builder/templates/hugo/build/", + "echo 0.91.2 > hugo_version", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/jenkins.migrate.json b/migrations/jenkins.migrate.json new file mode 100644 index 000000000..4b6d54ad1 --- /dev/null +++ b/migrations/jenkins.migrate.json @@ -0,0 +1,20 @@ +{ + "template": "jenkins", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/jenkins/build/", + "git clone git@github.com:platformsh-templates/jenkins.git /Users/chadcarlson/template-builder/templates/jenkins/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/jenkins/files/ /Users/chadcarlson/template-builder/templates/jenkins/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/jetty.migrate.json b/migrations/jetty.migrate.json new file mode 100644 index 000000000..9e6a65881 --- /dev/null +++ b/migrations/jetty.migrate.json @@ -0,0 +1,38 @@ +{ + "template": "jetty", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/web.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldServlet.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/jetty/build/", + "git clone git@github.com:platformsh-templates/jetty.git /Users/chadcarlson/template-builder/templates/jetty/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/jetty/files/ /Users/chadcarlson/template-builder/templates/jetty/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/koa.migrate.json b/migrations/koa.migrate.json new file mode 100644 index 000000000..65eef99ed --- /dev/null +++ b/migrations/koa.migrate.json @@ -0,0 +1,23 @@ +{ + "template": "koa", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/koa/build/", + "git clone git@github.com:platformsh-templates/koa.git /Users/chadcarlson/template-builder/templates/koa/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/koa/files/ /Users/chadcarlson/template-builder/templates/koa/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/laravel.migrate.json b/migrations/laravel.migrate.json new file mode 100644 index 000000000..0263f57f0 --- /dev/null +++ b/migrations/laravel.migrate.json @@ -0,0 +1,26 @@ +{ + "template": "laravel", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/laravel/build/", + "git clone git@github.com:platformsh-templates/laravel.git /Users/chadcarlson/template-builder/templates/laravel/build/", + "git remote add project https://github.com/laravel/laravel.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/laravel/files/ /Users/chadcarlson/template-builder/templates/laravel/build/", + "patch -p1 < /Users/chadcarlson/template-builder/templates/laravel/gitignore.patch", + "composer require platformsh/laravel-bridge --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/lisp.migrate.json b/migrations/lisp.migrate.json new file mode 100644 index 000000000..6493b8c00 --- /dev/null +++ b/migrations/lisp.migrate.json @@ -0,0 +1,23 @@ +{ + "template": "lisp", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/example.asd", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/example.lisp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/lisp/build/", + "git clone git@github.com:platformsh-templates/lisp.git /Users/chadcarlson/template-builder/templates/lisp/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/lisp/files/ /Users/chadcarlson/template-builder/templates/lisp/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/magento2ce.migrate.json b/migrations/magento2ce.migrate.json new file mode 100644 index 000000000..4cd6c6185 --- /dev/null +++ b/migrations/magento2ce.migrate.json @@ -0,0 +1,32 @@ +{ + "template": "magento2ce", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/app", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/etc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/etc/local.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/deploy", + "https://raw.githubusercontent.com/platformsh/template-builder/master/disable-cron-workers.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pub", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pub/static-versioned.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/magento2ce/build/", + "git clone git@github.com:platformsh-templates/magento2ce.git /Users/chadcarlson/template-builder/templates/magento2ce/build/", + "git remote add project https://github.com/magento/magento2.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/magento2ce/files/ /Users/chadcarlson/template-builder/templates/magento2ce/build/", + "patch -p1 < /Users/chadcarlson/template-builder/templates/magento2ce/platformsh.patch", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/mattermost.migrate.json b/migrations/mattermost.migrate.json new file mode 100644 index 000000000..cc695cfcc --- /dev/null +++ b/migrations/mattermost.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "mattermost", + "last_updated_on": "2022-02-25-12:29:08", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/deploy.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/mattermost/build/", + "git clone git@github.com:platformsh-templates/mattermost.git /Users/chadcarlson/template-builder/templates/mattermost/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/mattermost/files/ /Users/chadcarlson/template-builder/templates/mattermost/build/", + "echo 6.1.3 > mattermost_version", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/meilisearch.migrate.json b/migrations/meilisearch.migrate.json new file mode 100644 index 000000000..f0f0f1ffe --- /dev/null +++ b/migrations/meilisearch.migrate.json @@ -0,0 +1,26 @@ +{ + "template": "meilisearch", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/search", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/pyproject.toml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/update_demo_index.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/search/poetry.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/meilisearch/build/", + "git clone git@github.com:platformsh-templates/meilisearch.git /Users/chadcarlson/template-builder/templates/meilisearch/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/meilisearch/files/ /Users/chadcarlson/template-builder/templates/meilisearch/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/micronaut.migrate.json b/migrations/micronaut.migrate.json new file mode 100644 index 000000000..d4991f22b --- /dev/null +++ b/migrations/micronaut.migrate.json @@ -0,0 +1,45 @@ +{ + "template": "micronaut", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/micronaut-cli.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/logback.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/bootstrap.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/Application.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/micronaut/build/", + "git clone git@github.com:platformsh-templates/micronaut.git /Users/chadcarlson/template-builder/templates/micronaut/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/micronaut/files/ /Users/chadcarlson/template-builder/templates/micronaut/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-helidon.migrate.json b/migrations/microprofile-helidon.migrate.json new file mode 100644 index 000000000..e859a509f --- /dev/null +++ b/migrations/microprofile-helidon.migrate.json @@ -0,0 +1,39 @@ +{ + "template": "microprofile-helidon", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/logging.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/native-image", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/native-image/reflect-config.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/microprofile-config.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/helidon", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/helidon/HelloWorldResource.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/helidon/GreetingProvider.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/helidon/GreetResource.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/helidon/package-info.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-helidon/build/", + "git clone git@github.com:platformsh-templates/microprofile-helidon.git /Users/chadcarlson/template-builder/templates/microprofile-helidon/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-helidon/files/ /Users/chadcarlson/template-builder/templates/microprofile-helidon/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-kumuluzee.migrate.json b/migrations/microprofile-kumuluzee.migrate.json new file mode 100644 index 000000000..019e7588b --- /dev/null +++ b/migrations/microprofile-kumuluzee.migrate.json @@ -0,0 +1,41 @@ +{ + "template": "microprofile-kumuluzee", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/ApplicationConfig.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldResource.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-kumuluzee/build/", + "git clone git@github.com:platformsh-templates/microprofile-kumuluzee.git /Users/chadcarlson/template-builder/templates/microprofile-kumuluzee/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-kumuluzee/files/ /Users/chadcarlson/template-builder/templates/microprofile-kumuluzee/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-openliberty.migrate.json b/migrations/microprofile-openliberty.migrate.json new file mode 100644 index 000000000..3953aa967 --- /dev/null +++ b/migrations/microprofile-openliberty.migrate.json @@ -0,0 +1,52 @@ +{ + "template": "microprofile-openliberty", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/microprofile-config.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/microprofile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/microprofile/liberty", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/microprofile/liberty/HelloController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/microprofile/liberty/MicroprofilelibertyRestApplication.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/liberty", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/liberty/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/liberty/config/server.xml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-openliberty/build/", + "git clone git@github.com:platformsh-templates/microprofile-openliberty.git /Users/chadcarlson/template-builder/templates/microprofile-openliberty/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-openliberty/files/ /Users/chadcarlson/template-builder/templates/microprofile-openliberty/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-payara.migrate.json b/migrations/microprofile-payara.migrate.json new file mode 100644 index 000000000..44eed3dcb --- /dev/null +++ b/migrations/microprofile-payara.migrate.json @@ -0,0 +1,44 @@ +{ + "template": "microprofile-payara", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/web.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/ApplicationConfig.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldResource.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-payara/build/", + "git clone git@github.com:platformsh-templates/microprofile-payara.git /Users/chadcarlson/template-builder/templates/microprofile-payara/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-payara/files/ /Users/chadcarlson/template-builder/templates/microprofile-payara/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-thorntail.migrate.json b/migrations/microprofile-thorntail.migrate.json new file mode 100644 index 000000000..93cb59a6c --- /dev/null +++ b/migrations/microprofile-thorntail.migrate.json @@ -0,0 +1,41 @@ +{ + "template": "microprofile-thorntail", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/ApplicationConfig.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldResource.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-thorntail/build/", + "git clone git@github.com:platformsh-templates/microprofile-thorntail.git /Users/chadcarlson/template-builder/templates/microprofile-thorntail/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-thorntail/files/ /Users/chadcarlson/template-builder/templates/microprofile-thorntail/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-tomee.migrate.json b/migrations/microprofile-tomee.migrate.json new file mode 100644 index 000000000..3df32419f --- /dev/null +++ b/migrations/microprofile-tomee.migrate.json @@ -0,0 +1,41 @@ +{ + "template": "microprofile-tomee", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/ApplicationConfig.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldResource.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-tomee/build/", + "git clone git@github.com:platformsh-templates/microprofile-tomee.git /Users/chadcarlson/template-builder/templates/microprofile-tomee/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-tomee/files/ /Users/chadcarlson/template-builder/templates/microprofile-tomee/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/microprofile-wildfly.migrate.json b/migrations/microprofile-wildfly.migrate.json new file mode 100644 index 000000000..2f0fd6895 --- /dev/null +++ b/migrations/microprofile-wildfly.migrate.json @@ -0,0 +1,39 @@ +{ + "template": "microprofile-wildfly", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/readme.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/microprofile-config.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/beans.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/wildfly", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/wildfly/HelloController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/wildfly/ApplicationConfig.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/microprofile-wildfly/build/", + "git clone git@github.com:platformsh-templates/microprofile-wildfly.git /Users/chadcarlson/template-builder/templates/microprofile-wildfly/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/microprofile-wildfly/files/ /Users/chadcarlson/template-builder/templates/microprofile-wildfly/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/nextcloud.migrate.json b/migrations/nextcloud.migrate.json new file mode 100644 index 000000000..38a3ba800 --- /dev/null +++ b/migrations/nextcloud.migrate.json @@ -0,0 +1,37 @@ +{ + "template": "nextcloud", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.user.ini", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_themes", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_themes/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/install.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/apps.txt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/nukedb.sql", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/download-nextcloud.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/occ", + "https://raw.githubusercontent.com/platformsh/template-builder/master/download-apps.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_config/CAN_INSTALL", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_config/config.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_config/config.sample.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_config/.htaccess", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_apps", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_apps/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.htaccess" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/nextcloud/build/", + "git clone git@github.com:platformsh-templates/nextcloud.git /Users/chadcarlson/template-builder/templates/nextcloud/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/nextcloud/files/ /Users/chadcarlson/template-builder/templates/nextcloud/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/nextjs.migrate.json b/migrations/nextjs.migrate.json new file mode 100644 index 000000000..b767e0138 --- /dev/null +++ b/migrations/nextjs.migrate.json @@ -0,0 +1,34 @@ +{ + "template": "nextjs", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/handle_mounts.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/styles", + "https://raw.githubusercontent.com/platformsh/template-builder/master/styles/globals.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/styles/Home.module.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/yarn.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/favicon.ico", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/vercel.svg", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pages", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pages/_app.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pages/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pages/api", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pages/api/hello.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/nextjs/build/", + "git clone git@github.com:platformsh-templates/nextjs.git /Users/chadcarlson/template-builder/templates/nextjs/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/nextjs/files/ /Users/chadcarlson/template-builder/templates/nextjs/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/nodejs.migrate.json b/migrations/nodejs.migrate.json new file mode 100644 index 000000000..75c4ba640 --- /dev/null +++ b/migrations/nodejs.migrate.json @@ -0,0 +1,23 @@ +{ + "template": "nodejs", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/nodejs/build/", + "git clone git@github.com:platformsh-templates/nodejs.git /Users/chadcarlson/template-builder/templates/nodejs/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/nodejs/files/ /Users/chadcarlson/template-builder/templates/nodejs/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/nuxtjs.migrate.json b/migrations/nuxtjs.migrate.json new file mode 100644 index 000000000..4bcfe78e2 --- /dev/null +++ b/migrations/nuxtjs.migrate.json @@ -0,0 +1,25 @@ +{ + "template": "nuxtjs", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/nuxtjs/build/", + "git clone git@github.com:platformsh-templates/nuxtjs.git /Users/chadcarlson/template-builder/templates/nuxtjs/build/", + "npx create-nuxt-app --answers \"{\\\"name\\\": \\\"nuxtjs-platformsh\\\", \\\"language\\\": \\\"js\\\", \\\"pm\\\": \\\"yarn\\\", \\\"ui\\\": \\\"none\\\", \\\"features\\\": [], \\\"linter\\\": [], \\\"test\\\": \\\"none\\\", \\\"mode\\\": \\\"universal\\\", \\\"target\\\": \\\"server\\\", \\\"devTools\\\": [], \\\"vcs\\\": \\\"git\\\"}\" nuxtjs-platformsh", + "npx nuxt telemetry disable", + "rm -rf nuxtjs-platformsh/.git", + "cp -r /Users/chadcarlson/template-builder/templates/nuxtjs/nuxtjs-platformsh/* .", + "rm -rf nuxtjs-platformsh", + "rsync -aP /Users/chadcarlson/template-builder/templates/nuxtjs/files/ /Users/chadcarlson/template-builder/templates/nuxtjs/build/", + "yarn add platformsh-config", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/pelican.migrate.json b/migrations/pelican.migrate.json new file mode 100644 index 000000000..3670213be --- /dev/null +++ b/migrations/pelican.migrate.json @@ -0,0 +1,28 @@ +{ + "template": "pelican", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pelicanconf.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/tasks.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Makefile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content", + "https://raw.githubusercontent.com/platformsh/template-builder/master/content/hello.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/publishconf.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/pelican/build/", + "git clone git@github.com:platformsh-templates/pelican.git /Users/chadcarlson/template-builder/templates/pelican/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/pelican/files/ /Users/chadcarlson/template-builder/templates/pelican/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/php.migrate.json b/migrations/php.migrate.json new file mode 100644 index 000000000..5611637cd --- /dev/null +++ b/migrations/php.migrate.json @@ -0,0 +1,27 @@ +{ + "template": "php", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/web", + "https://raw.githubusercontent.com/platformsh/template-builder/master/web/index.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/composer.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/Messages.php" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/php/build/", + "git clone git@github.com:platformsh-templates/php.git /Users/chadcarlson/template-builder/templates/php/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/php/files/ /Users/chadcarlson/template-builder/templates/php/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/pimcore.migrate.json b/migrations/pimcore.migrate.json new file mode 100644 index 000000000..c7455de48 --- /dev/null +++ b/migrations/pimcore.migrate.json @@ -0,0 +1,31 @@ +{ + "template": "pimcore", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/app", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/config/installer.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/config/parameters.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app/config/parameters_platformsh.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/install-redis.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/pimcore/build/", + "git clone git@github.com:platformsh-templates/pimcore.git /Users/chadcarlson/template-builder/templates/pimcore/build/", + "git remote add project https://github.com/pimcore/skeleton.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/pimcore/files/ /Users/chadcarlson/template-builder/templates/pimcore/build/", + "patch -p1 < /Users/chadcarlson/template-builder/templates/pimcore/config.patch", + "patch -p1 < /Users/chadcarlson/template-builder/templates/pimcore/gitignore.patch", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/probot.migrate.json b/migrations/probot.migrate.json new file mode 100644 index 000000000..637a31809 --- /dev/null +++ b/migrations/probot.migrate.json @@ -0,0 +1,42 @@ +{ + "template": "probot", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/test/index.test.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/test/fixtures", + "https://raw.githubusercontent.com/platformsh/template-builder/master/test/fixtures/mock-cert.pem", + "https://raw.githubusercontent.com/platformsh/template-builder/master/test/fixtures/issues.opened.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/demo", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/demo/steps.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/setup", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/setup/build.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/setup/deploy.sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/utils", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/utils/update_appyml.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/utils/get_dotenv.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/utils/get_url.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/platformsh/utils/get_privatekey.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package-lock.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.env.example", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/probot/build/", + "git clone git@github.com:platformsh-templates/probot.git /Users/chadcarlson/template-builder/templates/probot/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/probot/files/ /Users/chadcarlson/template-builder/templates/probot/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/pyramid.migrate.json b/migrations/pyramid.migrate.json new file mode 100644 index 000000000..ce19117cf --- /dev/null +++ b/migrations/pyramid.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "pyramid", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/pyramid/build/", + "git clone git@github.com:platformsh-templates/pyramid.git /Users/chadcarlson/template-builder/templates/pyramid/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/pyramid/files/ /Users/chadcarlson/template-builder/templates/pyramid/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/python3-uwsgi.migrate.json b/migrations/python3-uwsgi.migrate.json new file mode 100644 index 000000000..51a124790 --- /dev/null +++ b/migrations/python3-uwsgi.migrate.json @@ -0,0 +1,26 @@ +{ + "template": "python3-uwsgi", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/app.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/conf", + "https://raw.githubusercontent.com/platformsh/template-builder/master/conf/uwsgi.ini", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/python3-uwsgi/build/", + "git clone git@github.com:platformsh-templates/python3-uwsgi.git /Users/chadcarlson/template-builder/templates/python3-uwsgi/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/python3-uwsgi/files/ /Users/chadcarlson/template-builder/templates/python3-uwsgi/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/python3.migrate.json b/migrations/python3.migrate.json new file mode 100644 index 000000000..bfc12833a --- /dev/null +++ b/migrations/python3.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "python3", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/python3/build/", + "git clone git@github.com:platformsh-templates/python3.git /Users/chadcarlson/template-builder/templates/python3/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/python3/files/ /Users/chadcarlson/template-builder/templates/python3/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/quarkus.migrate.json b/migrations/quarkus.migrate.json new file mode 100644 index 000000000..a685198fb --- /dev/null +++ b/migrations/quarkus.migrate.json @@ -0,0 +1,47 @@ +{ + "template": "quarkus", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/mvnw.cmd", + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.mvn", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.mvn/wrapper", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.mvn/wrapper/MavenWrapperDownloader.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.mvn/wrapper/maven-wrapper.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.mvn/wrapper/maven-wrapper.jar", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/mvnw", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/ExampleResourceTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/NativeExampleResourceIT.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/META-INF/resources/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/ExampleResource.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/quarkus/build/", + "git clone git@github.com:platformsh-templates/quarkus.git /Users/chadcarlson/template-builder/templates/quarkus/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/quarkus/files/ /Users/chadcarlson/template-builder/templates/quarkus/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/rails.migrate.json b/migrations/rails.migrate.json new file mode 100644 index 000000000..a76f102d1 --- /dev/null +++ b/migrations/rails.migrate.json @@ -0,0 +1,32 @@ +{ + "template": "rails", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/database.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/_boot.rb", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/unicorn.rb", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/rails/build/", + "git clone git@github.com:platformsh-templates/rails.git /Users/chadcarlson/template-builder/templates/rails/build/", + "bundle update", + "BUNDLE_GEMFILE=/Users/chadcarlson/template-builder/templates/rails/build//Gemfile bundle exec rails new /Users/chadcarlson/template-builder/templates/rails/build/ --force", + "cd /Users/chadcarlson/template-builder/templates/rails/build/ git checkout README.md", + "rsync -aP /Users/chadcarlson/template-builder/templates/rails/files/ /Users/chadcarlson/template-builder/templates/rails/build/", + "if ! grep -q platform_sh_rails Gemfile; then bundle add unicorn pg platform_sh_rails --group \"production\"; fi;", + "rm -f .ruby-version", + "if ! grep -q platform_sh config/boot.rb; then cat ../files/_boot.rb >> config/boot.rb; fi; rm _boot.rb", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/sculpin.migrate.json b/migrations/sculpin.migrate.json new file mode 100644 index 000000000..05177f1b8 --- /dev/null +++ b/migrations/sculpin.migrate.json @@ -0,0 +1,24 @@ +{ + "template": "sculpin", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/sculpin/build/", + "git clone git@github.com:platformsh-templates/sculpin.git /Users/chadcarlson/template-builder/templates/sculpin/build/", + "git remote add project https://github.com/sculpin/sculpin-blog-skeleton.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/sculpin/files/ /Users/chadcarlson/template-builder/templates/sculpin/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/spring-boot-gradle-mysql.migrate.json b/migrations/spring-boot-gradle-mysql.migrate.json new file mode 100644 index 000000000..e1608f5f9 --- /dev/null +++ b/migrations/spring-boot-gradle-mysql.migrate.json @@ -0,0 +1,46 @@ +{ + "template": "spring-boot-gradle-mysql", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradle", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradle/wrapper", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradle/wrapper/gradle-wrapper.jar", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradle/wrapper/gradle-wrapper.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradlew", + "https://raw.githubusercontent.com/platformsh/template-builder/master/build.gradle", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/gradlew.bat", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/PersonController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/Person.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/PersonRepository.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/App.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/spring-boot-gradle-mysql/build/", + "git clone git@github.com:platformsh-templates/spring-boot-gradle-mysql.git /Users/chadcarlson/template-builder/templates/spring-boot-gradle-mysql/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/spring-boot-gradle-mysql/files/ /Users/chadcarlson/template-builder/templates/spring-boot-gradle-mysql/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/spring-boot-maven-mysql.migrate.json b/migrations/spring-boot-maven-mysql.migrate.json new file mode 100644 index 000000000..15777fbe5 --- /dev/null +++ b/migrations/spring-boot-maven-mysql.migrate.json @@ -0,0 +1,41 @@ +{ + "template": "spring-boot-maven-mysql", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/PersonController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldController.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/Person.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/PersonRepository.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/App.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/spring-boot-maven-mysql/build/", + "git clone git@github.com:platformsh-templates/spring-boot-maven-mysql.git /Users/chadcarlson/template-builder/templates/spring-boot-maven-mysql/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/spring-boot-maven-mysql/files/ /Users/chadcarlson/template-builder/templates/spring-boot-maven-mysql/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/spring-kotlin.migrate.json b/migrations/spring-kotlin.migrate.json new file mode 100644 index 000000000..8ccdd33ea --- /dev/null +++ b/migrations/spring-kotlin.migrate.json @@ -0,0 +1,47 @@ +{ + "template": "spring-kotlin", + "last_updated_on": "2022-02-25-12:29:08", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/logback.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/web.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin/Application.kt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin/CityRepository.kt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin/HelloController.kt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin/City.kt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/kotlin/sh/platform/template/spring/kotlin/CityController.kt" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/spring-kotlin/build/", + "git clone git@github.com:platformsh-templates/spring-kotlin.git /Users/chadcarlson/template-builder/templates/spring-kotlin/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/spring-kotlin/files/ /Users/chadcarlson/template-builder/templates/spring-kotlin/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/spring-mvc-maven-mongodb.migrate.json b/migrations/spring-mvc-maven-mongodb.migrate.json new file mode 100644 index 000000000..ad6cd016d --- /dev/null +++ b/migrations/spring-mvc-maven-mongodb.migrate.json @@ -0,0 +1,46 @@ +{ + "template": "spring-mvc-maven-mongodb", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/test/java/sh/platform/template/AppTest.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/css/shards.min.css", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/templates", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/templates/index.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/templates/add-user.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/templates/update-user.html", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/resources/application.properties", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/Application.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/User.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/UserRepository.java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/UserController.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/spring-mvc-maven-mongodb/build/", + "git clone git@github.com:platformsh-templates/spring-mvc-maven-mongodb.git /Users/chadcarlson/template-builder/templates/spring-mvc-maven-mongodb/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/spring-mvc-maven-mongodb/files/ /Users/chadcarlson/template-builder/templates/spring-mvc-maven-mongodb/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/strapi.migrate.json b/migrations/strapi.migrate.json new file mode 100644 index 000000000..c6c2f675c --- /dev/null +++ b/migrations/strapi.migrate.json @@ -0,0 +1,32 @@ +{ + "template": "strapi", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/database.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/server.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/cron.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/bootstrap.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/responses", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/responses/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/strapi/build/", + "git clone git@github.com:platformsh-templates/strapi.git /Users/chadcarlson/template-builder/templates/strapi/build/", + "yarn create strapi-app strapi-quickstart-platformsh --quickstart --no-run", + "cp -r /Users/chadcarlson/template-builder/templates/strapi/strapi-quickstart-platformsh/* .", + "rm -rf /Users/chadcarlson/template-builder/templates/strapi/strapi-quickstart-platformsh", + "rsync -aP /Users/chadcarlson/template-builder/templates/strapi/files/ /Users/chadcarlson/template-builder/templates/strapi/build/", + "yarn add platformsh-config pg", + "yarn strapi install graphql", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/strapi4.migrate.json b/migrations/strapi4.migrate.json new file mode 100644 index 000000000..6dfd7c122 --- /dev/null +++ b/migrations/strapi4.migrate.json @@ -0,0 +1,55 @@ +{ + "template": "strapi4", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/favicon.ico", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/database.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/server.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/cron.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/bootstrap.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/responses", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/functions/responses/404.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/admin.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/middlewares.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/api.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.eslintrc", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/yarn.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/uploads", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/uploads/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/robots.txt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/package.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.eslintignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.env.example", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/admin", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/admin/webpack.config.example.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/admin/app.example.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/index.js", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/extensions", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/extensions/documentation", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/extensions/documentation/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/extensions/documentation/config/settings.json", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/extensions/.gitkeep", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/api", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/api/.gitkeep" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/strapi4/build/", + "git clone git@github.com:platformsh-templates/strapi4.git /Users/chadcarlson/template-builder/templates/strapi4/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/strapi4/files/ /Users/chadcarlson/template-builder/templates/strapi4/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/sylius.migrate.json b/migrations/sylius.migrate.json new file mode 100644 index 000000000..6f5fdd7b3 --- /dev/null +++ b/migrations/sylius.migrate.json @@ -0,0 +1,27 @@ +{ + "template": "sylius", + "last_updated_on": "2022-02-25-12:29:11", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/sylius/build/", + "git clone git@github.com:platformsh-templates/sylius.git /Users/chadcarlson/template-builder/templates/sylius/build/", + "git remote add project https://github.com/Sylius/Sylius-Standard.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "cp README.md README_upstream.md", + "ls -a", + "rm -rf .github", + "composer require platformsh/symfonyflex-bridge --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "rsync -aP /Users/chadcarlson/template-builder/templates/sylius/files/ /Users/chadcarlson/template-builder/templates/sylius/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/tomcat.migrate.json b/migrations/tomcat.migrate.json new file mode 100644 index 000000000..108e8df6a --- /dev/null +++ b/migrations/tomcat.migrate.json @@ -0,0 +1,32 @@ +{ + "template": "tomcat", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/index.jsp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/webapp/WEB-INF/web.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/main/java/sh/platform/template/HelloWorldServlet.java" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/tomcat/build/", + "git clone git@github.com:platformsh-templates/tomcat.git /Users/chadcarlson/template-builder/templates/tomcat/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/tomcat/files/ /Users/chadcarlson/template-builder/templates/tomcat/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/typo3.migrate.json b/migrations/typo3.migrate.json new file mode 100644 index 000000000..5b6a473c8 --- /dev/null +++ b/migrations/typo3.migrate.json @@ -0,0 +1,40 @@ +{ + "template": "typo3", + "last_updated_on": "2022-02-25-12:29:04", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/config", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sites", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sites/main", + "https://raw.githubusercontent.com/platformsh/template-builder/master/config/sites/main/config.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/typo3conf", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/typo3conf/AdditionalConfiguration.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/public/typo3conf/PlatformshConfiguration.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/SetupDatabase.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/src/SetupConfiguration.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/typo3/build/", + "git clone git@github.com:platformsh-templates/typo3.git /Users/chadcarlson/template-builder/templates/typo3/build/", + "git remote add project https://github.com/TYPO3/TYPO3.CMS.BaseDistribution.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "rsync -aP /Users/chadcarlson/template-builder/templates/typo3/files/ /Users/chadcarlson/template-builder/templates/typo3/build/", + "composer config extra.typo3/cms.web-dir public", + "composer update --no-scripts --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "composer require \"php:<8.0\" psr/cache:^1.0 typo3/cms-introduction:~4.3.2 platformsh/config-reader pixelant/pxa-lpeh --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "composer update --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/wagtail.migrate.json b/migrations/wagtail.migrate.json new file mode 100644 index 000000000..6f1611032 --- /dev/null +++ b/migrations/wagtail.migrate.json @@ -0,0 +1,28 @@ +{ + "template": "wagtail", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/__init__.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/settings.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/urls.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp/wsgi.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/manage.py", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/Pipfile.lock", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/wagtail/build/", + "git clone git@github.com:platformsh-templates/wagtail.git /Users/chadcarlson/template-builder/templates/wagtail/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/wagtail/files/ /Users/chadcarlson/template-builder/templates/wagtail/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/wordpress-bedrock.migrate.json b/migrations/wordpress-bedrock.migrate.json new file mode 100644 index 000000000..4f90e54b8 --- /dev/null +++ b/migrations/wordpress-bedrock.migrate.json @@ -0,0 +1,31 @@ +{ + "template": "wordpress-bedrock", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/wordpress-bedrock/build/", + "git clone git@github.com:platformsh-templates/wordpress-bedrock.git /Users/chadcarlson/template-builder/templates/wordpress-bedrock/build/", + "git remote add project https://github.com/roots/bedrock.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "echo 'Adding composer config:platform:php'", + "composer config platform.php 8.1", + "rsync -aP /Users/chadcarlson/template-builder/templates/wordpress-bedrock/files/ /Users/chadcarlson/template-builder/templates/wordpress-bedrock/build/", + "echo 'Removing composer config:platform'", + "composer config --unset platform", + "composer require platformsh/config-reader wp-cli/wp-cli-bundle psy/psysh --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip", + "composer update", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/wordpress-composer.migrate.json b/migrations/wordpress-composer.migrate.json new file mode 100644 index 000000000..95e2e66af --- /dev/null +++ b/migrations/wordpress-composer.migrate.json @@ -0,0 +1,38 @@ +{ + "template": "wordpress-composer", + "last_updated_on": "2022-02-25-12:29:00", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-config.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-cli.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/plugins", + "https://raw.githubusercontent.com/platformsh/template-builder/master/plugins/README.txt", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/example.wp-config-local.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/wordpress-composer/build/", + "git clone git@github.com:platformsh-templates/wordpress-composer.git /Users/chadcarlson/template-builder/templates/wordpress-composer/build/", + "git remote add project https://github.com/johnpbloch/wordpress.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "echo 'Adding composer config:platform:php'", + "composer config platform.php 7.4", + "rsync -aP /Users/chadcarlson/template-builder/templates/wordpress-composer/files/ /Users/chadcarlson/template-builder/templates/wordpress-composer/build/", + "composer update --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip", + "composer require platformsh/config-reader wp-cli/wp-cli-bundle psy/psysh --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip", + "composer require None --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip", + "echo 'Removing composer config:platform'", + "composer config --unset platform", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/wordpress-vanilla.migrate.json b/migrations/wordpress-vanilla.migrate.json new file mode 100644 index 000000000..5fde4b430 --- /dev/null +++ b/migrations/wordpress-vanilla.migrate.json @@ -0,0 +1,25 @@ +{ + "template": "wordpress-vanilla", + "last_updated_on": "2022-02-25-12:28:59", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-config.php", + "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-cli.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/wordpress-vanilla/build/", + "git clone git@github.com:platformsh-templates/wordpress-vanilla.git /Users/chadcarlson/template-builder/templates/wordpress-vanilla/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/wordpress-vanilla/files/ /Users/chadcarlson/template-builder/templates/wordpress-vanilla/build/", + "curl https://wordpress.org/latest -o wordpress.tar.gz", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/wordpress-woocommerce.migrate.json b/migrations/wordpress-woocommerce.migrate.json new file mode 100644 index 000000000..7e4a34334 --- /dev/null +++ b/migrations/wordpress-woocommerce.migrate.json @@ -0,0 +1,30 @@ +{ + "template": "wordpress-woocommerce", + "last_updated_on": "2022-02-25-12:29:03", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/wordpress-woocommerce/build/", + "git clone git@github.com:platformsh-templates/wordpress-woocommerce.git /Users/chadcarlson/template-builder/templates/wordpress-woocommerce/build/", + "git remote add project https://github.com/roots/bedrock.git", + "git checkout master", + "git fetch --all --depth=2", + "git fetch --all --tags", + "echo 'Adding composer config:platform:php'", + "composer config platform.php 8.1", + "rsync -aP /Users/chadcarlson/template-builder/templates/wordpress-woocommerce/files/ /Users/chadcarlson/template-builder/templates/wordpress-woocommerce/build/", + "echo 'Removing composer config:platform'", + "composer config --unset platform", + "composer require wpackagist-plugin/woocommerce wpackagist-plugin/jetpack --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file diff --git a/migrations/xwiki.migrate.json b/migrations/xwiki.migrate.json new file mode 100644 index 000000000..15e51b2cd --- /dev/null +++ b/migrations/xwiki.migrate.json @@ -0,0 +1,21 @@ +{ + "template": "xwiki", + "last_updated_on": "2022-02-25-12:28:58", + "migration": { + "files": [ + "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", + "https://raw.githubusercontent.com/platformsh/template-builder/master/hibernate.cfg.xml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.gitignore", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml", + "https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml" + ], + "commands": [ + "rm -rf /Users/chadcarlson/template-builder/templates/xwiki/build/", + "git clone git@github.com:platformsh-templates/xwiki.git /Users/chadcarlson/template-builder/templates/xwiki/build/", + "rsync -aP /Users/chadcarlson/template-builder/templates/xwiki/files/ /Users/chadcarlson/template-builder/templates/xwiki/build/", + "git checkout -b updatesLocal" + ] + } +} \ No newline at end of file From c6354f6104648f87a1e8766e3d8e1cb25ec695f0 Mon Sep 17 00:00:00 2001 From: chadcarlson Date: Fri, 25 Feb 2022 13:07:37 -0500 Subject: [PATCH 2/2] Split by remote or not. --- migrate.py | 35 ++++++++++++++++++- .../{ => basic}/aspnet-core.migrate.json | 8 ++++- migrations/{ => basic}/backdrop.migrate.json | 8 ++++- migrations/{ => basic}/beego.migrate.json | 8 ++++- migrations/{ => basic}/directus.migrate.json | 8 ++++- migrations/{ => basic}/django2.migrate.json | 8 ++++- migrations/{ => basic}/django3.migrate.json | 8 ++++- migrations/{ => basic}/django4.migrate.json | 8 ++++- migrations/{ => basic}/echo.migrate.json | 8 ++++- .../{ => basic}/elastic-apm.migrate.json | 8 ++++- .../{ => basic}/eleventy-strapi.migrate.json | 8 ++++- migrations/{ => basic}/express.migrate.json | 8 ++++- migrations/{ => basic}/fastapi.migrate.json | 8 ++++- migrations/{ => basic}/flask.migrate.json | 8 ++++- .../{ => basic}/gatsby-drupal.migrate.json | 8 ++++- .../{ => basic}/gatsby-strapi.migrate.json | 8 ++++- .../{ => basic}/gatsby-wordpress.migrate.json | 8 ++++- migrations/{ => basic}/gin.migrate.json | 8 ++++- migrations/{ => basic}/golang.migrate.json | 8 ++++- migrations/{ => basic}/hugo.migrate.json | 8 ++++- migrations/{ => basic}/jenkins.migrate.json | 8 ++++- migrations/{ => basic}/jetty.migrate.json | 8 ++++- migrations/{ => basic}/koa.migrate.json | 8 ++++- migrations/{ => basic}/lisp.migrate.json | 8 ++++- .../{ => basic}/mattermost.migrate.json | 8 ++++- .../{ => basic}/meilisearch.migrate.json | 8 ++++- migrations/{ => basic}/micronaut.migrate.json | 8 ++++- .../microprofile-helidon.migrate.json | 8 ++++- .../microprofile-kumuluzee.migrate.json | 8 ++++- .../microprofile-openliberty.migrate.json | 8 ++++- .../microprofile-payara.migrate.json | 8 ++++- .../microprofile-thorntail.migrate.json | 8 ++++- .../microprofile-tomee.migrate.json | 8 ++++- .../microprofile-wildfly.migrate.json | 8 ++++- migrations/{ => basic}/nextcloud.migrate.json | 8 ++++- migrations/{ => basic}/nextjs.migrate.json | 8 ++++- migrations/{ => basic}/nodejs.migrate.json | 8 ++++- migrations/{ => basic}/nuxtjs.migrate.json | 8 ++++- migrations/{ => basic}/pelican.migrate.json | 8 ++++- migrations/{ => basic}/php.migrate.json | 8 ++++- migrations/{ => basic}/probot.migrate.json | 8 ++++- migrations/{ => basic}/pyramid.migrate.json | 8 ++++- .../{ => basic}/python3-uwsgi.migrate.json | 8 ++++- migrations/{ => basic}/python3.migrate.json | 8 ++++- migrations/{ => basic}/quarkus.migrate.json | 8 ++++- migrations/{ => basic}/rails.migrate.json | 8 ++++- .../spring-boot-gradle-mysql.migrate.json | 8 ++++- .../spring-boot-maven-mysql.migrate.json | 8 ++++- .../{ => basic}/spring-kotlin.migrate.json | 8 ++++- .../spring-mvc-maven-mongodb.migrate.json | 8 ++++- migrations/{ => basic}/strapi.migrate.json | 8 ++++- migrations/{ => basic}/strapi4.migrate.json | 8 ++++- migrations/{ => basic}/tomcat.migrate.json | 8 ++++- migrations/{ => basic}/wagtail.migrate.json | 8 ++++- migrations/{ => basic}/xwiki.migrate.json | 8 ++++- migrations/{ => remote}/akeneo.migrate.json | 8 ++++- .../{ => remote}/drupal8-govcms8.migrate.json | 8 ++++- .../drupal8-multisite.migrate.json | 8 ++++- .../{ => remote}/drupal8-opigno.migrate.json | 8 ++++- migrations/{ => remote}/drupal8.migrate.json | 8 ++++- migrations/{ => remote}/drupal9.migrate.json | 8 ++++- migrations/{ => remote}/gatsby.migrate.json | 8 ++++- migrations/{ => remote}/laravel.migrate.json | 8 ++++- .../{ => remote}/magento2ce.migrate.json | 8 ++++- migrations/{ => remote}/pimcore.migrate.json | 8 ++++- migrations/{ => remote}/sculpin.migrate.json | 8 ++++- migrations/{ => remote}/sylius.migrate.json | 8 ++++- migrations/{ => remote}/typo3.migrate.json | 8 ++++- .../wordpress-bedrock.migrate.json | 8 ++++- .../wordpress-composer.migrate.json | 8 ++++- .../wordpress-vanilla.migrate.json | 8 ++++- .../wordpress-woocommerce.migrate.json | 8 ++++- 72 files changed, 531 insertions(+), 72 deletions(-) rename migrations/{ => basic}/aspnet-core.migrate.json (96%) rename migrations/{ => basic}/backdrop.migrate.json (93%) rename migrations/{ => basic}/beego.migrate.json (93%) rename migrations/{ => basic}/directus.migrate.json (88%) rename migrations/{ => basic}/django2.migrate.json (94%) rename migrations/{ => basic}/django3.migrate.json (94%) rename migrations/{ => basic}/django4.migrate.json (94%) rename migrations/{ => basic}/echo.migrate.json (89%) rename migrations/{ => basic}/elastic-apm.migrate.json (98%) rename migrations/{ => basic}/eleventy-strapi.migrate.json (98%) rename migrations/{ => basic}/express.migrate.json (88%) rename migrations/{ => basic}/fastapi.migrate.json (89%) rename migrations/{ => basic}/flask.migrate.json (89%) rename migrations/{ => basic}/gatsby-drupal.migrate.json (98%) rename migrations/{ => basic}/gatsby-strapi.migrate.json (96%) rename migrations/{ => basic}/gatsby-wordpress.migrate.json (96%) rename migrations/{ => basic}/gin.migrate.json (89%) rename migrations/{ => basic}/golang.migrate.json (89%) rename migrations/{ => basic}/hugo.migrate.json (97%) rename migrations/{ => basic}/jenkins.migrate.json (86%) rename migrations/{ => basic}/jetty.migrate.json (94%) rename migrations/{ => basic}/koa.migrate.json (88%) rename migrations/{ => basic}/lisp.migrate.json (88%) rename migrations/{ => basic}/mattermost.migrate.json (89%) rename migrations/{ => basic}/meilisearch.migrate.json (91%) rename migrations/{ => basic}/micronaut.migrate.json (95%) rename migrations/{ => basic}/microprofile-helidon.migrate.json (95%) rename migrations/{ => basic}/microprofile-kumuluzee.migrate.json (95%) rename migrations/{ => basic}/microprofile-openliberty.migrate.json (96%) rename migrations/{ => basic}/microprofile-payara.migrate.json (95%) rename migrations/{ => basic}/microprofile-thorntail.migrate.json (95%) rename migrations/{ => basic}/microprofile-tomee.migrate.json (95%) rename migrations/{ => basic}/microprofile-wildfly.migrate.json (95%) rename migrations/{ => basic}/nextcloud.migrate.json (94%) rename migrations/{ => basic}/nextjs.migrate.json (93%) rename migrations/{ => basic}/nodejs.migrate.json (88%) rename migrations/{ => basic}/nuxtjs.migrate.json (90%) rename migrations/{ => basic}/pelican.migrate.json (91%) rename migrations/{ => basic}/php.migrate.json (91%) rename migrations/{ => basic}/probot.migrate.json (95%) rename migrations/{ => basic}/pyramid.migrate.json (89%) rename migrations/{ => basic}/python3-uwsgi.migrate.json (90%) rename migrations/{ => basic}/python3.migrate.json (89%) rename migrations/{ => basic}/quarkus.migrate.json (95%) rename migrations/{ => basic}/rails.migrate.json (92%) rename migrations/{ => basic}/spring-boot-gradle-mysql.migrate.json (95%) rename migrations/{ => basic}/spring-boot-maven-mysql.migrate.json (95%) rename migrations/{ => basic}/spring-kotlin.migrate.json (96%) rename migrations/{ => basic}/spring-mvc-maven-mongodb.migrate.json (96%) rename migrations/{ => basic}/strapi.migrate.json (92%) rename migrations/{ => basic}/strapi4.migrate.json (96%) rename migrations/{ => basic}/tomcat.migrate.json (93%) rename migrations/{ => basic}/wagtail.migrate.json (91%) rename migrations/{ => basic}/xwiki.migrate.json (87%) rename migrations/{ => remote}/akeneo.migrate.json (91%) rename migrations/{ => remote}/drupal8-govcms8.migrate.json (94%) rename migrations/{ => remote}/drupal8-multisite.migrate.json (95%) rename migrations/{ => remote}/drupal8-opigno.migrate.json (93%) rename migrations/{ => remote}/drupal8.migrate.json (93%) rename migrations/{ => remote}/drupal9.migrate.json (93%) rename migrations/{ => remote}/gatsby.migrate.json (85%) rename migrations/{ => remote}/laravel.migrate.json (90%) rename migrations/{ => remote}/magento2ce.migrate.json (90%) rename migrations/{ => remote}/pimcore.migrate.json (90%) rename migrations/{ => remote}/sculpin.migrate.json (85%) rename migrations/{ => remote}/sylius.migrate.json (89%) rename migrations/{ => remote}/typo3.migrate.json (94%) rename migrations/{ => remote}/wordpress-bedrock.migrate.json (91%) rename migrations/{ => remote}/wordpress-composer.migrate.json (94%) rename migrations/{ => remote}/wordpress-vanilla.migrate.json (89%) rename migrations/{ => remote}/wordpress-woocommerce.migrate.json (91%) diff --git a/migrate.py b/migrate.py index 33f178539..9fca169c7 100644 --- a/migrate.py +++ b/migrate.py @@ -78,8 +78,31 @@ def get_push_commands(): branch_commands = get_branch_commands() push_commands = get_push_commands() + try: + major_version = dodo.project_factory(template).major_version + except: + major_version = None + try: + remote = dodo.project_factory(template).remote + except: + remote = None + try: + imageType = dodo.project_factory(template).type + except: + imageType = None + try: + imageTypeVersion = dodo.project_factory(template).typeVersion + except: + imageTypeVersion = None + data = { "template": template, + "type": imageType, + "type_version": imageTypeVersion, + "remote": { + "major_version": major_version, + "repository": remote, + }, "last_updated_on": datetime.today().strftime('%Y-%m-%d-%H:%M:%S'), "migration": { "files": migrate_files, @@ -95,7 +118,10 @@ def get_push_commands(): } json_data=json.dumps(data, indent = 4) - with open("{0}/migrations/{1}.migrate.json".format(os.getcwd(), template), "w") as outfile: + projectType = "remote" + if remote == None: + projectType = "basic" + with open("{0}/migrations/{1}/{2}.migrate.json".format(os.getcwd(), projectType, template), "w") as outfile: outfile.write(json_data) def run(): @@ -103,5 +129,12 @@ def run(): for template in templates: document_migration_steps(template) + # default_attributes = ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_platformify', 'branch', 'builddir', 'cleanup', 'commitMessage', 'composer_defaults', 'init', 'latest_tag', 'major_version', 'name', 'package_update_actions', 'platformify', 'push', 'remote', 'type', 'typeVersion', 'update', 'updateBranch', 'updateCommands'] + # l_func = lambda x, y: list((set(x)- set(y))) + list((set(y)- set(x))) + # non_match = l_func(default_attributes, dir(dodo.project_factory('wordpress-composer'))) + # print(non_match) + # print(dodo.project_factory('wordpress-composer').wp_modify_composer) + + if __name__ == "__main__": run() \ No newline at end of file diff --git a/migrations/aspnet-core.migrate.json b/migrations/basic/aspnet-core.migrate.json similarity index 96% rename from migrations/aspnet-core.migrate.json rename to migrations/basic/aspnet-core.migrate.json index 1dcae4069..384a629ec 100644 --- a/migrations/aspnet-core.migrate.json +++ b/migrations/basic/aspnet-core.migrate.json @@ -1,6 +1,12 @@ { "template": "aspnet-core", - "last_updated_on": "2022-02-25-12:29:00", + "type": "dotnet", + "type_version": "2.2", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/wwwroot", diff --git a/migrations/backdrop.migrate.json b/migrations/basic/backdrop.migrate.json similarity index 93% rename from migrations/backdrop.migrate.json rename to migrations/basic/backdrop.migrate.json index 2539907b3..072243bf5 100644 --- a/migrations/backdrop.migrate.json +++ b/migrations/basic/backdrop.migrate.json @@ -1,6 +1,12 @@ { "template": "backdrop", - "last_updated_on": "2022-02-25-12:28:58", + "type": "php", + "type_version": "7.3", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/beego.migrate.json b/migrations/basic/beego.migrate.json similarity index 93% rename from migrations/beego.migrate.json rename to migrations/basic/beego.migrate.json index 30c5644cb..08934abaf 100644 --- a/migrations/beego.migrate.json +++ b/migrations/basic/beego.migrate.json @@ -1,6 +1,12 @@ { "template": "beego", - "last_updated_on": "2022-02-25-12:29:04", + "type": "golang", + "type_version": "1.16", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/routers", diff --git a/migrations/directus.migrate.json b/migrations/basic/directus.migrate.json similarity index 88% rename from migrations/directus.migrate.json rename to migrations/basic/directus.migrate.json index 02ebc4130..995b258f9 100644 --- a/migrations/directus.migrate.json +++ b/migrations/basic/directus.migrate.json @@ -1,6 +1,12 @@ { "template": "directus", - "last_updated_on": "2022-02-25-12:29:11", + "type": "nodejs", + "type_version": "12", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", diff --git a/migrations/django2.migrate.json b/migrations/basic/django2.migrate.json similarity index 94% rename from migrations/django2.migrate.json rename to migrations/basic/django2.migrate.json index bd0ee1549..c05c7ec3f 100644 --- a/migrations/django2.migrate.json +++ b/migrations/basic/django2.migrate.json @@ -1,6 +1,12 @@ { "template": "django2", - "last_updated_on": "2022-02-25-12:29:00", + "type": "python", + "type_version": "3.9", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", diff --git a/migrations/django3.migrate.json b/migrations/basic/django3.migrate.json similarity index 94% rename from migrations/django3.migrate.json rename to migrations/basic/django3.migrate.json index 2411bb804..64ed0c3e8 100644 --- a/migrations/django3.migrate.json +++ b/migrations/basic/django3.migrate.json @@ -1,6 +1,12 @@ { "template": "django3", - "last_updated_on": "2022-02-25-12:29:00", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", diff --git a/migrations/django4.migrate.json b/migrations/basic/django4.migrate.json similarity index 94% rename from migrations/django4.migrate.json rename to migrations/basic/django4.migrate.json index a19f3a559..3229e2549 100644 --- a/migrations/django4.migrate.json +++ b/migrations/basic/django4.migrate.json @@ -1,6 +1,12 @@ { "template": "django4", - "last_updated_on": "2022-02-25-12:29:00", + "type": "python", + "type_version": "3.9", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", diff --git a/migrations/echo.migrate.json b/migrations/basic/echo.migrate.json similarity index 89% rename from migrations/echo.migrate.json rename to migrations/basic/echo.migrate.json index dacd2cbe5..b17757f27 100644 --- a/migrations/echo.migrate.json +++ b/migrations/basic/echo.migrate.json @@ -1,6 +1,12 @@ { "template": "echo", - "last_updated_on": "2022-02-25-12:28:58", + "type": "golang", + "type_version": "1.16", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", diff --git a/migrations/elastic-apm.migrate.json b/migrations/basic/elastic-apm.migrate.json similarity index 98% rename from migrations/elastic-apm.migrate.json rename to migrations/basic/elastic-apm.migrate.json index 53afcfd46..309ecd1da 100644 --- a/migrations/elastic-apm.migrate.json +++ b/migrations/basic/elastic-apm.migrate.json @@ -1,6 +1,12 @@ { "template": "elastic-apm", - "last_updated_on": "2022-02-25-12:29:01", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:49", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/apm", diff --git a/migrations/eleventy-strapi.migrate.json b/migrations/basic/eleventy-strapi.migrate.json similarity index 98% rename from migrations/eleventy-strapi.migrate.json rename to migrations/basic/eleventy-strapi.migrate.json index 5887cebeb..d283eeb10 100644 --- a/migrations/eleventy-strapi.migrate.json +++ b/migrations/basic/eleventy-strapi.migrate.json @@ -1,6 +1,12 @@ { "template": "eleventy-strapi", - "last_updated_on": "2022-02-25-12:29:00", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/express.migrate.json b/migrations/basic/express.migrate.json similarity index 88% rename from migrations/express.migrate.json rename to migrations/basic/express.migrate.json index 2c40b7ba7..1ce8ad9c0 100644 --- a/migrations/express.migrate.json +++ b/migrations/basic/express.migrate.json @@ -1,6 +1,12 @@ { "template": "express", - "last_updated_on": "2022-02-25-12:28:59", + "type": "nodejs", + "type_version": "14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", diff --git a/migrations/fastapi.migrate.json b/migrations/basic/fastapi.migrate.json similarity index 89% rename from migrations/fastapi.migrate.json rename to migrations/basic/fastapi.migrate.json index 9e330f858..aad5bbdca 100644 --- a/migrations/fastapi.migrate.json +++ b/migrations/basic/fastapi.migrate.json @@ -1,6 +1,12 @@ { "template": "fastapi", - "last_updated_on": "2022-02-25-12:29:04", + "type": "python", + "type_version": "3.9", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", diff --git a/migrations/flask.migrate.json b/migrations/basic/flask.migrate.json similarity index 89% rename from migrations/flask.migrate.json rename to migrations/basic/flask.migrate.json index a37865c20..d7f37108c 100644 --- a/migrations/flask.migrate.json +++ b/migrations/basic/flask.migrate.json @@ -1,6 +1,12 @@ { "template": "flask", - "last_updated_on": "2022-02-25-12:28:58", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", diff --git a/migrations/gatsby-drupal.migrate.json b/migrations/basic/gatsby-drupal.migrate.json similarity index 98% rename from migrations/gatsby-drupal.migrate.json rename to migrations/basic/gatsby-drupal.migrate.json index b2bdd25bd..947d96b58 100644 --- a/migrations/gatsby-drupal.migrate.json +++ b/migrations/basic/gatsby-drupal.migrate.json @@ -1,6 +1,12 @@ { "template": "gatsby-drupal", - "last_updated_on": "2022-02-25-12:29:00", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/drupal", diff --git a/migrations/gatsby-strapi.migrate.json b/migrations/basic/gatsby-strapi.migrate.json similarity index 96% rename from migrations/gatsby-strapi.migrate.json rename to migrations/basic/gatsby-strapi.migrate.json index 7f29fa82d..d3772ea56 100644 --- a/migrations/gatsby-strapi.migrate.json +++ b/migrations/basic/gatsby-strapi.migrate.json @@ -1,6 +1,12 @@ { "template": "gatsby-strapi", - "last_updated_on": "2022-02-25-12:29:04", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/gatsby-wordpress.migrate.json b/migrations/basic/gatsby-wordpress.migrate.json similarity index 96% rename from migrations/gatsby-wordpress.migrate.json rename to migrations/basic/gatsby-wordpress.migrate.json index 4879c9184..d7784e819 100644 --- a/migrations/gatsby-wordpress.migrate.json +++ b/migrations/basic/gatsby-wordpress.migrate.json @@ -1,6 +1,12 @@ { "template": "gatsby-wordpress", - "last_updated_on": "2022-02-25-12:29:11", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/wordpress", diff --git a/migrations/gin.migrate.json b/migrations/basic/gin.migrate.json similarity index 89% rename from migrations/gin.migrate.json rename to migrations/basic/gin.migrate.json index d4bb28e90..cd6e37065 100644 --- a/migrations/gin.migrate.json +++ b/migrations/basic/gin.migrate.json @@ -1,6 +1,12 @@ { "template": "gin", - "last_updated_on": "2022-02-25-12:29:11", + "type": "golang", + "type_version": "1.14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", diff --git a/migrations/golang.migrate.json b/migrations/basic/golang.migrate.json similarity index 89% rename from migrations/golang.migrate.json rename to migrations/basic/golang.migrate.json index d9cd06642..09b66cfe2 100644 --- a/migrations/golang.migrate.json +++ b/migrations/basic/golang.migrate.json @@ -1,6 +1,12 @@ { "template": "golang", - "last_updated_on": "2022-02-25-12:28:59", + "type": "golang", + "type_version": "1.16", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/go.mod", diff --git a/migrations/hugo.migrate.json b/migrations/basic/hugo.migrate.json similarity index 97% rename from migrations/hugo.migrate.json rename to migrations/basic/hugo.migrate.json index 110f7d9f8..45b8872a4 100644 --- a/migrations/hugo.migrate.json +++ b/migrations/basic/hugo.migrate.json @@ -1,6 +1,12 @@ { "template": "hugo", - "last_updated_on": "2022-02-25-12:28:59", + "type": "golang", + "type_version": "1.15", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:47", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/content", diff --git a/migrations/jenkins.migrate.json b/migrations/basic/jenkins.migrate.json similarity index 86% rename from migrations/jenkins.migrate.json rename to migrations/basic/jenkins.migrate.json index 4b6d54ad1..3008f68da 100644 --- a/migrations/jenkins.migrate.json +++ b/migrations/basic/jenkins.migrate.json @@ -1,6 +1,12 @@ { "template": "jenkins", - "last_updated_on": "2022-02-25-12:29:11", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/jetty.migrate.json b/migrations/basic/jetty.migrate.json similarity index 94% rename from migrations/jetty.migrate.json rename to migrations/basic/jetty.migrate.json index 9e6a65881..0928d64fa 100644 --- a/migrations/jetty.migrate.json +++ b/migrations/basic/jetty.migrate.json @@ -1,6 +1,12 @@ { "template": "jetty", - "last_updated_on": "2022-02-25-12:28:59", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/koa.migrate.json b/migrations/basic/koa.migrate.json similarity index 88% rename from migrations/koa.migrate.json rename to migrations/basic/koa.migrate.json index 65eef99ed..4dc362fb0 100644 --- a/migrations/koa.migrate.json +++ b/migrations/basic/koa.migrate.json @@ -1,6 +1,12 @@ { "template": "koa", - "last_updated_on": "2022-02-25-12:29:11", + "type": "nodejs", + "type_version": "10", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", diff --git a/migrations/lisp.migrate.json b/migrations/basic/lisp.migrate.json similarity index 88% rename from migrations/lisp.migrate.json rename to migrations/basic/lisp.migrate.json index 6493b8c00..f1008e018 100644 --- a/migrations/lisp.migrate.json +++ b/migrations/basic/lisp.migrate.json @@ -1,6 +1,12 @@ { "template": "lisp", - "last_updated_on": "2022-02-25-12:28:58", + "type": "lisp", + "type_version": "2.1", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", diff --git a/migrations/mattermost.migrate.json b/migrations/basic/mattermost.migrate.json similarity index 89% rename from migrations/mattermost.migrate.json rename to migrations/basic/mattermost.migrate.json index cc695cfcc..35b66366e 100644 --- a/migrations/mattermost.migrate.json +++ b/migrations/basic/mattermost.migrate.json @@ -1,6 +1,12 @@ { "template": "mattermost", - "last_updated_on": "2022-02-25-12:29:08", + "type": "golang", + "type_version": "1.14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:55", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", diff --git a/migrations/meilisearch.migrate.json b/migrations/basic/meilisearch.migrate.json similarity index 91% rename from migrations/meilisearch.migrate.json rename to migrations/basic/meilisearch.migrate.json index f0f0f1ffe..d19db8326 100644 --- a/migrations/meilisearch.migrate.json +++ b/migrations/basic/meilisearch.migrate.json @@ -1,6 +1,12 @@ { "template": "meilisearch", - "last_updated_on": "2022-02-25-12:29:04", + "type": null, + "type_version": null, + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/search", diff --git a/migrations/micronaut.migrate.json b/migrations/basic/micronaut.migrate.json similarity index 95% rename from migrations/micronaut.migrate.json rename to migrations/basic/micronaut.migrate.json index d4991f22b..244c25d24 100644 --- a/migrations/micronaut.migrate.json +++ b/migrations/basic/micronaut.migrate.json @@ -1,6 +1,12 @@ { "template": "micronaut", - "last_updated_on": "2022-02-25-12:29:04", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-helidon.migrate.json b/migrations/basic/microprofile-helidon.migrate.json similarity index 95% rename from migrations/microprofile-helidon.migrate.json rename to migrations/basic/microprofile-helidon.migrate.json index e859a509f..21330dce3 100644 --- a/migrations/microprofile-helidon.migrate.json +++ b/migrations/basic/microprofile-helidon.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-helidon", - "last_updated_on": "2022-02-25-12:28:58", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-kumuluzee.migrate.json b/migrations/basic/microprofile-kumuluzee.migrate.json similarity index 95% rename from migrations/microprofile-kumuluzee.migrate.json rename to migrations/basic/microprofile-kumuluzee.migrate.json index 019e7588b..5cf30a084 100644 --- a/migrations/microprofile-kumuluzee.migrate.json +++ b/migrations/basic/microprofile-kumuluzee.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-kumuluzee", - "last_updated_on": "2022-02-25-12:29:11", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-openliberty.migrate.json b/migrations/basic/microprofile-openliberty.migrate.json similarity index 96% rename from migrations/microprofile-openliberty.migrate.json rename to migrations/basic/microprofile-openliberty.migrate.json index 3953aa967..73ad9a474 100644 --- a/migrations/microprofile-openliberty.migrate.json +++ b/migrations/basic/microprofile-openliberty.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-openliberty", - "last_updated_on": "2022-02-25-12:29:00", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-payara.migrate.json b/migrations/basic/microprofile-payara.migrate.json similarity index 95% rename from migrations/microprofile-payara.migrate.json rename to migrations/basic/microprofile-payara.migrate.json index 44eed3dcb..5368d0c1b 100644 --- a/migrations/microprofile-payara.migrate.json +++ b/migrations/basic/microprofile-payara.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-payara", - "last_updated_on": "2022-02-25-12:28:59", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-thorntail.migrate.json b/migrations/basic/microprofile-thorntail.migrate.json similarity index 95% rename from migrations/microprofile-thorntail.migrate.json rename to migrations/basic/microprofile-thorntail.migrate.json index 93cb59a6c..f6c8a9d3c 100644 --- a/migrations/microprofile-thorntail.migrate.json +++ b/migrations/basic/microprofile-thorntail.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-thorntail", - "last_updated_on": "2022-02-25-12:29:11", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-tomee.migrate.json b/migrations/basic/microprofile-tomee.migrate.json similarity index 95% rename from migrations/microprofile-tomee.migrate.json rename to migrations/basic/microprofile-tomee.migrate.json index 3df32419f..b6a03f0c6 100644 --- a/migrations/microprofile-tomee.migrate.json +++ b/migrations/basic/microprofile-tomee.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-tomee", - "last_updated_on": "2022-02-25-12:29:04", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/microprofile-wildfly.migrate.json b/migrations/basic/microprofile-wildfly.migrate.json similarity index 95% rename from migrations/microprofile-wildfly.migrate.json rename to migrations/basic/microprofile-wildfly.migrate.json index 2f0fd6895..2949e5f62 100644 --- a/migrations/microprofile-wildfly.migrate.json +++ b/migrations/basic/microprofile-wildfly.migrate.json @@ -1,6 +1,12 @@ { "template": "microprofile-wildfly", - "last_updated_on": "2022-02-25-12:29:04", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/nextcloud.migrate.json b/migrations/basic/nextcloud.migrate.json similarity index 94% rename from migrations/nextcloud.migrate.json rename to migrations/basic/nextcloud.migrate.json index 38a3ba800..97eb6c70b 100644 --- a/migrations/nextcloud.migrate.json +++ b/migrations/basic/nextcloud.migrate.json @@ -1,6 +1,12 @@ { "template": "nextcloud", - "last_updated_on": "2022-02-25-12:28:58", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.user.ini", diff --git a/migrations/nextjs.migrate.json b/migrations/basic/nextjs.migrate.json similarity index 93% rename from migrations/nextjs.migrate.json rename to migrations/basic/nextjs.migrate.json index b767e0138..b1b2d1a6f 100644 --- a/migrations/nextjs.migrate.json +++ b/migrations/basic/nextjs.migrate.json @@ -1,6 +1,12 @@ { "template": "nextjs", - "last_updated_on": "2022-02-25-12:29:04", + "type": "nodejs", + "type_version": "14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/handle_mounts.sh", diff --git a/migrations/nodejs.migrate.json b/migrations/basic/nodejs.migrate.json similarity index 88% rename from migrations/nodejs.migrate.json rename to migrations/basic/nodejs.migrate.json index 75c4ba640..2caa84d1f 100644 --- a/migrations/nodejs.migrate.json +++ b/migrations/basic/nodejs.migrate.json @@ -1,6 +1,12 @@ { "template": "nodejs", - "last_updated_on": "2022-02-25-12:28:58", + "type": "nodejs", + "type_version": "14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/index.js", diff --git a/migrations/nuxtjs.migrate.json b/migrations/basic/nuxtjs.migrate.json similarity index 90% rename from migrations/nuxtjs.migrate.json rename to migrations/basic/nuxtjs.migrate.json index 4bcfe78e2..2de2df185 100644 --- a/migrations/nuxtjs.migrate.json +++ b/migrations/basic/nuxtjs.migrate.json @@ -1,6 +1,12 @@ { "template": "nuxtjs", - "last_updated_on": "2022-02-25-12:29:04", + "type": "nodejs", + "type_version": "14", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/pelican.migrate.json b/migrations/basic/pelican.migrate.json similarity index 91% rename from migrations/pelican.migrate.json rename to migrations/basic/pelican.migrate.json index 3670213be..71cb6573f 100644 --- a/migrations/pelican.migrate.json +++ b/migrations/basic/pelican.migrate.json @@ -1,6 +1,12 @@ { "template": "pelican", - "last_updated_on": "2022-02-25-12:29:11", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pelicanconf.py", diff --git a/migrations/php.migrate.json b/migrations/basic/php.migrate.json similarity index 91% rename from migrations/php.migrate.json rename to migrations/basic/php.migrate.json index 5611637cd..bc7e0c3e1 100644 --- a/migrations/php.migrate.json +++ b/migrations/basic/php.migrate.json @@ -1,6 +1,12 @@ { "template": "php", - "last_updated_on": "2022-02-25-12:29:00", + "type": "php", + "type_version": "8.0", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/web", diff --git a/migrations/probot.migrate.json b/migrations/basic/probot.migrate.json similarity index 95% rename from migrations/probot.migrate.json rename to migrations/basic/probot.migrate.json index 637a31809..f4f6a5371 100644 --- a/migrations/probot.migrate.json +++ b/migrations/basic/probot.migrate.json @@ -1,6 +1,12 @@ { "template": "probot", - "last_updated_on": "2022-02-25-12:28:58", + "type": "nodejs", + "type_version": "12", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/test", diff --git a/migrations/pyramid.migrate.json b/migrations/basic/pyramid.migrate.json similarity index 89% rename from migrations/pyramid.migrate.json rename to migrations/basic/pyramid.migrate.json index ce19117cf..8bf18750e 100644 --- a/migrations/pyramid.migrate.json +++ b/migrations/basic/pyramid.migrate.json @@ -1,6 +1,12 @@ { "template": "pyramid", - "last_updated_on": "2022-02-25-12:28:59", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", diff --git a/migrations/python3-uwsgi.migrate.json b/migrations/basic/python3-uwsgi.migrate.json similarity index 90% rename from migrations/python3-uwsgi.migrate.json rename to migrations/basic/python3-uwsgi.migrate.json index 51a124790..1b46d7feb 100644 --- a/migrations/python3-uwsgi.migrate.json +++ b/migrations/basic/python3-uwsgi.migrate.json @@ -1,6 +1,12 @@ { "template": "python3-uwsgi", - "last_updated_on": "2022-02-25-12:28:58", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.editorconfig", diff --git a/migrations/python3.migrate.json b/migrations/basic/python3.migrate.json similarity index 89% rename from migrations/python3.migrate.json rename to migrations/basic/python3.migrate.json index bfc12833a..cef9f8e36 100644 --- a/migrations/python3.migrate.json +++ b/migrations/basic/python3.migrate.json @@ -1,6 +1,12 @@ { "template": "python3", - "last_updated_on": "2022-02-25-12:28:59", + "type": "python", + "type_version": "3.8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:47", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/server.py", diff --git a/migrations/quarkus.migrate.json b/migrations/basic/quarkus.migrate.json similarity index 95% rename from migrations/quarkus.migrate.json rename to migrations/basic/quarkus.migrate.json index a685198fb..3e99bdddd 100644 --- a/migrations/quarkus.migrate.json +++ b/migrations/basic/quarkus.migrate.json @@ -1,6 +1,12 @@ { "template": "quarkus", - "last_updated_on": "2022-02-25-12:28:58", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/mvnw.cmd", diff --git a/migrations/rails.migrate.json b/migrations/basic/rails.migrate.json similarity index 92% rename from migrations/rails.migrate.json rename to migrations/basic/rails.migrate.json index a76f102d1..9d2094a2f 100644 --- a/migrations/rails.migrate.json +++ b/migrations/basic/rails.migrate.json @@ -1,6 +1,12 @@ { "template": "rails", - "last_updated_on": "2022-02-25-12:29:11", + "type": "ruby", + "type_version": "2.7", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/spring-boot-gradle-mysql.migrate.json b/migrations/basic/spring-boot-gradle-mysql.migrate.json similarity index 95% rename from migrations/spring-boot-gradle-mysql.migrate.json rename to migrations/basic/spring-boot-gradle-mysql.migrate.json index e1608f5f9..6991e17db 100644 --- a/migrations/spring-boot-gradle-mysql.migrate.json +++ b/migrations/basic/spring-boot-gradle-mysql.migrate.json @@ -1,6 +1,12 @@ { "template": "spring-boot-gradle-mysql", - "last_updated_on": "2022-02-25-12:28:59", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", diff --git a/migrations/spring-boot-maven-mysql.migrate.json b/migrations/basic/spring-boot-maven-mysql.migrate.json similarity index 95% rename from migrations/spring-boot-maven-mysql.migrate.json rename to migrations/basic/spring-boot-maven-mysql.migrate.json index 15777fbe5..0beaaa631 100644 --- a/migrations/spring-boot-maven-mysql.migrate.json +++ b/migrations/basic/spring-boot-maven-mysql.migrate.json @@ -1,6 +1,12 @@ { "template": "spring-boot-maven-mysql", - "last_updated_on": "2022-02-25-12:29:00", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/spring-kotlin.migrate.json b/migrations/basic/spring-kotlin.migrate.json similarity index 96% rename from migrations/spring-kotlin.migrate.json rename to migrations/basic/spring-kotlin.migrate.json index 8ccdd33ea..23c01e4bd 100644 --- a/migrations/spring-kotlin.migrate.json +++ b/migrations/basic/spring-kotlin.migrate.json @@ -1,6 +1,12 @@ { "template": "spring-kotlin", - "last_updated_on": "2022-02-25-12:29:08", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:55", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/spring-mvc-maven-mongodb.migrate.json b/migrations/basic/spring-mvc-maven-mongodb.migrate.json similarity index 96% rename from migrations/spring-mvc-maven-mongodb.migrate.json rename to migrations/basic/spring-mvc-maven-mongodb.migrate.json index ad6cd016d..355b9eb16 100644 --- a/migrations/spring-mvc-maven-mongodb.migrate.json +++ b/migrations/basic/spring-mvc-maven-mongodb.migrate.json @@ -1,6 +1,12 @@ { "template": "spring-mvc-maven-mongodb", - "last_updated_on": "2022-02-25-12:28:58", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/strapi.migrate.json b/migrations/basic/strapi.migrate.json similarity index 92% rename from migrations/strapi.migrate.json rename to migrations/basic/strapi.migrate.json index c6c2f675c..adca09f8e 100644 --- a/migrations/strapi.migrate.json +++ b/migrations/basic/strapi.migrate.json @@ -1,6 +1,12 @@ { "template": "strapi", - "last_updated_on": "2022-02-25-12:29:11", + "type": "nodejs", + "type_version": "12", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/strapi4.migrate.json b/migrations/basic/strapi4.migrate.json similarity index 96% rename from migrations/strapi4.migrate.json rename to migrations/basic/strapi4.migrate.json index 6dfd7c122..b77dfc2ad 100644 --- a/migrations/strapi4.migrate.json +++ b/migrations/basic/strapi4.migrate.json @@ -1,6 +1,12 @@ { "template": "strapi4", - "last_updated_on": "2022-02-25-12:29:11", + "type": "nodejs", + "type_version": "12", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/favicon.ico", diff --git a/migrations/tomcat.migrate.json b/migrations/basic/tomcat.migrate.json similarity index 93% rename from migrations/tomcat.migrate.json rename to migrations/basic/tomcat.migrate.json index 108e8df6a..bb8657559 100644 --- a/migrations/tomcat.migrate.json +++ b/migrations/basic/tomcat.migrate.json @@ -1,6 +1,12 @@ { "template": "tomcat", - "last_updated_on": "2022-02-25-12:28:59", + "type": "java", + "type_version": "11", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:47", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/pom.xml", diff --git a/migrations/wagtail.migrate.json b/migrations/basic/wagtail.migrate.json similarity index 91% rename from migrations/wagtail.migrate.json rename to migrations/basic/wagtail.migrate.json index 6f1611032..f44495956 100644 --- a/migrations/wagtail.migrate.json +++ b/migrations/basic/wagtail.migrate.json @@ -1,6 +1,12 @@ { "template": "wagtail", - "last_updated_on": "2022-02-25-12:28:59", + "type": "python", + "type_version": "3.9", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/myapp", diff --git a/migrations/xwiki.migrate.json b/migrations/basic/xwiki.migrate.json similarity index 87% rename from migrations/xwiki.migrate.json rename to migrations/basic/xwiki.migrate.json index 15e51b2cd..9202cf588 100644 --- a/migrations/xwiki.migrate.json +++ b/migrations/basic/xwiki.migrate.json @@ -1,6 +1,12 @@ { "template": "xwiki", - "last_updated_on": "2022-02-25-12:28:58", + "type": "java", + "type_version": "8", + "remote": { + "major_version": null, + "repository": null + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/akeneo.migrate.json b/migrations/remote/akeneo.migrate.json similarity index 91% rename from migrations/akeneo.migrate.json rename to migrations/remote/akeneo.migrate.json index ba14804d9..b591ac5a3 100644 --- a/migrations/akeneo.migrate.json +++ b/migrations/remote/akeneo.migrate.json @@ -1,6 +1,12 @@ { "template": "akeneo", - "last_updated_on": "2022-02-25-12:29:07", + "type": "php", + "type_version": "8.0", + "remote": { + "major_version": "v6", + "repository": "https://github.com/akeneo/pim-community-standard.git" + }, + "last_updated_on": "2022-02-25-13:06:55", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.environment", diff --git a/migrations/drupal8-govcms8.migrate.json b/migrations/remote/drupal8-govcms8.migrate.json similarity index 94% rename from migrations/drupal8-govcms8.migrate.json rename to migrations/remote/drupal8-govcms8.migrate.json index d08570250..e11dc50ac 100644 --- a/migrations/drupal8-govcms8.migrate.json +++ b/migrations/remote/drupal8-govcms8.migrate.json @@ -1,6 +1,12 @@ { "template": "drupal8-govcms8", - "last_updated_on": "2022-02-25-12:28:58", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "1", + "repository": "https://github.com/govCMS/govCMS8-project.git" + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/drupal8-multisite.migrate.json b/migrations/remote/drupal8-multisite.migrate.json similarity index 95% rename from migrations/drupal8-multisite.migrate.json rename to migrations/remote/drupal8-multisite.migrate.json index 8ddcb6dc8..b7a7de4e8 100644 --- a/migrations/drupal8-multisite.migrate.json +++ b/migrations/remote/drupal8-multisite.migrate.json @@ -1,6 +1,12 @@ { "template": "drupal8-multisite", - "last_updated_on": "2022-02-25-12:29:01", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "8.9", + "repository": "https://github.com/drupal/recommended-project.git" + }, + "last_updated_on": "2022-02-25-13:06:50", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/psh-subsite-add.php", diff --git a/migrations/drupal8-opigno.migrate.json b/migrations/remote/drupal8-opigno.migrate.json similarity index 93% rename from migrations/drupal8-opigno.migrate.json rename to migrations/remote/drupal8-opigno.migrate.json index b37129b76..0cfe14d3e 100644 --- a/migrations/drupal8-opigno.migrate.json +++ b/migrations/remote/drupal8-opigno.migrate.json @@ -1,6 +1,12 @@ { "template": "drupal8-opigno", - "last_updated_on": "2022-02-25-12:28:59", + "type": "php", + "type_version": "7.3", + "remote": { + "major_version": "2", + "repository": "https://bitbucket.org/opigno/opigno-composer.git" + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/drupal8.migrate.json b/migrations/remote/drupal8.migrate.json similarity index 93% rename from migrations/drupal8.migrate.json rename to migrations/remote/drupal8.migrate.json index 06c2e837a..fd1b1b45b 100644 --- a/migrations/drupal8.migrate.json +++ b/migrations/remote/drupal8.migrate.json @@ -1,6 +1,12 @@ { "template": "drupal8", - "last_updated_on": "2022-02-25-12:29:00", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "8.9", + "repository": "https://github.com/drupal/recommended-project.git" + }, + "last_updated_on": "2022-02-25-13:06:49", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/drupal9.migrate.json b/migrations/remote/drupal9.migrate.json similarity index 93% rename from migrations/drupal9.migrate.json rename to migrations/remote/drupal9.migrate.json index 5b668fa10..88ebf9a0a 100644 --- a/migrations/drupal9.migrate.json +++ b/migrations/remote/drupal9.migrate.json @@ -1,6 +1,12 @@ { "template": "drupal9", - "last_updated_on": "2022-02-25-12:29:03", + "type": "php", + "type_version": "8.1", + "remote": { + "major_version": "9.3", + "repository": "https://github.com/drupal/recommended-project.git" + }, + "last_updated_on": "2022-02-25-13:06:51", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/gatsby.migrate.json b/migrations/remote/gatsby.migrate.json similarity index 85% rename from migrations/gatsby.migrate.json rename to migrations/remote/gatsby.migrate.json index d103d4f7e..6bd295fb4 100644 --- a/migrations/gatsby.migrate.json +++ b/migrations/remote/gatsby.migrate.json @@ -1,6 +1,12 @@ { "template": "gatsby", - "last_updated_on": "2022-02-25-12:29:00", + "type": "nodejs", + "type_version": "16", + "remote": { + "major_version": null, + "repository": "https://github.com/gatsbyjs/gatsby-starter-blog.git" + }, + "last_updated_on": "2022-02-25-13:06:49", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/laravel.migrate.json b/migrations/remote/laravel.migrate.json similarity index 90% rename from migrations/laravel.migrate.json rename to migrations/remote/laravel.migrate.json index 0263f57f0..064ec6e32 100644 --- a/migrations/laravel.migrate.json +++ b/migrations/remote/laravel.migrate.json @@ -1,6 +1,12 @@ { "template": "laravel", - "last_updated_on": "2022-02-25-12:29:11", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "v8", + "repository": "https://github.com/laravel/laravel.git" + }, + "last_updated_on": "2022-02-25-13:06:58", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/magento2ce.migrate.json b/migrations/remote/magento2ce.migrate.json similarity index 90% rename from migrations/magento2ce.migrate.json rename to migrations/remote/magento2ce.migrate.json index 4cd6c6185..45d1fa581 100644 --- a/migrations/magento2ce.migrate.json +++ b/migrations/remote/magento2ce.migrate.json @@ -1,6 +1,12 @@ { "template": "magento2ce", - "last_updated_on": "2022-02-25-12:29:00", + "type": "php", + "type_version": "7.2", + "remote": { + "major_version": "2.4", + "repository": "https://github.com/magento/magento2.git" + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/app", diff --git a/migrations/pimcore.migrate.json b/migrations/remote/pimcore.migrate.json similarity index 90% rename from migrations/pimcore.migrate.json rename to migrations/remote/pimcore.migrate.json index c7455de48..61227f4a1 100644 --- a/migrations/pimcore.migrate.json +++ b/migrations/remote/pimcore.migrate.json @@ -1,6 +1,12 @@ { "template": "pimcore", - "last_updated_on": "2022-02-25-12:28:59", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "v2.7", + "repository": "https://github.com/pimcore/skeleton.git" + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/app", diff --git a/migrations/sculpin.migrate.json b/migrations/remote/sculpin.migrate.json similarity index 85% rename from migrations/sculpin.migrate.json rename to migrations/remote/sculpin.migrate.json index 05177f1b8..3546cb7a1 100644 --- a/migrations/sculpin.migrate.json +++ b/migrations/remote/sculpin.migrate.json @@ -1,6 +1,12 @@ { "template": "sculpin", - "last_updated_on": "2022-02-25-12:28:58", + "type": "php", + "type_version": "8.1", + "remote": { + "major_version": "3", + "repository": "https://github.com/sculpin/sculpin-blog-skeleton.git" + }, + "last_updated_on": "2022-02-25-13:06:46", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/sylius.migrate.json b/migrations/remote/sylius.migrate.json similarity index 89% rename from migrations/sylius.migrate.json rename to migrations/remote/sylius.migrate.json index 6f5fdd7b3..fb1eb73f3 100644 --- a/migrations/sylius.migrate.json +++ b/migrations/remote/sylius.migrate.json @@ -1,6 +1,12 @@ { "template": "sylius", - "last_updated_on": "2022-02-25-12:29:11", + "type": "php", + "type_version": "8.0", + "remote": { + "major_version": "v1.11", + "repository": "https://github.com/Sylius/Sylius-Standard.git" + }, + "last_updated_on": "2022-02-25-13:06:57", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/README.md", diff --git a/migrations/typo3.migrate.json b/migrations/remote/typo3.migrate.json similarity index 94% rename from migrations/typo3.migrate.json rename to migrations/remote/typo3.migrate.json index 5b6a473c8..2d4b497b3 100644 --- a/migrations/typo3.migrate.json +++ b/migrations/remote/typo3.migrate.json @@ -1,6 +1,12 @@ { "template": "typo3", - "last_updated_on": "2022-02-25-12:29:04", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "v10", + "repository": "https://github.com/TYPO3/TYPO3.CMS.BaseDistribution.git" + }, + "last_updated_on": "2022-02-25-13:06:52", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/config", diff --git a/migrations/wordpress-bedrock.migrate.json b/migrations/remote/wordpress-bedrock.migrate.json similarity index 91% rename from migrations/wordpress-bedrock.migrate.json rename to migrations/remote/wordpress-bedrock.migrate.json index 4f90e54b8..4ac12c12d 100644 --- a/migrations/wordpress-bedrock.migrate.json +++ b/migrations/remote/wordpress-bedrock.migrate.json @@ -1,6 +1,12 @@ { "template": "wordpress-bedrock", - "last_updated_on": "2022-02-25-12:29:00", + "type": "php", + "type_version": "8.1", + "remote": { + "major_version": "1", + "repository": "https://github.com/roots/bedrock.git" + }, + "last_updated_on": "2022-02-25-13:06:48", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yaml", diff --git a/migrations/wordpress-composer.migrate.json b/migrations/remote/wordpress-composer.migrate.json similarity index 94% rename from migrations/wordpress-composer.migrate.json rename to migrations/remote/wordpress-composer.migrate.json index 95e2e66af..6a4be7a74 100644 --- a/migrations/wordpress-composer.migrate.json +++ b/migrations/remote/wordpress-composer.migrate.json @@ -1,6 +1,12 @@ { "template": "wordpress-composer", - "last_updated_on": "2022-02-25-12:29:00", + "type": "php", + "type_version": "7.4", + "remote": { + "major_version": "5", + "repository": "https://github.com/johnpbloch/wordpress.git" + }, + "last_updated_on": "2022-02-25-13:06:49", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-config.php", diff --git a/migrations/wordpress-vanilla.migrate.json b/migrations/remote/wordpress-vanilla.migrate.json similarity index 89% rename from migrations/wordpress-vanilla.migrate.json rename to migrations/remote/wordpress-vanilla.migrate.json index 5fde4b430..c23696b7e 100644 --- a/migrations/wordpress-vanilla.migrate.json +++ b/migrations/remote/wordpress-vanilla.migrate.json @@ -1,6 +1,12 @@ { "template": "wordpress-vanilla", - "last_updated_on": "2022-02-25-12:28:59", + "type": "php", + "type_version": "8.1", + "remote": { + "major_version": null, + "repository": "https://wordpress.org/latest" + }, + "last_updated_on": "2022-02-25-13:06:47", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/wp-config.php", diff --git a/migrations/wordpress-woocommerce.migrate.json b/migrations/remote/wordpress-woocommerce.migrate.json similarity index 91% rename from migrations/wordpress-woocommerce.migrate.json rename to migrations/remote/wordpress-woocommerce.migrate.json index 7e4a34334..54d500e73 100644 --- a/migrations/wordpress-woocommerce.migrate.json +++ b/migrations/remote/wordpress-woocommerce.migrate.json @@ -1,6 +1,12 @@ { "template": "wordpress-woocommerce", - "last_updated_on": "2022-02-25-12:29:03", + "type": "php", + "type_version": "8.1", + "remote": { + "major_version": "1", + "repository": "https://github.com/roots/bedrock.git" + }, + "last_updated_on": "2022-02-25-13:06:51", "migration": { "files": [ "https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yaml",