diff --git a/.circleci/config.yml b/.circleci/config.yml
index 4b43026f17..d261018af2 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -12,6 +12,15 @@
#; and will be removed during installation or update of Vortex.
version: '2.1'
+#;< !PROVISION_TYPE_PROFILE
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+#;> !PROVISION_TYPE_PROFILE
+
aliases:
#;< !PROVISION_TYPE_PROFILE
# SSH key fingerprint to fetch the database.
@@ -363,6 +372,27 @@ jobs:
no_output_timeout: 30m
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
+ #;< MIGRATION
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - run:
+ name: Push migration DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+ #;> MIGRATION
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -387,6 +417,17 @@ jobs:
# Deploy container image.
VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED: 1
#;> DB_IN_IMAGE
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
+ #;< VORTEX_DEV
+ # Tell this provider's demo database dumps apart on the test FTP server
+ # by directory, with a timestamped copy of each push. The destinations
+ # and the FTP server come from the VORTEX_PUSH_DB_DESTINATIONS,
+ # VORTEX_PUSH_DB2_DESTINATIONS and VORTEX_PUSH_DB_FTP_* project
+ # variables.
+ VORTEX_PUSH_DB_FTP_DIR: circleci
+ VORTEX_PUSH_DB_TIMESTAMPED_COPY: 1
+ #;> VORTEX_DEV
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
#;> !PROVISION_TYPE_PROFILE
@@ -759,6 +800,10 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ #;< !PROVISION_TYPE_PROFILE
+ when:
+ not: << pipeline.parameters.refresh_db >>
+ #;> !PROVISION_TYPE_PROFILE
jobs:
#;< !PROVISION_TYPE_PROFILE
- database:
@@ -859,4 +904,11 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
#;> !PROVISION_TYPE_PROFILE
diff --git a/.circleci/vortex-test-common.yml b/.circleci/vortex-test-common.yml
index ad1d11660a..34dde7ea56 100644
--- a/.circleci/vortex-test-common.yml
+++ b/.circleci/vortex-test-common.yml
@@ -183,6 +183,27 @@ jobs:
no_output_timeout: 30m
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
+ #;< MIGRATION
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - run:
+ name: Push migration DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+ #;> MIGRATION
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
diff --git a/.env b/.env
index 94f358f542..1bf6f9c4d9 100644
--- a/.env
+++ b/.env
@@ -244,6 +244,11 @@ VORTEX_FETCH_DB_FTP_HOST=
# Database dump FTP port.
VORTEX_FETCH_DB_FTP_PORT=21
+# Database dump FTP directory.
+#
+# Leave empty for the root directory of the FTP account.
+VORTEX_FETCH_DB_FTP_DIR=
+
# Database dump FTP file name.
VORTEX_FETCH_DB_FTP_FILE=db.sql
#;> DB_FETCH_SOURCE_FTP
@@ -258,6 +263,24 @@ VORTEX_FETCH_DB_S3_BUCKET=
VORTEX_FETCH_DB_S3_REGION=ap-southeast-2
#;> DB_FETCH_SOURCE_S3
+# Database store of the sanitized database dump file: ftp or s3.
+#
+# When set, the database is fetched from the store instead of the source. The
+# nightly CI job fetches from the source, sanitizes the database and pushes
+# the dump to the store. The store reads the FTP or S3 variables above. Leave
+# empty to fetch from the source.
+VORTEX_FETCH_DB_STORE=
+
+# Destinations the nightly CI job pushes the sanitized database dump to
+# besides the database store: ftp, s3 or both, such as "ftp,s3". Each
+# destination reads its own variables, such as VORTEX_PUSH_DB_FTP_HOST for ftp.
+# The database is always fetched from 1 place.
+# VORTEX_PUSH_DB_DESTINATIONS=ftp,s3
+
+# Also push a copy of each dump named with the time of the push, such as
+# db_20261111-180000.sql, to keep a history of the pushed dumps.
+# VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
# Environment to fetch the database from.
#
# Applies to hosting environments.
@@ -319,6 +342,11 @@ VORTEX_FETCH_DB2_FTP_HOST=
# Second database dump FTP port.
VORTEX_FETCH_DB2_FTP_PORT=21
+# Second database dump FTP directory.
+#
+# Leave empty for the root directory of the FTP account.
+VORTEX_FETCH_DB2_FTP_DIR=
+
# Second database dump FTP file name.
VORTEX_FETCH_DB2_FTP_FILE=db2.sql
#;> MIGRATION_DB_FETCH_SOURCE_FTP
@@ -333,6 +361,18 @@ VORTEX_FETCH_DB2_S3_BUCKET=
VORTEX_FETCH_DB2_S3_REGION=ap-southeast-2
#;> MIGRATION_DB_FETCH_SOURCE_S3
+# Database store of the second database dump file: ftp or s3.
+#
+# When set, the second database is fetched from the store instead of the
+# source. The nightly CI job fetches from the source and pushes the dump, as
+# fetched, to the store, next to the primary dump. Leave empty to fetch from
+# the source.
+VORTEX_FETCH_DB2_STORE=
+
+# Destinations the nightly CI job pushes the second database dump to, as
+# fetched, besides the database store: ftp, s3 or both.
+# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
+
# Environment to fetch the second database from.
#
# Applies to hosting environments.
diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml
index c770b62aa9..3c3c4cc155 100644
--- a/.github/workflows/build-test-deploy.yml
+++ b/.github/workflows/build-test-deploy.yml
@@ -61,6 +61,13 @@ on:
description: 'Enable terminal session for CI jobs'
required: false
default: false
+ #;< !PROVISION_TYPE_PROFILE
+ refresh_db:
+ type: boolean
+ description: 'Refresh the database only'
+ required: false
+ default: false
+ #;> !PROVISION_TYPE_PROFILE
#;< !PROVISION_TYPE_PROFILE
schedule:
- cron: '0 18 * * *'
@@ -84,7 +91,7 @@ jobs:
lint:
runs-on: ubuntu-latest
#;< !PROVISION_TYPE_PROFILE
- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+ if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
#;> !PROVISION_TYPE_PROFILE
container:
@@ -225,6 +232,38 @@ jobs:
VORTEX_CI_DB_CACHE_FALLBACK: "yes"
# Which branch to use as a source of DB caches.
VORTEX_CI_DB_CACHE_BRANCH: "develop"
+ #;< DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB_FTP_USER: ${{ secrets.VORTEX_FETCH_DB_FTP_USER }}
+ VORTEX_FETCH_DB_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB_FTP_PASS }}
+ #;> DB_FETCH_SOURCE_FTP
+ #;< DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_SECRET_KEY }}
+ #;> DB_FETCH_SOURCE_S3
+ #;< MIGRATION_DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB2_FTP_USER: ${{ secrets.VORTEX_FETCH_DB2_FTP_USER }}
+ VORTEX_FETCH_DB2_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB2_FTP_PASS }}
+ #;> MIGRATION_DB_FETCH_SOURCE_FTP
+ #;< MIGRATION_DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB2_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB2_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_SECRET_KEY }}
+ #;> MIGRATION_DB_FETCH_SOURCE_S3
+ #;< VORTEX_DEV
+ # Push destinations of the demo databases on the nightly run. Empty
+ # repository variables skip the push.
+ VORTEX_PUSH_DB_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB_DESTINATIONS }}
+ VORTEX_PUSH_DB2_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB2_DESTINATIONS }}
+ # FTP server that receives both demo databases, in a directory that
+ # tells this provider's dumps apart, with a timestamped copy of each
+ # push.
+ VORTEX_PUSH_DB_FTP_HOST: ${{ secrets.VORTEX_PUSH_DB_FTP_HOST }}
+ VORTEX_PUSH_DB_FTP_PORT: ${{ secrets.VORTEX_PUSH_DB_FTP_PORT }}
+ VORTEX_PUSH_DB_FTP_USER: ${{ secrets.VORTEX_PUSH_DB_FTP_USER }}
+ VORTEX_PUSH_DB_FTP_PASS: ${{ secrets.VORTEX_PUSH_DB_FTP_PASS }}
+ VORTEX_PUSH_DB_FTP_DIR: ${{ vars.VORTEX_PUSH_DB_FTP_DIR || 'gha' }}
+ VORTEX_PUSH_DB_FTP_FILE: ${{ vars.VORTEX_PUSH_DB_FTP_FILE || 'db.sql' }}
+ VORTEX_PUSH_DB_TIMESTAMPED_COPY: 1
+ #;> VORTEX_DEV
steps:
# Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
@@ -270,7 +309,7 @@ jobs:
run: ./scripts/vortex-tooling.sh
- name: Adjust variables for a scheduled run
- if: github.event_name == 'schedule'
+ if: github.event_name == 'schedule' || inputs.refresh_db
run: |
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
@@ -281,6 +320,8 @@ jobs:
# Deploy container image.
echo "VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED=1"
#;> DB_IN_IMAGE
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
- name: Create cache keys files for database caching
@@ -343,6 +384,25 @@ jobs:
timeout-minutes: 30
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - name: Push DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
+ #;< MIGRATION
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - name: Push migration DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+ #;> MIGRATION
+
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
# Note that the cache fallback flag is enabled for this case in order
@@ -359,7 +419,7 @@ jobs:
runs-on: ubuntu-latest
#;< !PROVISION_TYPE_PROFILE
needs: database
- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+ if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
#;> !PROVISION_TYPE_PROFILE
permissions:
@@ -717,7 +777,9 @@ jobs:
runs-on: ubuntu-latest
needs: [build, lint]
#;< !PROVISION_TYPE_PROFILE
- if: ${{ !cancelled() && (inputs.deploy_target || (success() && github.event_name != 'schedule' && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
+ if: >-
+ ${{ !cancelled() && (inputs.deploy_target || (success() && !inputs.refresh_db && github.event_name != 'schedule'
+ && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
#;> !PROVISION_TYPE_PROFILE
permissions:
diff --git a/.github/workflows/vortex-test-didi.yml b/.github/workflows/vortex-test-didi.yml
index 0aaf14be63..f6c9132f3f 100644
--- a/.github/workflows/vortex-test-didi.yml
+++ b/.github/workflows/vortex-test-didi.yml
@@ -64,6 +64,38 @@ jobs:
VORTEX_CI_DB_CACHE_FALLBACK: "yes"
# Which branch to use as a source of DB caches.
VORTEX_CI_DB_CACHE_BRANCH: vortex-dev-didi-fi
+ #;< DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB_FTP_USER: ${{ secrets.VORTEX_FETCH_DB_FTP_USER }}
+ VORTEX_FETCH_DB_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB_FTP_PASS }}
+ #;> DB_FETCH_SOURCE_FTP
+ #;< DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_SECRET_KEY }}
+ #;> DB_FETCH_SOURCE_S3
+ #;< MIGRATION_DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB2_FTP_USER: ${{ secrets.VORTEX_FETCH_DB2_FTP_USER }}
+ VORTEX_FETCH_DB2_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB2_FTP_PASS }}
+ #;> MIGRATION_DB_FETCH_SOURCE_FTP
+ #;< MIGRATION_DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB2_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB2_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_SECRET_KEY }}
+ #;> MIGRATION_DB_FETCH_SOURCE_S3
+ #;< VORTEX_DEV
+ # Push destinations of the demo databases on the nightly run. Empty
+ # repository variables skip the push.
+ VORTEX_PUSH_DB_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB_DESTINATIONS }}
+ VORTEX_PUSH_DB2_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB2_DESTINATIONS }}
+ # FTP server that receives both demo databases, in a directory that
+ # tells this provider's dumps apart, with a timestamped copy of each
+ # push.
+ VORTEX_PUSH_DB_FTP_HOST: ${{ secrets.VORTEX_PUSH_DB_FTP_HOST }}
+ VORTEX_PUSH_DB_FTP_PORT: ${{ secrets.VORTEX_PUSH_DB_FTP_PORT }}
+ VORTEX_PUSH_DB_FTP_USER: ${{ secrets.VORTEX_PUSH_DB_FTP_USER }}
+ VORTEX_PUSH_DB_FTP_PASS: ${{ secrets.VORTEX_PUSH_DB_FTP_PASS }}
+ VORTEX_PUSH_DB_FTP_DIR: ${{ vars.VORTEX_PUSH_DB_FTP_DIR || 'gha' }}
+ VORTEX_PUSH_DB_FTP_FILE: ${{ vars.VORTEX_PUSH_DB_FTP_FILE || 'db.sql' }}
+ VORTEX_PUSH_DB_TIMESTAMPED_COPY: 1
+ #;> VORTEX_DEV
VORTEX_FETCH_DB_SOURCE: url
VORTEX_FETCH_DB_FORCE: 1
VORTEX_DB_IMAGE: drevops/vortex-dev-mariadb-drupal-data-demo-destination-11.x
@@ -118,7 +150,7 @@ jobs:
run: ./scripts/vortex-tooling.sh
- name: Adjust variables for a scheduled run
- if: github.event_name == 'schedule'
+ if: github.event_name == 'schedule' || inputs.refresh_db
run: |
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
@@ -129,6 +161,8 @@ jobs:
# Deploy container image.
echo "VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED=1"
#;> DB_IN_IMAGE
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
- name: Create cache keys files for database caching
@@ -191,6 +225,25 @@ jobs:
timeout-minutes: 30
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - name: Push DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
+ #;< MIGRATION
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - name: Push migration DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+ #;> MIGRATION
+
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
# Note that the cache fallback flag is enabled for this case in order
@@ -586,6 +639,38 @@ jobs:
VORTEX_CI_DB_CACHE_FALLBACK: "yes"
# Which branch to use as a source of DB caches.
VORTEX_CI_DB_CACHE_BRANCH: vortex-dev-didi-ii
+ #;< DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB_FTP_USER: ${{ secrets.VORTEX_FETCH_DB_FTP_USER }}
+ VORTEX_FETCH_DB_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB_FTP_PASS }}
+ #;> DB_FETCH_SOURCE_FTP
+ #;< DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_SECRET_KEY }}
+ #;> DB_FETCH_SOURCE_S3
+ #;< MIGRATION_DB_FETCH_SOURCE_FTP
+ VORTEX_FETCH_DB2_FTP_USER: ${{ secrets.VORTEX_FETCH_DB2_FTP_USER }}
+ VORTEX_FETCH_DB2_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB2_FTP_PASS }}
+ #;> MIGRATION_DB_FETCH_SOURCE_FTP
+ #;< MIGRATION_DB_FETCH_SOURCE_S3
+ VORTEX_FETCH_DB2_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_ACCESS_KEY }}
+ VORTEX_FETCH_DB2_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_SECRET_KEY }}
+ #;> MIGRATION_DB_FETCH_SOURCE_S3
+ #;< VORTEX_DEV
+ # Push destinations of the demo databases on the nightly run. Empty
+ # repository variables skip the push.
+ VORTEX_PUSH_DB_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB_DESTINATIONS }}
+ VORTEX_PUSH_DB2_DESTINATIONS: ${{ vars.VORTEX_PUSH_DB2_DESTINATIONS }}
+ # FTP server that receives both demo databases, in a directory that
+ # tells this provider's dumps apart, with a timestamped copy of each
+ # push.
+ VORTEX_PUSH_DB_FTP_HOST: ${{ secrets.VORTEX_PUSH_DB_FTP_HOST }}
+ VORTEX_PUSH_DB_FTP_PORT: ${{ secrets.VORTEX_PUSH_DB_FTP_PORT }}
+ VORTEX_PUSH_DB_FTP_USER: ${{ secrets.VORTEX_PUSH_DB_FTP_USER }}
+ VORTEX_PUSH_DB_FTP_PASS: ${{ secrets.VORTEX_PUSH_DB_FTP_PASS }}
+ VORTEX_PUSH_DB_FTP_DIR: ${{ vars.VORTEX_PUSH_DB_FTP_DIR || 'gha' }}
+ VORTEX_PUSH_DB_FTP_FILE: ${{ vars.VORTEX_PUSH_DB_FTP_FILE || 'db.sql' }}
+ VORTEX_PUSH_DB_TIMESTAMPED_COPY: 1
+ #;> VORTEX_DEV
VORTEX_FETCH_DB_SOURCE: container_registry
VORTEX_FETCH_DB_FORCE: 1
VORTEX_DB_IMAGE: drevops/vortex-dev-mariadb-drupal-data-demo-destination-11.x
@@ -639,7 +724,7 @@ jobs:
run: ./scripts/vortex-tooling.sh
- name: Adjust variables for a scheduled run
- if: github.event_name == 'schedule'
+ if: github.event_name == 'schedule' || inputs.refresh_db
run: |
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
@@ -650,6 +735,8 @@ jobs:
# Deploy container image.
echo "VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED=1"
#;> DB_IN_IMAGE
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
- name: Create cache keys files for database caching
@@ -731,6 +818,25 @@ jobs:
timeout-minutes: 30
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - name: Push DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
+ #;< MIGRATION
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - name: Push migration DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+ #;> MIGRATION
+
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
# Note that the cache fallback flag is enabled for this case in order
diff --git a/.vortex/docs/content/continuous-integration/README.mdx b/.vortex/docs/content/continuous-integration/README.mdx
index 20ded51063..66467478cf 100644
--- a/.vortex/docs/content/continuous-integration/README.mdx
+++ b/.vortex/docs/content/continuous-integration/README.mdx
@@ -79,6 +79,11 @@ site from:
- Caches the dump, so the `build` job and later runs skip the download
- On the nightly run of a project that stores its database in a container
image, pushes the refreshed image to the registry
+- On the nightly run of a project with a database store or push
+ destinations, pushes the sanitized dump to the FTP server or S3 bucket.
+ A manual run with the `refresh_db` option does the same on demand (see
+ [Database
+ storage](../development/database-storage.mdx#fetch-from-a-store))
The job exists only when the site provisions from a database dump. With the
`profile` provision type, the pipeline has no `database` job and no nightly
diff --git a/.vortex/docs/content/contributing/maintenance/installer.mdx b/.vortex/docs/content/contributing/maintenance/installer.mdx
index aed67ba717..eb7dd0c4e4 100644
--- a/.vortex/docs/content/contributing/maintenance/installer.mdx
+++ b/.vortex/docs/content/contributing/maintenance/installer.mdx
@@ -225,6 +225,7 @@ these areas, among many others:
- **Services**: Solr, Redis, ClamAV (enabled/disabled combinations)
- **Deployment**: artifact, webhook, Lagoon, all combined
- **Database sources**: Acquia, Lagoon, FTP, S3, URL, container registry
+- **Database stores**: FTP, S3, for the primary and the migration database
### Run tests
diff --git a/.vortex/docs/content/development/database-storage.mdx b/.vortex/docs/content/development/database-storage.mdx
new file mode 100644
index 0000000000..2c3b6ee486
--- /dev/null
+++ b/.vortex/docs/content/development/database-storage.mdx
@@ -0,0 +1,321 @@
+---
+sidebar_label: Database storage
+sidebar_position: 6
+---
+
+# Database storage
+
+Your site's database reaches a developer's machine and CI in 1 of 3 ways.
+`VORTEX_FETCH_DB_SOURCE` sets where the database comes from, such as your
+production environment. `VORTEX_FETCH_DB_STORE` adds an optional sanitized
+store on an FTP server or in an S3 bucket, so developers get a sanitized
+database without access to production. This page shows how fetching,
+refreshing and pushing the database work in each case.
+
+The page covers these commands:
+
+- `ahoy fetch-db` (`vortex-fetch-db`) downloads a dump into `.data`
+- `vortex-refresh-db` provisions a site from the fetched dump in CI and
+ exports it again
+- `vortex-push-db` uploads the exported dump to the store on the nightly
+ CI run
+
+## Fetch from the source
+
+Without a store, every environment downloads the dump from the `url`,
+`ftp`, `acquia`, `lagoon` or `s3` source. Developers need credentials for
+it, and `ahoy fetch-db --fresh` asks a hosting source for a new backup.
+
+```text
+ Developer CI (every run with no cached dump)
+ ───────── ──────────────────────────────────
+ ahoy fetch-db Fetch DB
+ │ │
+ ▼ ▼
+ .data/db.sql ◀── source ──▶ .data/db.sql
+ │ │
+ ▼ ▼
+ ahoy provision Export DB (vortex-refresh-db)
+ │ provisions the dump and exports
+ │ it as fetched
+ ▼
+ cache ──▶ build job
+```
+
+## Fetch a database image
+
+With the `container_registry` source, the database lives in a container
+image. Developers and CI pull the image. The nightly CI run rebuilds the
+image from a dump file and pushes it back. See [Dump file source for a
+database
+image](../continuous-integration/README.mdx#dump-file-source-for-a-database-image).
+
+```text
+ Nightly CI
+ ──────────
+ Fetch DB ── VORTEX_REFRESH_DB_SOURCE (for example, lagoon)
+ │
+ ▼
+ Export DB (vortex-refresh-db)
+ │ imports the dump into a clean base image
+ ▼
+ Deploy DB image (vortex-push-db-image) ──▶ container registry
+```
+
+## Fetch from a store
+
+With `VORTEX_FETCH_DB_STORE` set to `ftp` or `s3`, the nightly CI run is
+the only place that fetches from the source. It sanitizes the database
+and pushes the dump to the store:
+
+```text
+ Nightly CI (VORTEX_PUSH_DB_PROCEED=1)
+ ─────────────────────────────────────
+ Fetch DB
+ │ fetches from VORTEX_FETCH_DB_SOURCE, for example lagoon
+ ▼
+ Export DB (vortex-refresh-db)
+ │ provisions the dump, sanitizes it and exports it
+ ▼
+ Push DB (vortex-push-db)
+ │ 1. replaces db.sql with the new dump
+ │ 2. with VORTEX_PUSH_DB_TIMESTAMPED_COPY=1, adds a timestamped copy
+ ▼
+ FTP server or S3 bucket (VORTEX_FETCH_DB_STORE)
+ ├── db.sql ◀── ahoy fetch-db, CI without a cached dump
+ ├── db_20261110-180000.sql timestamped copies, opt-in
+ └── db_20261111-180000.sql
+```
+
+Every other environment reads from the store:
+
+| Who | Fetches from |
+|---|---|
+| Developer running `ahoy fetch-db` | The store |
+| CI build during the day | The CI cache, or the store when the cache is empty |
+| Nightly or manual refresh in CI | The source, then pushes to the store |
+
+Only the refresh needs the credentials of the source, so production
+access stays in CI.
+
+`db.sql` always holds the latest dump, and fetching downloads it. With a
+file suffix, the latest dump is the suffixed file, such as `db_gha.sql`
+(see [Tell pushes apart](#tell-pushes-apart)). By default, it's the only
+file a push creates. To keep a history of the pushed dumps, set
+`VORTEX_PUSH_DB_TIMESTAMPED_COPY=1` in `.env`. Each push then also creates
+a copy named with its UTC time, identical to `db.sql` at that moment.
+Nothing removes the copies, so clear out the old ones yourself.
+
+The pushed dump leaves your hosting and CI, so it's always sanitized. The
+refresh stops with an error when `VORTEX_PROVISION_SANITIZE_DB_SKIP` is
+`1`.
+
+### Refresh the store on demand
+
+The store holds the database from its last refresh, which is usually the
+nightly run. When you need today's database, run the refresh in CI. It
+fetches from the source, sanitizes the database and pushes it to the
+store, without building or deploying.
+
+- On GitHub Actions, open the **Database, Build, Test and Deploy**
+ workflow, click **Run workflow**, select **Refresh the database only**
+ and click **Run workflow**.
+- On CircleCI, click **Trigger Pipeline** on the project, add the
+ `refresh_db` boolean parameter set to `true` and click
+ **Trigger Pipeline**.
+
+After the run finishes, download the new dump:
+
+```shell
+ahoy fetch-db --fresh
+```
+
+### Fetch from the source directly
+
+If you have access to the source, you can skip the store. Clear
+`VORTEX_FETCH_DB_STORE` for 1 run:
+
+```shell
+VORTEX_FETCH_DB_STORE= ahoy fetch-db --fresh
+```
+
+The fetch then reads the source variables and credentials, the same as
+without a store. The database isn't sanitized, so keep it on your machine.
+
+### Multiple databases
+
+The migration database reads its own store in `VORTEX_FETCH_DB2_STORE`.
+Its files sit next to the primary dump in the same store:
+
+```text
+ FTP server or S3 bucket
+ ├── db.sql primary database (VORTEX_FETCH_DB_FTP_FILE)
+ ├── db_20261111-180000.sql
+ ├── db2.sql migration database (VORTEX_FETCH_DB2_FTP_FILE)
+ └── db2_20261111-180000.sql
+```
+
+The **Push migration DB** step pushes the migration dump as fetched,
+because **Vortex** sanitizes only the Drupal database.
+
+### Push to several destinations
+
+The database is always fetched from 1 place, but the refresh can push it
+to more destinations than the store. List them in
+`VORTEX_PUSH_DB_DESTINATIONS`, separated by commas or spaces:
+
+```shell
+VORTEX_PUSH_DB_DESTINATIONS=ftp,s3
+```
+
+Each destination reads its own push variables, such as
+`VORTEX_PUSH_DB_FTP_HOST` or `VORTEX_PUSH_DB_S3_BUCKET`, which fall back to
+the fetch values. A destination can be pushed to from any source, so a
+project without a store can still keep sanitized copies on FTP and S3.
+The push refuses a destination that's also the source, because the push
+would replace the dump the database was fetched from.
+
+The migration database reads its own list in
+`VORTEX_PUSH_DB2_DESTINATIONS`. Its connection values, such as
+`VORTEX_PUSH_DB2_FTP_HOST`, fall back to the primary push values, so both
+databases can share 1 server or bucket. Each database keeps its own
+filename.
+
+## Set up an FTP store
+
+Before you begin, create an FTP account that can write to a directory on
+the server. The push uploads the dump under a temporary name, then renames
+it into place, so a failed upload keeps the latest dump. The server must
+allow the `DELE`, `RNFR` and `RNTO` commands, which standard FTP servers
+do.
+
+1. In `.env`, set the store and the server. Keep the source of your
+ database in `VORTEX_FETCH_DB_SOURCE`:
+
+ ```shell
+ VORTEX_FETCH_DB_SOURCE=lagoon
+ VORTEX_FETCH_DB_STORE=ftp
+ VORTEX_FETCH_DB_FTP_HOST=ftp.example.com
+ VORTEX_FETCH_DB_FTP_PORT=21
+ VORTEX_FETCH_DB_FTP_DIR=your_site
+ VORTEX_FETCH_DB_FTP_FILE=db.sql
+ ```
+
+ `VORTEX_FETCH_DB_FTP_DIR` is the directory on the server, relative to
+ the FTP account. Leading and trailing slashes are optional. Leave it
+ empty for the root directory.
+
+2. Add `VORTEX_FETCH_DB_FTP_USER` and `VORTEX_FETCH_DB_FTP_PASS` as CI
+ secrets. GitHub Actions passes them to the `database` job. CircleCI
+ reads them from the project environment variables.
+3. Ask each developer to set `VORTEX_FETCH_DB_FTP_USER` and
+ `VORTEX_FETCH_DB_FTP_PASS` in `.env.local`.
+4. After the next nightly run, confirm that the **Push DB** step ends with
+ `Finished database push.` and that the server holds `db.sql`.
+
+The installer sets up steps 1 and 2 when you select **FTP server** at the
+**Database store** prompt.
+
+To give CI an account with write access and developers a read-only one,
+set the CI account in `VORTEX_PUSH_DB_FTP_USER` and
+`VORTEX_PUSH_DB_FTP_PASS`. On GitHub Actions, map those 2 secrets in the
+`env` block of the `database` job.
+
+FTP sends the credentials and the dump unencrypted. Use a server on a
+network you trust, or the S3 store.
+
+## Set up an S3 store
+
+Before you begin, create a private S3 bucket with public access blocked.
+
+1. Create an IAM user for CI with this policy. Replace `your-bucket` with
+ your bucket name:
+
+ ```json
+ {
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": ["s3:GetObject", "s3:PutObject"],
+ "Resource": "arn:aws:s3:::your-bucket/*"
+ }
+ ]
+ }
+ ```
+
+2. In `.env`, set the store and the bucket. Keep the source of your
+ database in `VORTEX_FETCH_DB_SOURCE`:
+
+ ```shell
+ VORTEX_FETCH_DB_SOURCE=lagoon
+ VORTEX_FETCH_DB_STORE=s3
+ VORTEX_FETCH_DB_S3_BUCKET=your-bucket
+ VORTEX_FETCH_DB_S3_REGION=ap-southeast-2
+ VORTEX_FETCH_DB_S3_PREFIX=your_site
+ ```
+
+3. Add the access key of the IAM user as the
+ `VORTEX_FETCH_DB_S3_ACCESS_KEY` and `VORTEX_FETCH_DB_S3_SECRET_KEY` CI
+ secrets.
+4. Create a second IAM user for developers with `s3:GetObject` only. Ask
+ each developer to set its keys in `.env.local`.
+5. After the next nightly run, confirm that the **Push DB** step ends with
+ `Finished database push.` and that the bucket holds `db.sql`.
+
+S3 makes the timestamped copy on its side, so the dump is uploaded once.
+S3 copies a dump of up to 5 GB in 1 request, so the timestamped copy
+fails for a larger dump. On FTP, the timestamped copy is a second upload.
+
+## Tell pushes apart
+
+When several places push to the same store, such as GitHub Actions and
+CircleCI, give each its own directory. The push directory falls back to the
+fetch directory:
+
+| Store | Push directory | Fetch directory |
+|---|---|---|
+| FTP | `VORTEX_PUSH_DB_FTP_DIR` | `VORTEX_FETCH_DB_FTP_DIR` |
+| S3 | `VORTEX_PUSH_DB_S3_PREFIX` | `VORTEX_FETCH_DB_S3_PREFIX` |
+
+For example, set `VORTEX_PUSH_DB_FTP_DIR=gha` in GitHub Actions and
+`VORTEX_PUSH_DB_FTP_DIR=circleci` in CircleCI. Each provider then keeps its
+own `db.sql`. A developer fetches from 1 of them with
+`VORTEX_FETCH_DB_FTP_DIR` in `.env.local`.
+
+### Use a file suffix
+
+`VORTEX_PUSH_DB_FILE_SUFFIX` adds a suffix before the extension of the
+pushed files, such as `db_gha.sql` and `db_gha_20261111-180000.sql`. It
+keeps the pushes in 1 directory.
+
+The push takes its remote filename from the fetch, then adds the suffix. To
+fetch a suffixed dump from an FTP store, set both filenames, so the suffix
+appears once:
+
+```shell
+# The push adds the suffix to this name.
+VORTEX_PUSH_DB_FTP_FILE=your_site/db.sql
+# The fetch reads the suffixed name.
+VORTEX_FETCH_DB_FTP_FILE=your_site/db_gha.sql
+```
+
+The S3 fetch names the local dump after the remote file. To fetch a
+suffixed dump from an S3 store, rename the dump everywhere with
+`VORTEX_DB_FILE`, which the fetch, the refresh and the import all read.
+Then set the push remote filename to the name without the suffix:
+
+```shell
+# The fetch, the refresh and the import use the suffixed name.
+VORTEX_DB_FILE=db_gha.sql
+# The push adds the suffix to this name.
+VORTEX_PUSH_DB_S3_REMOTE_FILE=db.sql
+```
+
+## What's next
+
+- [Variables reference](variables.mdx) lists every `VORTEX_PUSH_DB_`
+ variable
+- [Provisioning](provision.mdx) covers importing the fetched dump
+- [Continuous integration](../continuous-integration/README.mdx) covers
+ the `database` job and its caching
diff --git a/.vortex/docs/content/development/migrations.mdx b/.vortex/docs/content/development/migrations.mdx
index 4d70be8733..139eaa136e 100644
--- a/.vortex/docs/content/development/migrations.mdx
+++ b/.vortex/docs/content/development/migrations.mdx
@@ -32,7 +32,10 @@ When you run the **Vortex** installer, answer **Yes** at the
**Use a second database for migrations?** prompt. Then choose where the
migration dump comes from at the **Migration database source** prompt. The
source defaults to your hosting provider, `acquia` or `lagoon`, and to
-`url` without a hosting provider.
+`url` without a hosting provider. To fetch the migration dump from an FTP
+or S3 store that the nightly CI run refreshes, choose it at the
+**Migration database store** prompt. See [Database
+storage](database-storage.mdx#multiple-databases).
### Manual setup
diff --git a/.vortex/docs/content/development/provision.mdx b/.vortex/docs/content/development/provision.mdx
index ec35e263e2..aaae42693a 100644
--- a/.vortex/docs/content/development/provision.mdx
+++ b/.vortex/docs/content/development/provision.mdx
@@ -379,6 +379,10 @@ following values:
Any other value stops the command with an error that lists these values.
+To give developers a sanitized dump without access to the source, set
+`VORTEX_FETCH_DB_STORE` to an FTP or S3 store that the nightly CI run
+refreshes. See [Database storage](database-storage.mdx).
+
Each source reads its own settings, which the
[Variables reference](variables.mdx) lists. The hosting sources copy the
environment named in `VORTEX_FETCH_DB_ENVIRONMENT`. `.env` ships with
diff --git a/.vortex/docs/content/development/variables.mdx b/.vortex/docs/content/development/variables.mdx
index be78299b73..f4b1b79e11 100644
--- a/.vortex/docs/content/development/variables.mdx
+++ b/.vortex/docs/content/development/variables.mdx
@@ -320,12 +320,14 @@ The list below is automatically generated with [Shellvar](https://github.com/ale
| `VORTEX_FETCH_DB2_ACQUIA_DB_NAME` | Acquia database name to fetch the second database from. | `your_site` | `.env` |
| `VORTEX_FETCH_DB2_ENVIRONMENT` | Environment to fetch the second database from.
Leave empty for the root directory of the FTP account. | `UNDEFINED` | `.env` |
| `VORTEX_FETCH_DB2_FTP_FILE` | Second database dump FTP file name. | `db2.sql` | `.env` |
| `VORTEX_FETCH_DB2_FTP_HOST` | Second database dump FTP host. | `UNDEFINED` | `.env` |
| `VORTEX_FETCH_DB2_FTP_PORT` | Second database dump FTP port. | `21` | `.env` |
| `VORTEX_FETCH_DB2_S3_BUCKET` | AWS S3 bucket name for second database fetch. | `UNDEFINED` | `.env` |
| `VORTEX_FETCH_DB2_S3_REGION` | AWS S3 region. | `ap-southeast-2` | `.env` |
| `VORTEX_FETCH_DB2_SOURCE` | Second database fetch source. | `url` | `.env` |
+| `VORTEX_FETCH_DB2_STORE` | Database store of the second database dump file: ftp or s3.
When set, the second database is fetched from the store instead of the source. The nightly CI job fetches from the source and pushes the dump, as fetched, to the store, next to the primary dump. Leave empty to fetch from the source. | `UNDEFINED` | `.env` |
| `VORTEX_FETCH_DB2_URL` | Second database dump file sourced from a URL.
HTTP Basic Authentication credentials should be embedded into the value. | `UNDEFINED` | `.env` |
| `VORTEX_FETCH_DB_ACQUIA_APP_NAME` | Application name. Used to discover UUID. | `${VORTEX_ACQUIA_APP_NAME}` | `.vortex/tooling/src/vortex-fetch-db-acquia` |
| `VORTEX_FETCH_DB_ACQUIA_BACKUP_MAX_WAIT` | Maximum time in seconds to wait for backup completion. | `600` | `.vortex/tooling/src/vortex-fetch-db-acquia` |
@@ -344,9 +346,10 @@ The list below is automatically generated with [Shellvar](https://github.com/ale
| `VORTEX_FETCH_DB_ENVIRONMENT` | Environment to fetch the database from.
Applies to hosting environments. Note that depending on the hosting provider, this variable may represent a branch name or an environment name. | `prod` | `.env`, `.vortex/tooling/src/vortex-fetch-db-acquia`, `.vortex/tooling/src/vortex-fetch-db-lagoon` |
| `VORTEX_FETCH_DB_FILE` | Database dump file name. | `db.sql` | `.vortex/tooling/src/vortex-fetch-db` |
| `VORTEX_FETCH_DB_FORCE` | Always override existing fetched DB dump. | `1` | `.env.local.example`, `.vortex/tooling/src/vortex-fetch-db`, `.vortex/tooling/src/vortex-fetch-db-container-registry` |
-| `VORTEX_FETCH_DB_FRESH` | Flag to fetch a fresh copy of the database by triggering a new backup. | `UNDEFINED` | `.vortex/tooling/src/vortex-fetch-db-acquia`, `.vortex/tooling/src/vortex-fetch-db-lagoon` |
+| `VORTEX_FETCH_DB_FRESH` | Fetch a fresh database backup from the source. | `UNDEFINED` | `.vortex/tooling/src/vortex-fetch-db`, `.vortex/tooling/src/vortex-fetch-db-acquia`, `.vortex/tooling/src/vortex-fetch-db-lagoon` |
| `VORTEX_FETCH_DB_FTP_DB_DIR` | Directory with database dump file. | `./.data` | `.vortex/tooling/src/vortex-fetch-db-ftp` |
| `VORTEX_FETCH_DB_FTP_DB_FILE` | Database dump file name. | `db.sql` | `.vortex/tooling/src/vortex-fetch-db-ftp` |
+| `VORTEX_FETCH_DB_FTP_DIR` | Database dump FTP directory.
Leave empty for the root directory of the FTP account. | `UNDEFINED` | `.env`, `.vortex/tooling/src/vortex-fetch-db-ftp` |
| `VORTEX_FETCH_DB_FTP_FILE` | Database dump FTP file name. | `db.sql` | `.env`, `.vortex/tooling/src/vortex-fetch-db-ftp` |
| `VORTEX_FETCH_DB_FTP_HOST` | Database dump FTP host. | `UNDEFINED` | `.env`, `.vortex/tooling/src/vortex-fetch-db-ftp` |
| `VORTEX_FETCH_DB_FTP_PASS` | Database dump FTP password. | `UNDEFINED` | `.env.local.example`, `.vortex/tooling/src/vortex-fetch-db-ftp` |
@@ -369,9 +372,10 @@ The list below is automatically generated with [Shellvar](https://github.com/ale
| `VORTEX_FETCH_DB_S3_PREFIX` | S3 prefix (path within the bucket). | `${S3_PREFIX}` | `.vortex/tooling/src/vortex-fetch-db-s3` |
| `VORTEX_FETCH_DB_S3_REGION` | AWS S3 region. | `ap-southeast-2` | `.env`, `.vortex/tooling/src/vortex-fetch-db-s3` |
| `VORTEX_FETCH_DB_S3_SECRET_KEY` | AWS secret key for S3 database fetch. | `UNDEFINED` | `.env.local.example`, `.vortex/tooling/src/vortex-fetch-db-s3` |
-| `VORTEX_FETCH_DB_SOURCE` | Database fetch source. | `url` | `.env`, `.vortex/tooling/src/vortex-fetch-db` |
+| `VORTEX_FETCH_DB_SOURCE` | Database fetch source. | `url` | `.env`, `.vortex/tooling/src/vortex-fetch-db`, `.vortex/tooling/src/vortex-push-db` |
| `VORTEX_FETCH_DB_SSH_FILE` | Default SSH file used if custom fingerprint is not provided. | `${HOME}/.ssh/id_rsa` | `.vortex/tooling/src/vortex-fetch-db-lagoon` |
| `VORTEX_FETCH_DB_SSH_FINGERPRINT` | SSH key fingerprint used to connect to a remote. | `UNDEFINED` | `.vortex/tooling/src/vortex-fetch-db-lagoon` |
+| `VORTEX_FETCH_DB_STORE` | Database store of the sanitized database dump file: ftp or s3.
When set, the database is fetched from the store instead of the source. The nightly CI job fetches from the source, sanitizes the database and pushes the dump to the store. The store reads the FTP or S3 variables above. Leave empty to fetch from the source. | `UNDEFINED` | `.env`, `.vortex/tooling/src/vortex-fetch-db`, `.vortex/tooling/src/vortex-push-db` |
| `VORTEX_FETCH_DB_UNZIP_PASSWORD` | Password for unzipping password-protected zip files. | `UNDEFINED` | `.vortex/tooling/src/vortex-fetch-db-url` |
| `VORTEX_FETCH_DB_URL` | Database dump file sourced from a URL.
HTTP Basic Authentication credentials should be embedded into the value. | `UNDEFINED` | `.env`, `.vortex/tooling/src/vortex-fetch-db-url` |
| `VORTEX_FETCH_DB_URL_DB_DIR` | Directory with database dump file. | `./.data` | `.vortex/tooling/src/vortex-fetch-db-url` |
@@ -549,17 +553,29 @@ The list below is automatically generated with [Shellvar](https://github.com/ale
| `VORTEX_PUSH_CONTAINER_REGISTRY_MAP` | Comma-separated map of container services and images to push in format "service1=org/image1,service2=org/image2". | `UNDEFINED` | `.vortex/tooling/src/vortex-push-container-registry`, `.vortex/tooling/src/vortex-push-db-image` |
| `VORTEX_PUSH_CONTAINER_REGISTRY_PASS` | The password to login into the container registry. | `${VORTEX_CONTAINER_REGISTRY_PASS}` | `.vortex/tooling/src/vortex-push-container-registry` |
| `VORTEX_PUSH_CONTAINER_REGISTRY_USER` | The username to login into the container registry. | `${VORTEX_CONTAINER_REGISTRY_USER}` | `.vortex/tooling/src/vortex-push-container-registry` |
+| `VORTEX_PUSH_DB_DESTINATIONS` | Destinations to push the database dump file to besides the database store: 'ftp', 's3' or both, separated by commas or spaces.
Each destination reads its own variables, such as VORTEX_PUSH_DB_FTP_HOST for 'ftp'. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db` |
+| `VORTEX_PUSH_DB_FILE_SUFFIX` | Suffix for the names of the pushed database dump files.
Goes before the extension, so 'db.sql' becomes 'db_gha.sql' with '_gha'. Use a different suffix in each place that pushes to the same storage. A fetch reads the suffixed name only when its remote file name includes it. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp`, `.vortex/tooling/src/vortex-push-db-s3` |
+| `VORTEX_PUSH_DB_FTP_DB_DIR` | Directory with database dump file. | `./.data` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_DB_FILE` | Database dump file name.
Defaults to the name the database is fetched and refreshed with. | `db.sql` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_DIR` | The directory on the FTP server to push the file to.
Joined in front of the file name. Leading and trailing slashes are optional. Defaults to the directory the database is fetched from. Use a different directory in each place that pushes to the same storage, such as 'gha' and 'circleci'. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_FILE` | The remote file name, including any directories. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_HOST` | The FTP host. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_PASS` | The FTP password. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_PORT` | The FTP port. | `21` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_FTP_USER` | The FTP user. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp` |
+| `VORTEX_PUSH_DB_PROCEED` | Proceed with push.
Set to `1` in the nightly CI job only, so the storage is refreshed once a day and never from a feature branch build. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db` |
| `VORTEX_PUSH_DB_S3_ACCESS_KEY` | AWS access key. | `${S3_ACCESS_KEY}` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_BUCKET` | S3 bucket name. | `${S3_BUCKET}` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_DB_DIR` | Directory with database dump file. | `./.data` | `.vortex/tooling/src/vortex-push-db-s3` |
-| `VORTEX_PUSH_DB_S3_DB_FILE` | Database dump file name. | `db.sql` | `.vortex/tooling/src/vortex-push-db-s3` |
+| `VORTEX_PUSH_DB_S3_DB_FILE` | Database dump file name.
Defaults to the name the database is fetched and refreshed with. | `db.sql` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_PREFIX` | S3 prefix (path within the bucket). | `${S3_PREFIX}` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_REGION` | S3 region. | `${S3_REGION}` | `.vortex/tooling/src/vortex-push-db-s3` |
-| `VORTEX_PUSH_DB_S3_REMOTE_FILE` | Remote database dump file name. | `db.sql` | `.vortex/tooling/src/vortex-push-db-s3` |
+| `VORTEX_PUSH_DB_S3_REMOTE_FILE` | Remote database dump file name.
Defaults to the remote file name the database is fetched from, then to the database dump file name. | `${VORTEX_PUSH_DB_S3_DB_FILE}` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_SECRET_KEY` | AWS secret key. | `${S3_SECRET_KEY}` | `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_PUSH_DB_S3_STORAGE_CLASS` | S3 storage class. | `STANDARD` | `.vortex/tooling/src/vortex-push-db-s3` |
+| `VORTEX_PUSH_DB_TIMESTAMPED_COPY` | Also push a copy of the database dump file named with a UTC timestamp.
Set to `1` to keep a history of the pushed dumps. The fetch never reads the timestamped copies. | `UNDEFINED` | `.vortex/tooling/src/vortex-push-db-ftp`, `.vortex/tooling/src/vortex-push-db-s3` |
| `VORTEX_REFRESH_DB_PROCEED` | Proceed with the refresh of an indexed database.
The primary database is always refreshed. An indexed database, such as the migration database with VORTEX_DB_INDEX=`2`, is refreshed only when VORTEX_REFRESH_DB2_PROCEED is set to `1`. | `UNDEFINED` | `.vortex/tooling/src/vortex-refresh-db` |
-| `VORTEX_REFRESH_DB_SOURCE` | Fetch source of the database dump file to import into the base image.
Required when the fetch source is 'container_registry' and a base image is set: the database image is built from a dump file, so it needs a dump file source such as 'url', 'ftp', 'acquia', 'lagoon' or 's3'. An indexed database uses VORTEX_REFRESH_DB2_SOURCE. | `UNDEFINED` | `.vortex/tooling/src/vortex-refresh-db` |
+| `VORTEX_REFRESH_DB_SOURCE` | Upstream fetch source of the database dump file.
Required when the fetch source is 'container_registry' and a base image is set: the database image is built from a dump file, so it needs a dump file source such as 'url', 'ftp', 'acquia', 'lagoon' or 's3'. An indexed database uses VORTEX_REFRESH_DB2_SOURCE. | `UNDEFINED` | `.vortex/tooling/src/vortex-refresh-db` |
| `VORTEX_RELEASE_VERSION_SCHEME` | Versioning scheme used for releases.
Can be one of: calver, semver, other @see https://www.vortextemplate.com/docs/releasing | `calver` | `.env` |
| `VORTEX_SHOW_LOGIN` | Show one-time login link. | `UNDEFINED` | `.vortex/tooling/src/vortex-info` |
| `VORTEX_SSH_DISABLE_STRICT_HOST_KEY_CHECKING` | Disable strict host key checking in SSH. | `0` | `.vortex/tooling/src/vortex-setup-ssh` |
diff --git a/.vortex/docs/content/features.mdx b/.vortex/docs/content/features.mdx
index 70df8ab568..bc0b7e3603 100644
--- a/.vortex/docs/content/features.mdx
+++ b/.vortex/docs/content/features.mdx
@@ -169,7 +169,8 @@ import {
- _Lint_ the code without provisioning a site
- _Fetch the database_ from the hosting provider and cache it for the
- day, with a nightly refresh of the database container image
+ day, with a nightly refresh of the database image or of a sanitized
+ dump on FTP or S3
- _Build_ and test a fully provisioned site, with
[Behat](https://docs.behat.org/en/latest/) tests split
across parallel containers
@@ -386,6 +387,8 @@ import {
- Database sourced from the hosting provider, a URL, FTP, S3 or a
container image seeded with
[Database data images](https://github.com/drevops/database-data-images)
+ - Optional sanitized database store on FTP or S3, refreshed nightly or
+ on demand, so developers need no access to production
### Provisioning
diff --git a/.vortex/docs/cspell.json b/.vortex/docs/cspell.json
index 6b66040eb6..092cd8aebd 100644
--- a/.vortex/docs/cspell.json
+++ b/.vortex/docs/cspell.json
@@ -18,6 +18,8 @@
"MAILHUB",
"NRAK",
"Olivero",
+ "RNFR",
+ "RNTO",
"REDIS",
"Runsheet",
"Runsheets",
diff --git a/.vortex/docs/static/img/installer.json b/.vortex/docs/static/img/installer.json
index f2b0401b6d..d2d7d0a79b 100644
--- a/.vortex/docs/static/img/installer.json
+++ b/.vortex/docs/static/img/installer.json
@@ -1,228 +1,219 @@
-{"version":2,"width":80,"height":27,"timestamp":1794812735,"command":"/home/user/demo/installer.exp","title":"Vortex Installer Demo","env":{"SHELL":"/opt/homebrew/opt/bash/bin/bash"}}
-[0.506083, "o", "\u001b[36m──────────────────────────────────────────────────────────────────────────────\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m ██╗ ██╗ ██████╗ ██████╗ ████████╗ ███████╗ ██╗ ██╗\u001b[39m\r\r\n\u001b[36m ██║ ██║ ██╔═══██╗ ██╔══██╗ ╚══██╔══╝ ██╔════╝ ╚██╗██╔╝\u001b[39m\r\r\n\u001b[36m ██║ ██║ ██║ ██║ ██████╔╝ ██║ █████╗ ╚███╔╝\u001b[39m\r\r\n\u001b[36m ╚██╗ ██╔╝ ██║ ██║ ██╔══██╗ ██║ ██╔══╝ ██╔██╗\u001b[39m\r\r\n\u001b[36m ╚████╔╝ ╚██████╔╝ ██║ ██║ ██║ "]
-[0.506124, "o", " █"]
-[0.506196, "o", "██████╗ ██╔╝ ██╗\u001b[39m\r\r\n\u001b[36m ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m Drupal project template\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m by DrevOps\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m──────────────────────────────────────────────────────────────────────────────\u001b[39m\r\r\n\u001b[2m Installer version: development\u001b[22m\r\r\n"]
-[0.507376, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mWelcome to the Vortex interactive installer\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m───────────────────────────────────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m This tool will guide you through installing the latest \u001b[4mdevelopment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m version of Vortex into your project. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m You will be asked a few questions to tailor the c"]
-[0.507428, "o", "onfigu"]
-[0.507467, "o", "ration to your \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m site. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m No changes will be made until you confirm everything at the end. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Press \u001b[33mCtrl+C\u001b[39m at any time to exit the installer.\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Press \u001b[33mCtrl+U\u001b[39m at any time to go back to the previous step.\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└───────────────────────────────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b"]
-[0.507507, "o", "[0m\r\r\n"]
-[0.50802, "o", "\u001b[36m◇\u001b[0m Validating repository and reference\r\r\n"]
-[0.514269, "o", "\u001b[90m│\u001b[0m \u001b[2mChecking repository \"/home/user/vortex\" and reference \"HEAD\"\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Repository and reference validated successfully\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[0.529286, "o", "\u001b[?25l"]
-[0.529322, "o", "\u001b[36m◇\u001b[0m Press any key to continue...\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[3.533775, "o", "\u001b[2A\r\u001b[J"]
-[3.541866, "o", "\u001b[?25h"]
-[3.55806, "o", "\u001b[?25l"]
-[3.558114, "o", "\r\r\n\u001b[90m┌\u001b[0m \u001b[1mGeneral information\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[3.558448, "o", "\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[3.713548, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar war\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar w\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use"]
-[3.714008, "o", " this name in the project an"]
-[4.796506, "o", "d documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37msta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mst\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37ms\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[4.796806, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe "]
-[4.796952, "o", "will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.800645, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r"]
-[5.800915, "o", "\r\n\u001b[90m│\u001b[0m \u001b[2mWe will u"]
-[5.801183, "o", "se this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.801318, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.802172, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.802356, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.802642, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.804507, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.804789, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805049, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805178, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805375, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805475, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805584, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805687, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805768, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.805895, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806015, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806087, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806193, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806289, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806418, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.80652, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806624, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806781, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806881, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.806978, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807044, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807143, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807254, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807345, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807458, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807563, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807662, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807768, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807877, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.807979, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808092, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mS\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808193, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSt\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.80829, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808386, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808501, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808579, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar W\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808698, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808805, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar War\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.808904, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.809002, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Site name (1/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mStar Wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[5.809351, "o", "\u001b[36m◇\u001b[0m Site machine name \u001b[2m(2/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name for the project directory and in the code.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[6.813008, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Site machine name (2/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[6.813325, "o", "\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mStar Wars Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[6.9667, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars Or\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars O\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar War\u001b[0"]
-[6.966708, "o", "m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0"]
-[8.117088, "o", "m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar W\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m O"]
-[8.117309, "o", "rganization name \u001b[2m(3/33)"]
-[8.117473, "o", "\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[9.121796, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSt\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mS\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r"]
-[9.122235, "o", "\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0"]
-[9.122465, "o", "m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[10.122928, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[10.12294, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[10.123054, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[11.128186, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[11.1282, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[11.12834, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[12.129143, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[12.129156, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[12.12929, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[13.133486, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[13.133494, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[13.133603, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[14.137628, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[14.137648, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[14.137798, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[15.139218, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
-[15.139547, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
-[15.139727, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[16.141838, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mR\u001b[0m\u001b[36"]
-[16.141854, "o", "m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b["]
-[16.141983, "o", "90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[17.146334, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRe\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mReb\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebe\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebel\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebell\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r"]
-[17.146339, "o", "\r\n\u001b[90m│\u001b[0m \u001b[2mWe will u"]
-[17.146434, "o", "se this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[18.150173, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebelli\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebellio\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebellion\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Organization name (3/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mRebellion\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Organization machine name \u001b[2m(4/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mrebellion\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the code.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Organization "]
-[18.150181, "o", "machine name (4/33)\r\r\n\u001b[90m"]
-[18.150305, "o", "│\u001b[0m \u001b[2mrebellion\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[19.154568, "o", "\u001b[36m◇\u001b[0m Public domain \u001b[2m(5/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar-wars.com\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mDomain name without protocol and trailing slash.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Public domain (5/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar-wars.com\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mDrupal\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m How would you like your site to be created on the first run? \u001b[2m(6/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mChoose how your site will be created the first time after this installer\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mfinishes:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDrupal, installed from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a new site by \u001b[4mpopulating a fresh database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m from one of the standard Drupal installation profiles.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDrupal CMS, installed from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a new"]
-[19.154581, "o", " site by \u001b[4mpopulat"]
-[19.154714, "o", "ing a fresh database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m from the Drupal CMS recipe.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDrupal, loaded from the demo database\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a site by \u001b[4mloading an existing demo database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m provided with the installer.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDrupal, installed from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDrupal CMS, installed from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Drupal, loaded from the demo database\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇. Applies only on the first run of the installer.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[20.154979, "o", "\u001b[22A\r\u001b[J\u001b[36m◆\u001b[0m How would you like your site to be created on the first run? (6/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mDrupal, loaded from the demo database\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Profile \u001b[2m(7/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Standard\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mMinimal\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDemo Umami\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCustom (next prompt)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select which Drupal profile to use.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Profile (7/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mStandard\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Modules \u001b[2m(8/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Coffee\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Config split\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Config update\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Devel\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Diff\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Drupal helpers\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Entity usage\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Environment indicator\r\r\n"]
-[20.154989, "o", "\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m"]
-[20.155088, "o", " Fast 404\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Field group\r\r\n\u001b[90m│\u001b[0m \u001b[2m↓ 19 more\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more modules.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[21.156323, "o", "\u001b[17A\r\u001b[J\u001b[36m◆\u001b[0m Modules (8/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCoffee, Config split, Config update, Devel, Diff, Drupal helpers, Entity\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2musage, Environment indicator, Fast 404, Field group, Generated content, Gin\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2madmin theme, Linkit, Menu trail by path, Metatag, Navigation extra tools,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mPathauto, Redirect, Reroute email, Robots.txt, Scheduled transitions,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mSchema.org Metatag, SDC Devel, Seckit, Shield, Stage file proxy, Testmode,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mViews bulk operations, XML Sitemap\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Custom modules prefix \u001b[2m(9/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2msw\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in custom modules\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Custom modules prefix (9/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2msw\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Custom modules \u001b[2m(10/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mSelect which custom modules to include in your project:\u001b[0m"]
-[21.156722, "o", "\r\r\n\u001b[90m│\u001b[0m \u001b["]
-[21.159694, "o", "2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mBase\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Starter module with deploy hooks and test scaffolding for\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Unit, Kernel, Functional, and FunctionalJavascript tests.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mSearch\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Custom Solr search integration module. Requires the Solr\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m service to be selected.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDemo\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Demonstrates how Vortex tooling works: includes a counter\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m block with CSS/JS, PHPUnit example tests across all test\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m types, and a Behat feature. Safe to remove on real projects.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Base - starter module with utilities and test scaffolding\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Search - custom Solr search integration\r\r\n\u001b[90m│\u001b[0m \u001b["]
-[21.159712, "o", "32m◼\u001b[0m Demo "]
-[22.162701, "o", "- counter block and example tests to demonstrate tooling\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more modules.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[22A\r\u001b[J\u001b[36m◆\u001b[0m Custom modules (10/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mBase - starter module with utilities and test scaffolding, Search - custom\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mSolr search integration, Demo - counter block and example tests to\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdemonstrate tooling\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Theme \u001b[2m(11/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOlivero\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mClaro\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mStark\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Custom (next prompt)\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select which Drupal theme to use.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Theme (11/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom (next prompt)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Custom theme machine name \u001b[2m(11.1)\u001b[0m\r\r\n\u001b[90m│\u001b"]
-[22.162712, "o", "[0m \u001b[90m│\u001b[0m \r\r\n\u001b["]
-[22.162847, "o", "90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mWe will use this name as a custom theme name\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n"]
-[23.166936, "o", "\u001b[6A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Custom theme machine name (11.1)\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Build front-end assets in the container? \u001b[2m(11.2)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mDisable to build theme assets on the host or as part of deployment.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[6A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Build front-end assets in the container? (11.2)\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Storybook component library? \u001b[2m(11.3)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mComponent library for the custom theme, rendered by Drupal itself.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mStories are authored in Twig next to each component, so the library shows\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mthe same markup the site"]
-[23.166953, "o", " renders.\u001b[0m\r\r\n\u001b"]
-[23.167111, "o", "[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mA development server runs on demand with `ahoy storybook`. A static build\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mis produced during provisioning and served at `/storybook` in local, CI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mand development environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds Storybook packages to the theme and a step to provisioning.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
-[24.171704, "o", "\u001b[14A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Storybook component library? (11.3)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m├\u001b[0m \u001b[1mCode repository\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Repository provider \u001b[2m(12/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mVortex offers full automation with GitHub, while support for other providers\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mis limited.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m GitHub\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select your code repository provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Repository provider (12/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mGitHub\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Release versioning scheme \u001b[2m(13/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mChoose your versioning scheme:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mCalendar Versioning (CalVer)\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m \u001b[4myear.month.patch\u001b[0m\u001b[2;3m (E.g., \u001b[4m24.1.0\u001b[0m\u001b[2;3m)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m "]
-[24.171716, "o", "https://calver.org\u001b[0m"]
-[24.171831, "o", "\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mSemantic Versioning (SemVer)\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m \u001b[4mmajor.minor.patch\u001b[0m\u001b[2;3m (E.g., \u001b[4m1.0.0\u001b[0m\u001b[2;3m)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m https://semver.org\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mOther\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Custom versioning scheme of your choice.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Calendar Versioning (CalVer)\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mSemantic Versioning (SemVer)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select your version scheme.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[25.173004, "o", "\u001b[20A\r\u001b[J\u001b[36m◆\u001b[0m Release versioning scheme (13/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCalendar Versioning (CalVer)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mEnvironment\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Timezone \u001b[2m(14/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mEtc/UTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇, or start typing to select the timezone for your project.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Timezone (14/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Services \u001b[2m(15/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m ClamAV\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Solr\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Redis\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more services.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Services (15/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mClamAV, Redis, Solr\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Development tools \u001b[2m(16/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b"]
-[25.173011, "o", "[36m❯\u001b[0m \u001b[32m◼\u001b[0m PHP C"]
-[25.173175, "o", "odeSniffer\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m PHPStan\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Rector\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m ESLint\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Stylelint\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Jest\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m PHPUnit\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Behat\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Twig CS Fixer\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m DCLint\r\r\n\u001b[90m│\u001b[0m \u001b[2m↓ 1 more\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more tools.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[26.174669, "o", "\u001b[17A\r\u001b[J\u001b[36m◆\u001b[0m Development tools (16/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mBehat, DCLint, ESLint, Hadolint, Jest, PHP CodeSniffer, PHPStan, PHPUnit,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRector, Stylelint, Twig CS Fixer\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mHosting\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Hosting provider \u001b[2m(17/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mAcquia Cloud\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mLagoon\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m None\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select your hosting provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[26.174737, "o", "\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Hosting provider (17/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[27.179128, "o", "\u001b[36m◇\u001b[0m Custom web root directory \u001b[2m(18/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mweb\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom directory where the web server serves the site.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[28.184581, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Custom web root directory (18/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mweb\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mDeployment\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Deployment types \u001b[2m(19/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◻\u001b[0m Code artifact\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mLagoon webhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Custom webhook\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more deployment types.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[28.185065, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Deployment types (19/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom webhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[29.189559, "o", "\u001b[90m├\u001b[0m \u001b[1mWorkflow\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Provision type \u001b[2m(20/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mProvisioning sets up the site in an environment using an already assembled\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mcodebase.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mImport from database dump\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Provisions the site by importing a database dump\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m typically copied from production into lower\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mInstall from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Provisions the site by installing a fresh Drupal\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m site from a profile every time an environment is\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m created.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Import from database dump\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mInstall from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ "]
-[29.189936, "o", "to select the provi"]
-[29.190152, "o", "sion type.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[19A\r\u001b[J"]
-[30.193407, "o", "\u001b[36m◆\u001b[0m Provision type (20/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mImport from database dump\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Database source \u001b[2m(20.1)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m URL download\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mFTP download\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mAcquia backup\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mLagoon environment\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mContainer registry\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mS3 bucket\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the database fetch source.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
-[31.201026, "o", "\u001b[12A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Database source (20.1)\r\r\n\u001b[90m│\u001b[0m \u001b[2mURL download\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[36m◇\u001b[0m Use a second database for migrations? \u001b[2m(21/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds a second database service for Drupal migrations.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[31.201329, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Use a second database for migrations? (21/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mNotifications\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Notification channels \u001b[2m(22/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Email\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mGitHub\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mJIRA\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mNew Relic\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mSlack\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mWebhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more notification channels.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[32.205985, "o", "\u001b[11A\r\u001b[J\u001b[36m◆\u001b[0m Notification channels (22/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mEmail\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mContinuous Integration\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[32.206326, "o", "\u001b[36m◇\u001b[0m Continuous Integration provider \u001b[2m(23/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m GitHub Actions\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCircleCI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the CI provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[33.208965, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Continuous Integration provider (23/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mGitHub Actions\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[33.212012, "o", "\u001b[36m◇\u001b[0m Visual regression testing with Diffy? \u001b[2m(24/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mDiffy-powered visual regression workflow to compare deployed environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mAutomatically triggers comparisons for dependency-update pull requests\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mmatching the configured branch pattern (`deps/*` by default).\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRuns comparisons for pull requests tagged with the `VR` label and posts a\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3msticky comment.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mAlso supports manual runs against any URL.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRequires a Diffy account.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[34.216477, "o", "\u001b[15A\r\u001b[J\u001b[36m◆\u001b[0m Visual regression testing with Diffy? (24/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[34.217141, "o", "\u001b[36m◇\u001b[0m Performance and SEO audits with Lighthouse? \u001b[2m(25/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mLighthouse audits of performance, accessibility, best practices and SEO for\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mthe pages you list or the pages in the sitemap.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRuns locally with `ahoy test-lighthouse` and in CI after the tests, writing\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mHTML and JSON reports for every page.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mScores can be compared with per-category budgets. The CI step is advisory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3muntil you make it blocking.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds a Lighthouse container, an Ahoy command and a CI step.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[35.222461, "o", "\u001b[14A\r\u001b[J\u001b[36m◆\u001b[0m Performance and SEO audits with Lighthouse? (25/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[35.222599, "o", "\u001b[36m◇\u001b[0m Scan for committed secrets with Gitleaks? \u001b[2m(26/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRuns in CI to detect hardcoded passwords, API keys and tokens.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[36.22477, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Scan for committed secrets with Gitleaks? (26/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[36.225144, "o", "\u001b[90m├\u001b[0m \u001b[1mAutomations\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[36.225969, "o", "\u001b[36m◇\u001b[0m Dependency updates provider \u001b[2m(27/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Renovate GitHub app\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mRenovate self-hosted in CI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the dependency updates provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[37.230331, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Dependency updates provider (27/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mRenovate GitHub app\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[37.230636, "o", "\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n"]
-[37.234491, "o", "\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Auto-merge dependency updates \u001b[2m(27.1)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mPull requests in the selected groups are merged as soon as they meet the\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mbranch protection rules. Pull requests in other groups need a manual\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mmerge.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRequires \"Allow auto-merge\" in the repository settings and at least one\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mrequired status check on the base branch.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m PHP packages, except Drupal core (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Drupal core (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m JavaScript packages (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Container images (major, minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m CI tools (major, minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m GitHub Actions (major, minor and patch)\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2m"]
-[37.234565, "o", "Use ⬆, ⬇ an"]
-[37.234643, "o", "d Space bar to select one or more groups.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
-[38.238885, "o", "\u001b[17A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Auto-merge dependency updates (27.1)\r\r\n\u001b[90m│\u001b[0m \u001b[2mPHP packages, except Drupal core (minor and patch), Drupal core (minor and\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mpatch), JavaScript packages (minor and patch), Container images (major,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mminor and patch), CI tools (major, minor and patch), GitHub Actions\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m(major, minor and patch)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
-[38.239137, "o", "\u001b[36m◇\u001b[0m Code coverage provider \u001b[2m(28/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCodecov\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m None\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the code coverage provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[39.240952, "o", "\u001b[7A\r\u001b[J\u001b[36m◆\u001b[0m Code coverage provider (28/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[39.24145, "o", "\u001b[36m◇\u001b[0m Auto-assign the author to their PR? \u001b[2m(29/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to keep the PRs organized.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[40.245535, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Auto-assign the author to their PR? (29/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[40.245848, "o", "\u001b[36m◇\u001b[0m Auto-add a CONFLICT label to a PR when conflicts occur? \u001b[2m(30/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to keep quickly identify PRs that need attention.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[41.25086, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Auto-add a CONFLICT label to a PR when conflicts occur? (30/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[41.251074, "o", "\u001b[90m├\u001b[0m \u001b[1mDocumentation\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[41.251452, "o", "\u001b[36m◇\u001b[0m Preserve project documentation? \u001b[2m(31/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to maintain the project documentation within the repository.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[42.255717, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Preserve project documentation? (31/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mAI\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[42.255815, "o", "\u001b[36m◇\u001b[0m Provide AI agent instructions? \u001b[2m(32/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mProvides AI coding agents with better context about the project.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[43.25961, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Provide AI agent instructions? (32/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[43.260086, "o", "\u001b[36m◇\u001b[0m Configure AI code review with CodeRabbit? \u001b[2m(33/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRequires the CodeRabbit app on the repository.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[44.26217, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Configure AI code review with CodeRabbit? (33/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[44.272055, "o", "\u001b[?25h"]
-[44.273225, "o", "\u001b[34m●\u001b[0m \u001b[34mInstallation summary\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[44.276508, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mGeneral information\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Site name \u001b[90m│\u001b[0m Star Wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Site machine name \u001b[90m│\u001b[0m star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Organization name \u001b[90m│\u001b[0m Rebellion \u001b[90m│\u001b[0m\r\r\n\u001b[90m"]
-[44.276533, "o", "│\u001b[0"]
-[44.276583, "o", "m \u001b[90m│\u001b[0m Organization machine name \u001b[90m│\u001b[0m rebellion \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Public domain \u001b[90m│\u001b[0m star-wars.com \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDrupal\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Starter \u001b[90m│\u001b[0m load_demodb \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b["]
-[44.276624, "o", "90m│"]
-[44.2767, "o", "\u001b[0m Modules \u001b[90m│\u001b[0m coffee, config_split, config_update, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m devel, diff, drupal_helpers, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m entity_usage, environment_indicator, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m fast_404, field_group, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m generated_content, gin, linkit, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m menu_trail_by_path, metatag, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m navigation_extra_tools, pathauto, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m redirect, reroute_email, robotstxt, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m "]
-[44.276722, "o", " "]
-[44.276796, "o", " \u001b[90m│\u001b[0m scheduled_transitions, schema_metatag, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m sdc_devel, seckit, shield, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m stage_file_proxy, testmode, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m views_bulk_operations, xmlsitemap \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Webroot \u001b[90m│\u001b[0m web \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Profile \u001b[90m│\u001b[0m standard \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Module prefix \u001b[90m│\u001b[0m sw \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Custom modules \u001b[90m│\u001b[0m base, search, demo \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Theme machine name "]
-[44.276822, "o", " "]
-[44.276903, "o", " \u001b[90m│\u001b[0m star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Build front-end in container \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Storybook component library \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mCode repository\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Code provider "]
-[44.276925, "o", " \u001b[90m"]
-[44.277028, "o", "│\u001b[0m github \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Version scheme \u001b[90m│\u001b[0m calver \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mEnvironment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Timezone \u001b[90m│\u001b[0m UTC \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Services \u001b[90m│\u001b["]
-[44.277032, "o", "0m cla"]
-[44.277121, "o", "mav, redis, solr \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Tools \u001b[90m│\u001b[0m behat, dclint, eslint, hadolint, jest, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m phpcs, phpstan, phpunit, rector, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m stylelint, twig_cs_fixer \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mHosting\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────"]
-[44.277153, "o", "──"]
-[44.277218, "o", "──────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Hosting provider \u001b[90m│\u001b[0m none \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDeployment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Deployment types \u001b[90m│\u001b[0m webhook \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├───────────────────────"]
-[44.277221, "o", "──"]
-[44.277301, "o", "─────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mWorkflow\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Provision type \u001b[90m│\u001b[0m database \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Database source \u001b[90m│\u001b[0m url \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Migration database \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────"]
-[44.277305, "o", "───"]
-[44.277396, "o", "─────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mNotifications\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Channels \u001b[90m│\u001b[0m email \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mContinuous Integration\u001b[0m \u001b["]
-[44.2774, "o", "90m"]
-[44.277492, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m CI provider \u001b[90m│\u001b[0m gha \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Visual regression testing \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Lighthouse audits \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Secret scanning with Gitleaks \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────"]
-[44.277499, "o", "┤\u001b[0m\r\r\n\u001b"]
-[44.277596, "o", "[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mAutomations\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Dependency updates provider \u001b[90m│\u001b[0m renovatebot_app \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Auto-merge dependency updates \u001b[90m│\u001b[0m php, drupal_core, js, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m container_images, ci_tools, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m github_actions \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Code coverage provider \u001b[90m│\u001b[0m none \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b"]
-[44.277609, "o", "[0m \u001b["]
-[44.277693, "o", "90m│\u001b[0m Auto-assign PR author \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Auto-add a CONFLICT label to PRs \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDocumentation\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Preserve project documentation \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m"]
-[44.277698, "o", "├─"]
-[44.277798, "o", "─────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mAI\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m AI agent instructions \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m AI code review \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴──────────"]
-[44.277829, "o", "──"]
-[44.277916, "o", "────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mLocations\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Current directory \u001b[90m│\u001b[0m /home/user/vortex/.artifa \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m cts/tmp/videos-workspace \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Destination directory \u001b[90m│\u001b[0m /home/user/vortex/.artifa \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m cts/tmp/videos-workspace/star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Vortex reposit"]
-[44.277922, "o", "ory "]
-[44.278014, "o", " \u001b[90m│\u001b[0m /home/user/vortex \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Vortex reference \u001b[90m│\u001b[0m HEAD \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└──────────────────────────────────┴────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[44.281142, "o", " Vortex will be installed into your project's directory \"/home/user/demo/star_wars\"\r\r\n"]
-[44.294286, "o", "\u001b[?25l"]
-[44.294341, "o", "\u001b[36m◇\u001b[0m Proceed with installing Vortex?\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[46.299583, "o", "\u001b[4A\r\u001b[J\u001b[36m◆\u001b[0m Proceed with installing Vortex?\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[46.309323, "o", "\u001b[?25h\u001b[34m●\u001b[0m \u001b[34mStarting project installation\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[46.30943, "o", "\u001b[36m◇\u001b[0m Downloading Vortex\r\r\n"]
-[46.45556, "o", "\u001b[90m│\u001b[0m \u001b[2mDownloading from \"/home/user/vortex\" repository at ref \"HEAD\"\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Vortex downloaded (develop)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[46.455621, "o", "\u001b[36m◇\u001b[0m Customizing Vortex for your project\r\r\n"]
-[47.417966, "o", "\u001b[90m│\u001b[0m \u001b[32m✓ Vortex was customized for your project\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[47.418033, "o", "\u001b[36m◇\u001b[0m Preparing destination directory\r\r\n"]
-[47.431497, "o", "\u001b[90m│\u001b[0m \u001b[2mCreated directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mInitializing a new Git repository in directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Destination directory is ready\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[47.431596, "o", "\u001b[36m◇\u001b[0m Copying files to the destination directory\r\r\n"]
-[47.599094, "o", "\u001b[90m│\u001b[0m \u001b[32m✓ Files copied to destination directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Preparing demo content\r\r\n"]
-[48.126212, "o", "\u001b[90m│\u001b[0m \u001b[2mCreated data directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars/.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdata\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo database dump file was found in\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars/.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdata\" directory.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mFetched demo database from\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mhttps://github.com/drevops/vortex/releases/download/1.40.0/db.demo.sql.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Demo content prepared\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[48.126894, "o", "\u001b[90m│\u001b[0m \u001b[90m┌────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mFinished installing Vortex\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m──────────────────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Add and commit all files: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m git add -A \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m git commit -m \"Initial commit.\" \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Files: 402 added \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Status and diff of every file are recorded in: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m .logs/vortex-install-2026-11-16-070622"]
-[48.126897, "o", ".md \u001b["]
-[48.126987, "o", "90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[48.14198, "o", "\u001b[?25l"]
-[48.14216, "o", "\u001b[36m◇\u001b[0m Run the site build now?\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mTakes ~5-10 min; output will be streamed. You can skip and run later with:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mahoy build\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[50.148649, "o", "\u001b[7A\r\u001b[J\u001b[36m◆\u001b[0m Run the site build now?\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[50.159428, "o", "\u001b[?25h"]
-[50.159924, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mReady to build\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m──────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Build the site: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m ahoy build \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Setup GitHub Actions: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m"]
-[50.159998, "o", " "]
-[50.160048, "o", " \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m https://www.vortextemplate.com/docs/continuous-integration/github-actio \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m ns#onboarding \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└───────────────────────────────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
-[50.168864, "x", "0"]
+{"version":2,"width":80,"height":27,"timestamp":1794820045,"command":"/home/user/demo/installer.exp","title":"Vortex Installer Demo","env":{"SHELL":"/opt/homebrew/opt/bash/bin/bash"}}
+[0.565793, "o", "\u001b[36m──────────────────────────────────────────────────────────────────────────────\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m ██╗ ██╗ ██████╗ ██████╗ ████████╗ ███████╗ ██╗ ██╗\u001b[39m\r\r\n\u001b[36m ██║ ██║ ██╔═══██╗ ██╔══██╗ ╚══██╔══╝ ██╔════╝ ╚██╗██╔╝\u001b[39m\r\r\n\u001b[36m ██║ ██║ ██║ ██║ ██████╔╝ ██║ █████╗ ╚███╔╝\u001b[39m\r\r\n\u001b[36m ╚██╗ ██╔╝ ██║ ██║ ██╔══██╗ ██║ ██╔══╝ ██╔██╗\u001b[39m\r\r\n\u001b[36m ╚████╔╝ ╚██████╔╝ ██║ ██║ ██║ "]
+[0.5658, "o", " █"]
+[0.565941, "o", "██████╗ ██╔╝ ██╗\u001b[39m\r\r\n\u001b[36m ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m Drupal project template\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m by DrevOps\u001b[39m\r\r\n\u001b[36m\u001b[39m\r\r\n\u001b[36m──────────────────────────────────────────────────────────────────────────────\u001b[39m\r\r\n\u001b[2m Installer version: development\u001b[22m\r\r\n"]
+[0.567404, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mWelcome to the Vortex interactive installer\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m───────────────────────────────────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m This tool will guide you through installing the latest \u001b[4mdevelopment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m version of Vortex into your project. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m You will be asked a few questions to tailor the c"]
+[0.567738, "o", "onfigu"]
+[0.567858, "o", "ration to your \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m site. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m No changes will be made until you confirm everything at the end. \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Press \u001b[33mCtrl+C\u001b[39m at any time to exit the installer.\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Press \u001b[33mCtrl+U\u001b[39m at any time to go back to the previous step.\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└───────────────────────────────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b"]
+[0.567991, "o", "[0m\r\r\n"]
+[0.568367, "o", "\u001b[36m◇\u001b[0m Validating repository and reference\r\r\n"]
+[0.575357, "o", "\u001b[90m│\u001b[0m \u001b[2mChecking repository \"/home/user/vortex\" and reference \"HEAD\"\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Repository and reference validated successfully\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[0.597999, "o", "\u001b[?25l\u001b[36m◇\u001b[0m Press any key to continue...\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[3.601042, "o", "\u001b[2A\r\u001b[J"]
+[3.610818, "o", "\u001b[?25h"]
+[3.627244, "o", "\u001b[?25l"]
+[3.627352, "o", "\r\r\n\u001b[90m┌\u001b[0m \u001b[1mGeneral information\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[3.627548, "o", "\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[3.782807, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar war\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar w\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mstar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use"]
+[3.78282, "o", " this name in the project an"]
+[4.76826, "o", "d documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37msta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mst\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37ms\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[4.768275, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe "]
+[4.768374, "o", "will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771346, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r"]
+[5.771399, "o", "\r\n\u001b[90m│\u001b[0m \u001b[2mWe will u"]
+[5.771501, "o", "se this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771554, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771647, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771747, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771821, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.771931, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772029, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772143, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772239, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772369, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772436, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772552, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772672, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772767, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.772869, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773023, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773143, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773277, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773413, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773507, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773605, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773705, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773851, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.773903, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774017, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774127, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774239, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.77436, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774488, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774604, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774719, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774831, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.774903, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775017, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.77514, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775236, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Site\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775338, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mS\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775447, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSt\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.77555, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775657, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775757, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775858, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar W\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.775955, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.776107, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar War\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.77622, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Site name \u001b[2m(1/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.776318, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Site name (1/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mStar Wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[5.776587, "o", "\u001b[36m◇\u001b[0m Site machine name \u001b[2m(2/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name for the project directory and in the code.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[6.780462, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Site machine name (2/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[6.780711, "o", "\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mStar Wars Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[6.935998, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars Or\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars O\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar War\u001b[0"]
+[6.936043, "o", "m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0"]
+[7.466138, "o", "m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar Wa\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar W\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar \u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mStar\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m O"]
+[7.467184, "o", "rganization name \u001b[2m(3/33)"]
+[7.468398, "o", "\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSta\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mSt\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mS\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name i"]
+[7.468928, "o", "n the project and documentat"]
+[8.474134, "o", "ion.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b["]
+[8.474141, "o", "90m│\u001b[0m \u001b[90mE.g. My Org"]
+[8.474248, "o", "\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[9.478217, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
+[9.478287, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[9.478385, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[10.481331, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
+[10.481345, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[10.481497, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[11.485089, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
+[11.485106, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[11.485224, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[12.487456, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
+[12.487467, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[12.487624, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[13.490776, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My O"]
+[13.491294, "o", "rg\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m"]
+[13.491441, "o", "│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b["]
+[13.491526, "o", "0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m O"]
+[14.494091, "o", "rganization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90mE.g. My Org\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mR\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRe\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mReb\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebe\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe "]
+[14.494103, "o", "will use this name in the pr"]
+[14.494222, "o", "oject and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[15.498202, "o", "\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebel\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebell\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebelli\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebellio\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◇\u001b[0m Organization name \u001b[2m(3/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[37mRebellion\u001b[0m\u001b[36m█\u001b[0m\r\r"]
+[15.498209, "o", "\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m"]
+[15.498321, "o", " \u001b[2mWe will use this name in the project and documentation.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[16.503293, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Organization name (3/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mRebellion\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Organization machine name \u001b[2m(4/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mrebellion\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in the code.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Organization machine name (4/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mrebellion\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Public domain \u001b[2m(5/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar-wars.com\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mDomain name without protocol and trailing slash.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Public domain (5/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mstar-wars.com\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mDrupal\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m How would you like your site to be created on the first run? \u001b[2m(6/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mChoose how your site will be created the first time after this installer\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mfinishes:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b["]
+[16.503311, "o", "90m│\u001b[0m \u001b[2;3m ○ \u001b"]
+[16.503406, "o", "[1mDrupal, installed from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a new site by \u001b[4mpopulating a fresh database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m from one of the standard Drupal installation profiles.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDrupal CMS, installed from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a new site by \u001b[4mpopulating a fresh database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m from the Drupal CMS recipe.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDrupal, loaded from the demo database\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Creates a site by \u001b[4mloading an existing demo database\u001b[0m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m provided with the installer.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDrupal, installed from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDrupal CMS, installed from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Drupal, loaded from the demo database\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90"]
+[16.50342, "o", "m│\u001b[0m \u001b[2mUs"]
+[17.508701, "o", "e ⬆ and ⬇. Applies only on the first run of the installer.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[22A\r\u001b[J\u001b[36m◆\u001b[0m How would you like your site to be created on the first run? (6/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mDrupal, loaded from the demo database\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Profile \u001b[2m(7/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Standard\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mMinimal\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mDemo Umami\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCustom (next prompt)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select which Drupal profile to use.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Profile (7/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mStandard\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Modules \u001b[2m(8/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Coffee\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Config split\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Config update\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Devel\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Diff\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Drupal helpers\r\r\n\u001b[90m│\u001b"]
+[17.509413, "o", "[0m \u001b[32m◼\u001b[0m Entity u"]
+[17.5096, "o", "sage\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Environment indicator\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Fast 404\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Field group\r\r\n\u001b[90m│\u001b[0m \u001b[2m↓ 19 more\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more modules.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[18.511695, "o", "\u001b[17A\r\u001b[J\u001b[36m◆\u001b[0m Modules (8/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCoffee, Config split, Config update, Devel, Diff, Drupal helpers, Entity\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2musage, Environment indicator, Fast 404, Field group, Generated content, Gin\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2madmin theme, Linkit, Menu trail by path, Metatag, Navigation extra tools,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mPathauto, Redirect, Reroute email, Robots.txt, Scheduled transitions,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mSchema.org Metatag, SDC Devel, Seckit, Shield, Stage file proxy, Testmode,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mViews bulk operations, XML Sitemap\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Custom modules prefix \u001b[2m(9/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2msw\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mWe will use this name in custom modules\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Custom modules prefix (9/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2msw\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Custom modules \u001b[2m(10/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mSelect which custom modules to include in your project:\u001b[0m"]
+[18.512051, "o", "\r\r\n\u001b[90m│\u001b[0m \u001b["]
+[18.512543, "o", "2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mBase\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Starter module with deploy hooks and test scaffolding for\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Unit, Kernel, Functional, and FunctionalJavascript tests.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mSearch\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Custom Solr search integration module. Requires the Solr\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m service to be selected.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mDemo\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Demonstrates how Vortex tooling works: includes a counter\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m block with CSS/JS, PHPUnit example tests across all test\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m types, and a Behat feature. Safe to remove on real projects.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Base - starter module with utilities and test scaffolding\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Search - custom Solr search integration\r\r\n\u001b[90m│\u001b[0m \u001b["]
+[18.512837, "o", "32m◼\u001b[0m Demo "]
+[19.516281, "o", "- counter block and example tests to demonstrate tooling\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more modules.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[22A\r\u001b[J\u001b[36m◆\u001b[0m Custom modules (10/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mBase - starter module with utilities and test scaffolding, Search - custom\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mSolr search integration, Demo - counter block and example tests to\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdemonstrate tooling\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Theme \u001b[2m(11/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOlivero\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mClaro\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mStark\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Custom (next prompt)\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select which Drupal theme to use.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Theme (11/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom (next prompt)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Custom theme machine name \u001b[2m(11.1)\u001b[0m\r\r\n\u001b[90m│\u001b"]
+[19.516674, "o", "[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mWe will use this name as a custom theme name\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n"]
+[20.521937, "o", "\u001b[6A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Custom theme machine name (11.1)\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mstar_wars\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Build front-end assets in the container? \u001b[2m(11.2)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mDisable to build theme assets on the host or as part of deployment.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[6A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Build front-end assets in the container? (11.2)\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Storybook component library? \u001b[2m(11.3)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mComponent library for the custom theme, rendered by Drupal itself.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mStories are authored in Twig next to each component, so the library shows\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mthe same markup the site"]
+[20.522346, "o", " renders.\u001b[0m\r\r\n\u001b"]
+[20.522488, "o", "[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mA development server runs on demand with `ahoy storybook`. A static build\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mis produced during provisioning and served at `/storybook` in local, CI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mand development environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds Storybook packages to the theme and a step to provisioning.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
+[21.528138, "o", "\u001b[14A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Storybook component library? (11.3)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m├\u001b[0m \u001b[1mCode repository\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Repository provider \u001b[2m(12/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mVortex offers full automation with GitHub, while support for other providers\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mis limited.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m GitHub\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select your code repository provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Repository provider (12/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mGitHub\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Release versioning scheme \u001b[2m(13/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mChoose your versioning scheme:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mCalendar Versioning (CalVer)\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m \u001b[4myear.month.patch\u001b[0m\u001b[2;3m (E.g., \u001b[4m24.1.0\u001b[0m\u001b[2;3m)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m "]
+[21.528409, "o", "https://calver.org\u001b[0m"]
+[21.528697, "o", "\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mSemantic Versioning (SemVer)\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m \u001b[4mmajor.minor.patch\u001b[0m\u001b[2;3m (E.g., \u001b[4m1.0.0\u001b[0m\u001b[2;3m)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m https://semver.org\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mOther\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Custom versioning scheme of your choice.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Calendar Versioning (CalVer)\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mSemantic Versioning (SemVer)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select your version scheme.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[22.53309, "o", "\u001b[20A\r\u001b[J\u001b[36m◆\u001b[0m Release versioning scheme (13/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCalendar Versioning (CalVer)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mEnvironment\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Timezone \u001b[2m(14/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mEtc/UTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇, or start typing to select the timezone for your project.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[22.533291, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Timezone (14/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mUTC\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[23.536975, "o", "\u001b[36m◇\u001b[0m Services \u001b[2m(15/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m ClamAV\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Solr\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Redis\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more services.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[24.541338, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Services (15/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mClamAV, Redis, Solr\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Development tools \u001b[2m(16/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m PHP CodeSniffer\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m PHPStan\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Rector\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m ESLint\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Stylelint\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Jest\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m PHPUnit\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Behat\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Twig CS Fixer\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m DCLint\r\r\n\u001b[90m│\u001b[0m \u001b[2m↓ 1 more\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more tools.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[25.545452, "o", "\u001b[17A\r\u001b[J\u001b[36m◆\u001b[0m Development tools (16/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mBehat, DCLint, ESLint, Hadolint, Jest, PHP CodeSniffer, PHPStan, PHPUnit,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRector, Stylelint, Twig CS Fixer\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mHosting\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Hosting provider \u001b[2m(17/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mAcquia Cloud\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mLagoon\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mOther\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m None\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select your hosting provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[26.549402, "o", "\u001b[9A\r\u001b[J\u001b[36m◆\u001b[0m Hosting provider (17/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Custom web root directory \u001b[2m(18/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mweb\u001b[0m\u001b[36m█\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom directory where the web server serves the site.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[27.553381, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Custom web root directory (18/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mweb\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mDeployment\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Deployment types \u001b[2m(19/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◻\u001b[0m Code artifact\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mLagoon webhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Custom webhook\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more deployment types.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[27.553476, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Deployment types (19/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mCustom webhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[28.55741, "o", "\u001b[90m├\u001b[0m \u001b[1mWorkflow\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Provision type \u001b[2m(20/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mProvisioning sets up the site in an environment using an already assembled\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mcodebase.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mImport from database dump\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Provisions the site by importing a database dump\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m typically copied from production into lower\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m ○ \u001b[1mInstall from profile\u001b[22m\u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m Provisions the site by installing a fresh Drupal\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m site from a profile every time an environment is\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m created.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Import from database dump\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mInstall from profile\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ "]
+[28.557416, "o", "to select the provi"]
+[28.55752, "o", "sion type.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[29.561936, "o", "\u001b[19A\r\u001b[J\u001b[36m◆\u001b[0m Provision type (20/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mImport from database dump\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Database source \u001b[2m(20.1)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m URL download\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mFTP download\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mAcquia backup\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mLagoon environment\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mContainer registry\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mS3 bucket\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the database fetch source.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
+[30.566564, "o", "\u001b[12A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Database source (20.1)\r\r\n\u001b[90m│\u001b[0m \u001b[2mURL download\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Database store \u001b[2m(20.1.1)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m None, fetch from the source\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mFTP server\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mS3 bucket\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select where developers fetch the sanitized database\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mfrom.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
+[31.572208, "o", "\u001b[9A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Database store (20.1.1)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNone, fetch from the source\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[36m◇\u001b[0m Use a second database for migrations? \u001b[2m(21/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds a second database service for Drupal migrations.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[31.572319, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Use a second database for migrations? (21/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mNotifications\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[32.575378, "o", "\u001b[36m◇\u001b[0m Notification channels \u001b[2m(22/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m Email\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mGitHub\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mJIRA\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mNew Relic\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mSlack\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m◻\u001b[0m \u001b[2mWebhook\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more notification channels.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[33.578448, "o", "\u001b[11A\r\u001b[J\u001b[36m◆\u001b[0m Notification channels (22/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mEmail\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mContinuous Integration\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Continuous Integration provider \u001b[2m(23/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m GitHub Actions\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCircleCI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the CI provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[33.578547, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Continuous Integration provider (23/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mGitHub Actions\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[34.582817, "o", "\u001b[36m◇\u001b[0m Visual regression testing with Diffy? \u001b[2m(24/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mDiffy-powered visual regression workflow to compare deployed environments.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mAutomatically triggers comparisons for dependency-update pull requests\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mmatching the configured branch pattern (`deps/*` by default).\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRuns comparisons for pull requests tagged with the `VR` label and posts a\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3msticky comment.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mAlso supports manual runs against any URL.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRequires a Diffy account.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[35.587013, "o", "\u001b[15A\r\u001b[J\u001b[36m◆\u001b[0m Visual regression testing with Diffy? (24/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Performance and SEO audits with Lighthouse? \u001b[2m(25/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mLighthouse audits of performance, accessibility, best practices and SEO for\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mthe pages you list or the pages in the sitemap.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRuns locally with `ahoy test-lighthouse` and in CI after the tests, writing\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mHTML and JSON reports for every page.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mScores can be compared with per-category budgets. The CI step is advisory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3muntil you make it blocking.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mAdds a Lighthouse container, an Ahoy command and a CI step.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[35.587116, "o", "\u001b[14A\r\u001b[J\u001b[36m◆\u001b[0m Performance and SEO audits with Lighthouse? (25/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[36.590983, "o", "\u001b[36m◇\u001b[0m Scan for committed secrets with Gitleaks? \u001b[2m(26/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRuns in CI to detect hardcoded passwords, API keys and tokens.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[37.595635, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Scan for committed secrets with Gitleaks? (26/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m├\u001b[0m \u001b[1mAutomations\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Dependency updates provider \u001b[2m(27/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m Renovate GitHub app\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mRenovate self-hosted in CI\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the dependency updates provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[38.601114, "o", "\u001b[8A\r\u001b[J\u001b[36m◆\u001b[0m Dependency updates provider (27/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mRenovate GitHub app\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[36m◇\u001b[0m Auto-merge dependency updates \u001b[2m(27.1)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mPull requests in the selected groups are merged as soon as they meet the\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mbranch protection rules. Pull requests in other groups need a manual\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mmerge.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3m\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mRequires \"Allow auto-merge\" in the repository settings and at least one\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2;3mrequired status check on the base branch.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[36m❯\u001b[0m \u001b[32m◼\u001b[0m PHP packages, except Drupal core (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Drupal core (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m JavaScript packages (minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m Container images (major, minor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m CI "]
+[38.601742, "o", "tools (major, mi"]
+[38.602869, "o", "nor and patch)\r\r\n\u001b[90m│\u001b[0m \u001b[32m◼\u001b[0m GitHub Actions (major, minor and patch)\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆, ⬇ and Space bar to select one or more groups.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n"]
+[39.606724, "o", "\u001b[17A\r\u001b[J\u001b[90m│\u001b[0m \u001b[36m◆\u001b[0m Auto-merge dependency updates (27.1)\r\r\n\u001b[90m│\u001b[0m \u001b[2mPHP packages, except Drupal core (minor and patch), Drupal core (minor and\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mpatch), JavaScript packages (minor and patch), Container images (major,\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mminor and patch), CI tools (major, minor and patch), GitHub Actions\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m(major, minor and patch)\u001b[0m\r\r\n\u001b[90m│\u001b[0m \r\r\n\u001b[36m◇\u001b[0m Code coverage provider \u001b[2m(28/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mCodecov\u001b[0m\r\r\n\u001b[90m│\u001b[0m\u001b[36m❯\u001b[0m \u001b[32m●\u001b[0m None\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mUse ⬆ and ⬇ to select the code coverage provider.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[39.607693, "o", "\u001b[7A\r\u001b[J\u001b[36m◆\u001b[0m Code coverage provider (28/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNone\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Auto-assign the author to their PR? \u001b[2m(29/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to keep the PRs organized.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[40.614951, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Auto-assign the author to their PR? (29/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[36m◇\u001b[0m Auto-add a CONFLICT label to a PR when conflicts occur? \u001b[2m(30/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to keep quickly identify PRs that need attention.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[41.620282, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Auto-add a CONFLICT label to a PR when conflicts occur? (30/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[41.620319, "o", "\u001b[90m├\u001b[0m \u001b[1mDocumentation\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[41.620395, "o", "\u001b[36m◇\u001b[0m Preserve project documentation? \u001b[2m(31/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mHelps to maintain the project documentation within the repository.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[42.624663, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Preserve project documentation? (31/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[42.624729, "o", "\u001b[90m├\u001b[0m \u001b[1mAI\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[42.624841, "o", "\u001b[36m◇\u001b[0m Provide AI agent instructions? \u001b[2m(32/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mProvides AI coding agents with better context about the project.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[43.630387, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Provide AI agent instructions? (32/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[43.630511, "o", "\u001b[36m◇\u001b[0m Configure AI code review with CodeRabbit? \u001b[2m(33/33)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mRequires the CodeRabbit app on the repository.\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[44.633811, "o", "\u001b[6A\r\u001b[J\u001b[36m◆\u001b[0m Configure AI code review with CodeRabbit? (33/33)\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[44.64247, "o", "\u001b[?25h"]
+[44.643738, "o", "\u001b[34m●\u001b[0m \u001b[34mInstallation summary\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[44.647212, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mGeneral information\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Site name \u001b[90m│\u001b[0m Star Wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Site machine name \u001b[90m│\u001b[0m star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Organization name \u001b[90m│\u001b[0m Rebellion \u001b[90m│\u001b[0m\r\r\n\u001b[90m"]
+[44.647268, "o", "│\u001b[0"]
+[44.647321, "o", "m \u001b[90m│\u001b[0m Organization machine name \u001b[90m│\u001b[0m rebellion \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Public domain \u001b[90m│\u001b[0m star-wars.com \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDrupal\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Starter \u001b[90m│\u001b[0m load_demodb \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b["]
+[44.647364, "o", "90m│"]
+[44.647432, "o", "\u001b[0m Modules \u001b[90m│\u001b[0m coffee, config_split, config_update, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m devel, diff, drupal_helpers, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m entity_usage, environment_indicator, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m fast_404, field_group, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m generated_content, gin, linkit, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m menu_trail_by_path, metatag, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m navigation_extra_tools, pathauto, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m redirect, reroute_email, robotstxt, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m "]
+[44.647455, "o", " "]
+[44.647536, "o", " \u001b[90m│\u001b[0m scheduled_transitions, schema_metatag, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m sdc_devel, seckit, shield, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m stage_file_proxy, testmode, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m views_bulk_operations, xmlsitemap \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Webroot \u001b[90m│\u001b[0m web \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Profile \u001b[90m│\u001b[0m standard \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Module prefix \u001b[90m│\u001b[0m sw \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Custom modules \u001b[90m│\u001b[0m base, search, demo \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Theme machine name "]
+[44.647557, "o", " "]
+[44.647648, "o", " \u001b[90m│\u001b[0m star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Build front-end in container \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Storybook component library \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mCode repository\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Code provider "]
+[44.647654, "o", " \u001b[90m"]
+[44.647758, "o", "│\u001b[0m github \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Version scheme \u001b[90m│\u001b[0m calver \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mEnvironment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Timezone \u001b[90m│\u001b[0m UTC \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Services \u001b[90m│\u001b["]
+[44.647784, "o", "0m cla"]
+[44.647867, "o", "mav, redis, solr \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Tools \u001b[90m│\u001b[0m behat, dclint, eslint, hadolint, jest, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m phpcs, phpstan, phpunit, rector, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m stylelint, twig_cs_fixer \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mHosting\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────"]
+[44.647893, "o", "──"]
+[44.648018, "o", "──────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Hosting provider \u001b[90m│\u001b[0m none \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDeployment\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Deployment types \u001b[90m│\u001b[0m webhook \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├───────────────────────"]
+[44.648044, "o", "──"]
+[44.648135, "o", "─────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mWorkflow\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Provision type \u001b[90m│\u001b[0m database \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Database source \u001b[90m│\u001b[0m url \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Database store \u001b[90m│\u001b[0m none \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Migration database \u001b[90m│\u001b[0m No "]
+[44.648141, "o", " "]
+[44.648264, "o", " \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mNotifications\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Channels \u001b[90m│\u001b[0m email \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴──────────────────────────────────────"]
+[44.648291, "o", "─"]
+[44.648372, "o", "─┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mContinuous Integration\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m CI provider \u001b[90m│\u001b[0m gha \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Visual regression testing \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Lighthouse audits \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Secret scanning with Gitleaks \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├─────────────────────────────────"]
+[44.648416, "o", "─┴─"]
+[44.6485, "o", "───────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mAutomations\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Dependency updates provider \u001b[90m│\u001b[0m renovatebot_app \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Auto-merge dependency updates \u001b[90m│\u001b[0m php, drupal_core, js, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m container_images, ci_tools, \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m github_actions \u001b[90m│\u001b[0m\r\r\n\u001b[90m│"]
+[44.648506, "o", "\u001b[0m \u001b["]
+[44.648626, "o", "90m│\u001b[0m Code coverage provider \u001b[90m│\u001b[0m none \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Auto-assign PR author \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Auto-add a CONFLICT label to PRs \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mDocumentation\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m"]
+[44.648636, "o", "│\u001b[0m "]
+[44.64872, "o", "Preserve project documentation \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mAI\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m AI agent instructions \u001b[90m│\u001b[0m Yes \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m AI code review \u001b[90m│\u001b[0m No \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├───"]
+[44.648735, "o", "──"]
+[44.648823, "o", "─────────────────────────────┴────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mLocations\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m├──────────────────────────────────┬────────────────────────────────────────┤\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Current directory \u001b[90m│\u001b[0m /home/user/vortex/.artifa \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m cts/tmp/videos-workspace \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Destination directory \u001b[90m│\u001b[0m /home/user/vortex/.artifa \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m "]
+[44.648858, "o", " "]
+[44.648945, "o", " \u001b[90m│\u001b[0m cts/tmp/videos-workspace/star_wars \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Vortex repository \u001b[90m│\u001b[0m /home/user/vortex \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Vortex reference \u001b[90m│\u001b[0m HEAD \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└──────────────────────────────────┴────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[44.652366, "o", " Vortex will be installed into your project's directory \"/home/user/demo/star_wars\"\r\r\n"]
+[44.667097, "o", "\u001b[?25l"]
+[44.667175, "o", "\u001b[36m◇\u001b[0m Proceed with installing Vortex?\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m●\u001b[0m Yes \u001b[2m/\u001b[0m \u001b[2m○\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[46.671218, "o", "\u001b[4A\r\u001b[J\u001b[36m◆\u001b[0m Proceed with installing Vortex?\r\r\n\u001b[90m│\u001b[0m \u001b[2mYes\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[46.679072, "o", "\u001b[?25h\u001b[34m●\u001b[0m \u001b[34mStarting project installation\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[46.679166, "o", "\u001b[36m◇\u001b[0m Downloading Vortex\r\r\n"]
+[46.872093, "o", "\u001b[90m│\u001b[0m \u001b[2mDownloading from \"/home/user/vortex\" repository at ref \"HEAD\"\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Vortex downloaded (develop)\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[46.872182, "o", "\u001b[36m◇\u001b[0m Customizing Vortex for your project\r\r\n"]
+[47.863451, "o", "\u001b[90m│\u001b[0m \u001b[32m✓ Vortex was customized for your project\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[47.863513, "o", "\u001b[36m◇\u001b[0m Preparing destination directory\r\r\n"]
+[47.877398, "o", "\u001b[90m│\u001b[0m \u001b[2mCreated directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mInitializing a new Git repository in directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Destination directory is ready\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[47.877523, "o", "\u001b[36m◇\u001b[0m Copying files to the destination directory\r\r\n"]
+[48.054067, "o", "\u001b[90m│\u001b[0m \u001b[32m✓ Files copied to destination directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[48.054153, "o", "\u001b[36m◇\u001b[0m Preparing demo content\r\r\n"]
+[48.746067, "o", "\u001b[90m│\u001b[0m \u001b[2mCreated data directory\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars/.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdata\".\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo database dump file was found in\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m\"/home/user/demo/star_wars/.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mdata\" directory.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mFetched demo database from\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mhttps://github.com/drevops/vortex/releases/download/1.40.0/db.demo.sql.\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[32m✓ Demo content prepared\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[48.747772, "o", "\u001b[90m│\u001b[0m \u001b[90m┌────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mFinished installing Vortex\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m──────────────────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Add and commit all files: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m git add -A \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m git commit -m \"Initial commit.\" \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Files: 402 added \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Status and diff of every file are recorded in: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m .logs/vortex-install-2026-11-16-090813"]
+[48.747781, "o", ".md \u001b["]
+[48.747922, "o", "90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[48.764024, "o", "\u001b[?25l"]
+[48.76421, "o", "\u001b[36m◇\u001b[0m Run the site build now?\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2m○\u001b[0m \u001b[2mYes\u001b[0m \u001b[2m/\u001b[0m \u001b[32m●\u001b[0m No\r\r\n\u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mTakes ~5-10 min; output will be streamed. You can skip and run later with:\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[2mahoy build\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[50.768891, "o", "\u001b[7A\r\u001b[J\u001b[36m◆\u001b[0m Run the site build now?\r\r\n\u001b[90m│\u001b[0m \u001b[2mNo\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[50.777504, "o", "\u001b[?25h"]
+[50.778, "o", "\u001b[90m│\u001b[0m \u001b[90m┌───────────────────────────────────────────────────────────────────────────┐\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[1mReady to build\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m──────────────\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Build the site: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m ahoy build \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m Setup GitHub Actions: \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m"]
+[50.778014, "o", " "]
+[50.778103, "o", " \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m https://www.vortextemplate.com/docs/continuous-integration/github-actio \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m ns#onboarding \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m│\u001b[0m \u001b[90m│\u001b[0m\r\r\n\u001b[90m│\u001b[0m \u001b[90m└───────────────────────────────────────────────────────────────────────────┘\u001b[0m\r\r\n\u001b[90m│\u001b[0m\r\r\n"]
+[50.788272, "x", "0"]
diff --git a/.vortex/docs/static/img/installer.svg b/.vortex/docs/static/img/installer.svg
index fc88e3393a..56e6d49256 100644
--- a/.vortex/docs/static/img/installer.svg
+++ b/.vortex/docs/static/img/installer.svg
@@ -1 +1 @@
-
\ No newline at end of file
+──────────────────────────────────────────────────────────────────────────────██╗██╗██████╗██████╗████████╗███████╗██╗██╗██║██║██╔═══██╗██╔══██╗╚══██╔══╝██╔════╝╚██╗██╔╝██║██║██║██║██████╔╝██║█████╗╚███╔╝╚██╗██╔╝██║██║██╔══██╗██║██╔══╝██╔██╗╚████╔╝╚██████╔╝██║██║██║███████╗██╔╝██╗╚═══╝╚═════╝╚═╝╚═╝╚═╝╚══════╝╚═╝╚═╝DrupalprojecttemplatebyDrevOpsInstallerversion:development│┌───────────────────────────────────────────────────────────────────────────┐││WelcometotheVortexinteractiveinstaller│││───────────────────────────────────────────│││Thistoolwillguideyouthroughinstallingthelatestdevelopment│││versionofVortexintoyourproject.││││││Youwillbeaskedafewquestionstotailortheconfigurationtoyour│││site.│││Nochangeswillbemadeuntilyouconfirmeverythingattheend.│││PressCtrl+Catanytimetoexittheinstaller.│││PressCtrl+Uatanytimetogobacktothepreviousstep.││└───────────────────────────────────────────────────────────────────────────┘│◇Validatingrepositoryandreference│Checkingrepository"/home/user/vortex"andreference"HEAD"│✓Repositoryandreferencevalidatedsuccessfully┌Generalinformation◇Sitename(1/33)│Wewillusethisnameintheprojectanddocumentation.│star█│E.g.MySite█│We│StarWar█◆Sitename(1/33)│StarWars◆Sitemachinename(2/33)│star_wars◇Organizationname(3/33)◇O│E.g.MyOrg█│E.g.MyO│Rebe█│Rebellion█◆Organizationname(3/33)│Rebellion◆Organizationmachinename(4/33)│rebellion◆Publicdomain(5/33)│star-wars.com├Drupal◇Howwouldyoulikeyoursitetobecreatedonthefirstrun?(6/33)│Choosehowyoursitewillbecreatedthefirsttimeafterthisinstaller│finishes:│○Drupal,installedfromprofile│Createsanewsitebypopulatingafreshdatabase│fromoneofthestandardDrupalinstallationprofiles.│○DrupalCMS,installedfromprofile│fromtheDrupalCMSrecipe.│○Drupal,loadedfromthedemodatabase│Createsasitebyloadinganexistingdemodatabase│providedwiththeinstaller.│○Drupal,installedfromprofile│○DrupalCMS,installedfromprofile│❯●Drupal,loadedfromthedemodatabase◆Howwouldyoulikeyoursitetobecreatedonthefirstrun?(6/33)│Drupal,loadedfromthedemodatabase◆Profile(7/33)│Standard◇Modules(8/33)│❯◼Coffee│◼Configsplit│◼Configupdate│◼Devel│◼Diff│◼Drupalhelpers◆Modules(8/33)│Coffee,Configsplit,Configupdate,Devel,Diff,Drupalhelpers,Entity│usage,Environmentindicator,Fast404,Fieldgroup,Generatedcontent,Gin│admintheme,Linkit,Menutrailbypath,Metatag,Navigationextratools,│Pathauto,Redirect,Rerouteemail,Robots.txt,Scheduledtransitions,│Schema.orgMetatag,SDCDevel,Seckit,Shield,Stagefileproxy,Testmode,│Viewsbulkoperations,XMLSitemap◆Custommodulesprefix(9/33)│sw◇Custommodules(10/33)│Selectwhichcustommodulestoincludeinyourproject:│○Base│Startermodulewithdeployhooksandtestscaffoldingfor│Unit,Kernel,Functional,andFunctionalJavascripttests.│○Search│CustomSolrsearchintegrationmodule.RequirestheSolr│servicetobeselected.│○Demo│DemonstrateshowVortextoolingworks:includesacounter│blockwithCSS/JS,PHPUnitexampletestsacrossalltest│types,andaBehatfeature.Safetoremoveonrealprojects.│❯◼Base-startermodulewithutilitiesandtestscaffolding│◼Search-customSolrsearchintegration◆Custommodules(10/33)│Base-startermodulewithutilitiesandtestscaffolding,Search-custom│Solrsearchintegration,Demo-counterblockandexampleteststo│demonstratetooling◆Theme(11/33)│Custom(nextprompt)│││◇Customthememachinename(11.1)│◆Customthememachinename(11.1)││star_wars│◆Buildfront-endassetsinthecontainer?(11.2)││Yes│◇Storybookcomponentlibrary?(11.3)│Componentlibraryforthecustomtheme,renderedbyDrupalitself.│StoriesareauthoredinTwignexttoeachcomponent,sothelibraryshows│thesamemarkupthesiterenders.│◆Storybookcomponentlibrary?(11.3)│No├Coderepository◆Repositoryprovider(12/33)│GitHub◇Releaseversioningscheme(13/33)│Chooseyourversioningscheme:│○CalendarVersioning(CalVer)│year.month.patch(E.g.,24.1.0)│https://calver.org│○Other◆Releaseversioningscheme(13/33)│CalendarVersioning(CalVer)├Environment│UTC◆Timezone(14/33)◆Services(15/33)│ClamAV,Redis,Solr◆Developmenttools(16/33)│Behat,DCLint,ESLint,Hadolint,Jest,PHPCodeSniffer,PHPStan,PHPUnit,│Rector,Stylelint,TwigCSFixer├Hosting│❯●None◆Hostingprovider(17/33)│None◆Customwebrootdirectory(18/33)│web├Deployment◆Deploymenttypes(19/33)│Customwebhook├Workflow◇Provisiontype(20/33)│Provisioningsetsupthesiteinanenvironmentusinganalreadyassembled│codebase.│○Importfromdatabasedump│Provisionsthesitebyimportingadatabasedump│typicallycopiedfromproductionintolower│environments.│○Installfromprofile│ProvisionsthesitebyinstallingafreshDrupal│sitefromaprofileeverytimeanenvironmentis│created.│❯●Importfromdatabasedump│○Installfromprofile◆Provisiontype(20/33)│Importfromdatabasedump│◆Databasesource(20.1)│URLdownload│││◆Databasestore(20.1.1)│None,fetchfromthesource│○Yes/●No◆Useaseconddatabaseformigrations?(21/33)│No├Notifications◆Notificationchannels(22/33)│Email├ContinuousIntegration│○None◆ContinuousIntegrationprovider(23/33)│GitHubActions◆VisualregressiontestingwithDiffy?(24/33)◆PerformanceandSEOauditswithLighthouse?(25/33)│●Yes/○No◆ScanforcommittedsecretswithGitleaks?(26/33)│Yes├Automations◆Dependencyupdatesprovider(27/33)│RenovateGitHubapp│◇Auto-mergedependencyupdates(27.1)│Pullrequestsintheselectedgroupsaremergedassoonastheymeetthe│branchprotectionrules.Pullrequestsinothergroupsneedamanual│merge.│Requires"Allowauto-merge"intherepositorysettingsandatleastone│requiredstatuscheckonthebasebranch.│❯◼PHPpackages,exceptDrupalcore(minorandpatch)│◼Drupalcore(minorandpatch)│◼JavaScriptpackages(minorandpatch)│◼Containerimages(major,minorandpatch)│◆Auto-mergedependencyupdates(27.1)│PHPpackages,exceptDrupalcore(minorandpatch),Drupalcore(minorand│patch),JavaScriptpackages(minorandpatch),Containerimages(major,│minorandpatch),CItools(major,minorandpatch),GitHubActions│(major,minorandpatch)◆Codecoverageprovider(28/33)◆Auto-assigntheauthortotheirPR?(29/33)◆Auto-addaCONFLICTlabeltoaPRwhenconflictsoccur?(30/33)├Documentation◆Preserveprojectdocumentation?(31/33)├AI◆ProvideAIagentinstructions?(32/33)◆ConfigureAIcodereviewwithCodeRabbit?(33/33)●Installationsummary││Generalinformation││├──────────────────────────────────┬────────────────────────────────────────┤││Sitename│StarWars│││Sitemachinename│star_wars│││Organizationname│Rebellion│││Organizationmachinename│rebellion│││Publicdomain│star-wars.com││├──────────────────────────────────┴────────────────────────────────────────┤││Drupal│││Starter│load_demodb│││Modules│coffee,config_split,config_update,││││devel,diff,drupal_helpers,││││entity_usage,environment_indicator,││││fast_404,field_group,││││generated_content,gin,linkit,││││menu_trail_by_path,metatag,││││navigation_extra_tools,pathauto,││││redirect,reroute_email,robotstxt,││││scheduled_transitions,schema_metatag,││││sdc_devel,seckit,shield,││││stage_file_proxy,testmode,││││views_bulk_operations,xmlsitemap│││Webroot│web│││Profile│standard│││Moduleprefix│sw│││Custommodules│base,search,demo│││Thememachinename││Thememachinename│star_wars│││Buildfront-endincontainer│Yes│││Storybookcomponentlibrary│No│││Coderepository│││Codeprovider││Codeprovider│github│││Versionscheme│calver│││Environment│││Timezone│UTC│││Services│clamav,redis,solr│││Tools│behat,dclint,eslint,hadolint,jest,││││phpcs,phpstan,phpunit,rector,││││stylelint,twig_cs_fixer│││Hosting│││Hostingprovider│none│││Deployment│││Deploymenttypes│webhook│││Workflow│││Provisiontype│database│││Databasesource│url│││Databasestore│none│││Migrationdatabase│No││Migrationdatabase│No│││Notifications│││Channels│email│││ContinuousIntegration│││CIprovider│gha│││Visualregressiontesting│No│││Lighthouseaudits│No│││SecretscanningwithGitleaks│Yes│││Automations│││Dependencyupdatesprovider│renovatebot_app│││Auto-mergedependencyupdates│php,drupal_core,js,││││container_images,ci_tools,││││github_actions│││Codecoverageprovider│none│││Auto-assignPRauthor│Yes│││Auto-addaCONFLICTlabeltoPRs│Yes│││Documentation│││Preserveprojectdocumentation│Yes│││AI│││AIagentinstructions│Yes│││AIcodereview│No│││Locations│││Currentdirectory│/home/user/vortex/.artifa││││cts/tmp/videos-workspace│││Destinationdirectory│/home/user/vortex/.artifa││││cts/tmp/videos-workspace/star_wars│││Vortexrepository│/home/user/vortex│││Vortexreference│HEAD││└──────────────────────────────────┴────────────────────────────────────────┘Vortexwillbeinstalledintoyourproject'sdirectory"/home/user/demo/star_wars"◆ProceedwithinstallingVortex?●Startingprojectinstallation◇DownloadingVortex│Downloadingfrom"/home/user/vortex"repositoryatref"HEAD"│✓Vortexdownloaded(develop)◇CustomizingVortexforyourproject│✓Vortexwascustomizedforyourproject◇Preparingdestinationdirectory│Createddirectory│"/home/user/demo/star_wars".│InitializinganewGitrepositoryindirectory│✓Destinationdirectoryisready◇Copyingfilestothedestinationdirectory│✓Filescopiedtodestinationdirectory◇Preparingdemocontent│Createddatadirectory│"/home/user/demo/star_wars/.│data".│Nodatabasedumpfilewasfoundin│data"directory.│Fetcheddemodatabasefrom│https://github.com/drevops/vortex/releases/download/1.40.0/db.demo.sql.│✓Democontentprepared│┌────────────────────────────────────────────────┐││FinishedinstallingVortex│││──────────────────────────│││Addandcommitallfiles:│││gitadd-A│││gitcommit-m"Initialcommit."││││││Files:402added│││Statusanddiffofeveryfilearerecordedin:│││.logs/vortex-install-2026-11-16-090813.md││└────────────────────────────────────────────────┘◆Runthesitebuildnow?││Readytobuild│││──────────────│││Buildthesite:│││ahoybuild│││SetupGitHubActions:│╚████╔╝╚██████╔╝██║██║██║╚████╔╝╚██████╔╝██║██║██║█││Youwillbeaskedafewquestionstotailorthec││Youwillbeaskedafewquestionstotailortheconfigu◇Pressanykeytocontinue...│starwars█│Wewilluse│Wewillusethisnameintheprojectan│Wewillu│S█│St█│Sta█│Star█│Star█│StarW█│StarWa█│StarWars█◇Sitemachinename(2/33)│star_wars█│Wewillusethisnamefortheprojectdirectoryandinthecode.│StarWarsOrg█│StarWar│Wewillusethisnamei│Wewillusethisnameintheprojectanddocumentat│E.g.MyOrg│Wewillusethisnameinthepr│○│Us│◼Entityu│◼Entityusage│◼Environmentindicator│◼Fast404│◼Fieldgroup│↓19more│Use⬆,⬇andSpacebartoselectoneormoremodules.│◼Demo││star_wars█││Wewillusethisnameasacustomthemename│thesamemarkupthesite│Adevelopmentserverrunsondemandwith`ahoystorybook`.Astaticbuild│isproducedduringprovisioningandservedat`/storybook`inlocal,CI│anddevelopmentenvironments.│○Yes/●No│AddsStorybookpackagestothethemeandasteptoprovisioning.│○SemanticVersioning(SemVer)│major.minor.patch(E.g.,1.0.0)│https://semver.org│○Other│Customversioningschemeofyourchoice.│❯●CalendarVersioning(CalVer)│○SemanticVersioning(SemVer)│Use⬆and⬇toselectyourversionscheme.◇Timezone(14/33)│UTC█│Etc/UTC│Use⬆and⬇,orstarttypingtoselectthetimezoneforyourproject.◇Services(15/33)│❯◼ClamAV│◼Solr│◼Redis│Use⬆,⬇andSpacebartoselectoneormoreservices.◇Developmenttools(16/33)│❯◼PHPCodeSniffer│◼PHPStan│◼Rector│◼ESLint│◼Stylelint│◼Jest│◼PHPUnit│◼Behat│◼TwigCSFixer│◼DCLint│↓1more│Use⬆,⬇andSpacebartoselectoneormoretools.◇Hostingprovider(17/33)│○AcquiaCloud│○Lagoon│Use⬆,⬇andSpacebartoselectyourhostingprovider.◇Customwebrootdirectory(18/33)│web█│Customdirectorywherethewebserverservesthesite.◇Deploymenttypes(19/33)│❯◻Codeartifact│◻Lagoonwebhook│◼Customwebhook│Use⬆,⬇andSpacebartoselectoneormoredeploymenttypes.│Use⬆and⬇│Use⬆and⬇toselecttheprovi│Use⬆and⬇toselecttheprovisiontype.│◇Databasesource(20.1)│❯●URLdownload│○FTPdownload│○Acquiabackup│○Lagoonenvironment│○Containerregistry│○S3bucket│○None│Use⬆and⬇toselectthedatabasefetchsource.│◇Databasestore(20.1.1)│❯●None,fetchfromthesource│○FTPserver│○S3bucket│Use⬆and⬇toselectwheredevelopersfetchthesanitizeddatabase│from.◇Useaseconddatabaseformigrations?(21/33)│AddsaseconddatabaseserviceforDrupalmigrations.◇Notificationchannels(22/33)│❯◼Email│◻GitHub│◻JIRA│◻NewRelic│◻Slack│◻Webhook│Use⬆,⬇andSpacebartoselectoneormorenotificationchannels.◇ContinuousIntegrationprovider(23/33)│❯●GitHubActions│○CircleCI│Use⬆and⬇toselecttheCIprovider.◇VisualregressiontestingwithDiffy?(24/33)│Diffy-poweredvisualregressionworkflowtocomparedeployedenvironments.│Automaticallytriggerscomparisonsfordependency-updatepullrequests│matchingtheconfiguredbranchpattern(`deps/*`bydefault).│Runscomparisonsforpullrequeststaggedwiththe`VR`labelandpostsa│stickycomment.│AlsosupportsmanualrunsagainstanyURL.│RequiresaDiffyaccount.◇PerformanceandSEOauditswithLighthouse?(25/33)│Lighthouseauditsofperformance,accessibility,bestpracticesandSEOfor│thepagesyoulistorthepagesinthesitemap.│Runslocallywith`ahoytest-lighthouse`andinCIafterthetests,writing│HTMLandJSONreportsforeverypage.│Scorescanbecomparedwithper-categorybudgets.TheCIstepisadvisory│untilyoumakeitblocking.│AddsaLighthousecontainer,anAhoycommandandaCIstep.◇ScanforcommittedsecretswithGitleaks?(26/33)│RunsinCItodetecthardcodedpasswords,APIkeysandtokens.◇Dependencyupdatesprovider(27/33)│❯●RenovateGitHubapp│○Renovateself-hostedinCI│Use⬆and⬇toselectthedependencyupdatesprovider.│◼CI│◼CItools(major,mi│◼CItools(major,minorandpatch)│◼GitHubActions(major,minorandpatch)│Use⬆,⬇andSpacebartoselectoneormoregroups.◇Codecoverageprovider(28/33)│○Codecov│Use⬆and⬇toselectthecodecoverageprovider.◇Auto-assigntheauthortotheirPR?(29/33)│HelpstokeepthePRsorganized.◇Auto-addaCONFLICTlabeltoaPRwhenconflictsoccur?(30/33)│HelpstokeepquicklyidentifyPRsthatneedattention.◇Preserveprojectdocumentation?(31/33)│Helpstomaintaintheprojectdocumentationwithintherepository.◇ProvideAIagentinstructions?(32/33)│ProvidesAIcodingagentswithbettercontextabouttheproject.◇ConfigureAIcodereviewwithCodeRabbit?(33/33)│RequirestheCodeRabbitappontherepository.││Services│││Services│cla│├──────────────────────────────────┬────────────────────────────│├──────────────────────────────────┬──────────────────────────────│├───────────────────────│├─────────────────────────│├──────────────────────────────────┴──────────────────────────────────────│├──────────────────────────────────┴───────────────────────────────────────│├─────────────────────────────────│├──────────────────────────────────┴─│├───│├─────◇ProceedwithinstallingVortex?││.logs/vortex-install-2026-11-16-090813││.logs/vortex-install-2026-11-16-090813.md◇Runthesitebuildnow?│Takes~5-10min;outputwillbestreamed.Youcanskipandrunlaterwith:│ahoybuild││https://www.vortextemplate.com/docs/continuous-integration/github-actio│││ns#onboarding│
\ No newline at end of file
diff --git a/.vortex/installer/src/Prompts/Handlers/DatabaseFetchSource.php b/.vortex/installer/src/Prompts/Handlers/DatabaseFetchSource.php
index 868e643278..d463e6fcb4 100644
--- a/.vortex/installer/src/Prompts/Handlers/DatabaseFetchSource.php
+++ b/.vortex/installer/src/Prompts/Handlers/DatabaseFetchSource.php
@@ -134,9 +134,12 @@ public function process(): void {
self::S3,
];
+ // The store reads the connection settings of the source type it names.
+ $store = in_array($v, DatabaseFetchStore::SOURCES, TRUE) ? ($this->responses[DatabaseFetchStore::id()] ?? NULL) : NULL;
+
foreach ($types as $type) {
$token = 'DB_FETCH_SOURCE_' . strtoupper($type);
- if ($v === $type) {
+ if ($v === $type || $store === $type) {
File::removeTokenAsync('!' . $token);
}
else {
diff --git a/.vortex/installer/src/Prompts/Handlers/DatabaseFetchStore.php b/.vortex/installer/src/Prompts/Handlers/DatabaseFetchStore.php
new file mode 100644
index 0000000000..a95a0295f6
--- /dev/null
+++ b/.vortex/installer/src/Prompts/Handlers/DatabaseFetchStore.php
@@ -0,0 +1,109 @@
+ 'None, fetch from the source',
+ self::FTP => 'FTP server',
+ self::S3 => 'S3 bucket',
+ ];
+
+ // The nightly job fetches from the source and pushes to the store, so
+ // the 2 must differ.
+ if (isset($responses[DatabaseFetchSource::id()]) && is_string($responses[DatabaseFetchSource::id()])) {
+ unset($options[$responses[DatabaseFetchSource::id()]]);
+ }
+
+ return $options;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function dependsOn(): ?array {
+ return [DatabaseFetchSource::id() => self::SOURCES];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function shouldRun(array $responses): bool {
+ return isset($responses[DatabaseFetchSource::id()]) && in_array($responses[DatabaseFetchSource::id()], self::SOURCES, TRUE);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function default(array $responses): null|string|bool|array {
+ return self::NONE;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function discover(): null|string|bool|array {
+ $value = Env::getFromDotenv('VORTEX_FETCH_DB_STORE', $this->destinationDir);
+
+ return in_array($value, [self::FTP, self::S3], TRUE) ? $value : NULL;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function process(): void {
+ $t = $this->tmpDir;
+
+ $v = $this->shouldRun($this->responses) && in_array($this->response, [self::FTP, self::S3], TRUE) && $this->response !== $this->responses[DatabaseFetchSource::id()] ? $this->getResponseAsString() : '';
+
+ Env::writeValueDotenv('VORTEX_FETCH_DB_STORE', $v, $t . '/.env');
+ }
+
+}
diff --git a/.vortex/installer/src/Prompts/Handlers/MigrationFetchSource.php b/.vortex/installer/src/Prompts/Handlers/MigrationFetchSource.php
index fa9f490391..6cba48dffe 100644
--- a/.vortex/installer/src/Prompts/Handlers/MigrationFetchSource.php
+++ b/.vortex/installer/src/Prompts/Handlers/MigrationFetchSource.php
@@ -135,9 +135,12 @@ public function process(): void {
self::S3,
];
+ // The store reads the connection settings of the source type it names.
+ $store = in_array($v, MigrationFetchStore::SOURCES, TRUE) ? ($this->responses[MigrationFetchStore::id()] ?? NULL) : NULL;
+
foreach ($types as $type) {
$token = 'MIGRATION_DB_FETCH_SOURCE_' . strtoupper($type);
- if ($v === $type) {
+ if ($v === $type || $store === $type) {
File::removeTokenAsync('!' . $token);
}
else {
diff --git a/.vortex/installer/src/Prompts/Handlers/MigrationFetchStore.php b/.vortex/installer/src/Prompts/Handlers/MigrationFetchStore.php
new file mode 100644
index 0000000000..c331ba0704
--- /dev/null
+++ b/.vortex/installer/src/Prompts/Handlers/MigrationFetchStore.php
@@ -0,0 +1,109 @@
+ 'None, fetch from the source',
+ self::FTP => 'FTP server',
+ self::S3 => 'S3 bucket',
+ ];
+
+ // The nightly job fetches from the source and pushes to the store, so
+ // the 2 must differ.
+ if (isset($responses[MigrationFetchSource::id()]) && is_string($responses[MigrationFetchSource::id()])) {
+ unset($options[$responses[MigrationFetchSource::id()]]);
+ }
+
+ return $options;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function dependsOn(): ?array {
+ return [MigrationFetchSource::id() => self::SOURCES];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function shouldRun(array $responses): bool {
+ return isset($responses[Migration::id()]) && $responses[Migration::id()] === TRUE && isset($responses[MigrationFetchSource::id()]) && in_array($responses[MigrationFetchSource::id()], self::SOURCES, TRUE);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function default(array $responses): null|string|bool|array {
+ return self::NONE;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function discover(): null|string|bool|array {
+ $value = Env::getFromDotenv('VORTEX_FETCH_DB2_STORE', $this->destinationDir);
+
+ return in_array($value, [self::FTP, self::S3], TRUE) ? $value : NULL;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function process(): void {
+ $t = $this->tmpDir;
+
+ $v = $this->shouldRun($this->responses) && in_array($this->response, [self::FTP, self::S3], TRUE) && $this->response !== $this->responses[MigrationFetchSource::id()] ? $this->getResponseAsString() : '';
+
+ Env::writeValueDotenv('VORTEX_FETCH_DB2_STORE', $v, $t . '/.env');
+ }
+
+}
diff --git a/.vortex/installer/src/Prompts/PromptManager.php b/.vortex/installer/src/Prompts/PromptManager.php
index fbac3d60c1..2bbcc230a0 100644
--- a/.vortex/installer/src/Prompts/PromptManager.php
+++ b/.vortex/installer/src/Prompts/PromptManager.php
@@ -14,6 +14,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\CodeProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\CustomModules;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesAutomerge;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesProvider;
@@ -29,6 +30,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\MachineName;
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationImage;
use DrevOps\VortexInstaller\Prompts\Handlers\ModulePrefix;
use DrevOps\VortexInstaller\Prompts\Handlers\Modules;
@@ -157,6 +159,7 @@ public function runPrompts(): bool {
->add($h[DatabaseFetchSource::id()])
->children()
->add($h[DatabaseImage::id()])
+ ->add($h[DatabaseFetchStore::id()])
->end()
->end()
->add($h[Migration::id()])
@@ -164,6 +167,7 @@ public function runPrompts(): bool {
->add($h[MigrationFetchSource::id()])
->children()
->add($h[MigrationImage::id()])
+ ->add($h[MigrationFetchStore::id()])
->end()
->end()
->section('Notifications')
@@ -255,6 +259,7 @@ protected function normalizeResponses(array $responses): array {
if (isset($responses[ProvisionType::id()]) && $responses[ProvisionType::id()] === ProvisionType::PROFILE) {
$responses[DatabaseFetchSource::id()] = DatabaseFetchSource::NONE;
+ $responses[DatabaseFetchStore::id()] = NULL;
}
// Handle Starter when the installer is running in update mode.
@@ -414,6 +419,10 @@ public function getResponsesSummary(): array {
if ($responses[DatabaseFetchSource::id()] === DatabaseFetchSource::CONTAINER_REGISTRY) {
$values['Database container image'] = $responses[DatabaseImage::id()];
}
+
+ if (isset($responses[DatabaseFetchStore::id()])) {
+ $values['Database store'] = $responses[DatabaseFetchStore::id()];
+ }
}
if (isset($responses[Migration::id()])) {
@@ -424,6 +433,10 @@ public function getResponsesSummary(): array {
if ($responses[MigrationFetchSource::id()] === MigrationFetchSource::CONTAINER_REGISTRY && isset($responses[MigrationImage::id()])) {
$values['Migration database container image'] = $responses[MigrationImage::id()];
}
+
+ if (isset($responses[MigrationFetchStore::id()])) {
+ $values['Migration database store'] = $responses[MigrationFetchStore::id()];
+ }
}
}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.env b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.env
index fe35eea839..ee6b52c272 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.env
@@ -187,6 +187,24 @@ VORTEX_FETCH_DB_SOURCE=url
# HTTP Basic Authentication credentials should be embedded into the value.
VORTEX_FETCH_DB_URL=
+# Database store of the sanitized database dump file: ftp or s3.
+#
+# When set, the database is fetched from the store instead of the source. The
+# nightly CI job fetches from the source, sanitizes the database and pushes
+# the dump to the store. The store reads the FTP or S3 variables above. Leave
+# empty to fetch from the source.
+VORTEX_FETCH_DB_STORE=
+
+# Destinations the nightly CI job pushes the sanitized database dump to
+# besides the database store: ftp, s3 or both, such as "ftp,s3". Each
+# destination reads its own variables, such as VORTEX_PUSH_DB_FTP_HOST for ftp.
+# The database is always fetched from 1 place.
+# VORTEX_PUSH_DB_DESTINATIONS=ftp,s3
+
+# Also push a copy of each dump named with the time of the push, such as
+# db_20261111-180000.sql, to keep a history of the pushed dumps.
+# VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
# Environment to fetch the database from.
#
# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/build-test-deploy.yml
index b7059b0f25..e3e1640f53 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/_baseline/.github/workflows/build-test-deploy.yml
@@ -52,6 +52,11 @@ on:
description: 'Enable terminal session for CI jobs'
required: false
default: false
+ refresh_db:
+ type: boolean
+ description: 'Refresh the database only'
+ required: false
+ default: false
schedule:
- cron: '0 18 * * *'
@@ -72,7 +77,7 @@ jobs:
lint:
runs-on: ubuntu-latest
- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+ if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
container:
# https://hub.docker.com/r/drevops/ci-runner
@@ -236,11 +241,13 @@ jobs:
run: ./scripts/vortex-tooling.sh
- name: Adjust variables for a scheduled run
- if: github.event_name == 'schedule'
+ if: github.event_name == 'schedule' || inputs.refresh_db
run: |
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
echo "VORTEX_FRONTEND_BUILD_SKIP=1"
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
- name: Create cache keys files for database caching
@@ -276,6 +283,15 @@ jobs:
./vendor/bin/vortex-refresh-db
timeout-minutes: 30
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - name: Push DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
# Note that the cache fallback flag is enabled for this case in order
@@ -290,7 +306,7 @@ jobs:
build:
runs-on: ubuntu-latest
needs: database
- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+ if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
permissions:
contents: read
@@ -577,7 +593,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [build, lint]
- if: ${{ !cancelled() && (inputs.deploy_target || (success() && github.event_name != 'schedule' && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
+ if: >-
+ ${{ !cancelled() && (inputs.deploy_target || (success() && !inputs.refresh_db && github.event_name != 'schedule'
+ && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
permissions:
contents: read
diff --git a/.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov/.github/workflows/build-test-deploy.yml
index 65a0cc3f96..929738c015 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -490,6 +490,17 @@
+@@ -506,6 +506,17 @@
hide_and_recreate: true
diff --git a/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov_circleci/.circleci/config.yml
index 095f6fc249..aaef53ce07 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/code_coverage_provider_codecov_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -584,6 +603,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -659,3 +680,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/code_provider_other/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/code_provider_other/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/code_provider_other/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/code_provider_other/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.env
index 87364d8797..693bfe330d 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.env
@@ -10,10 +10,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -254,17 +249,3 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -272,17 +267,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.github/workflows/build-test-deploy.yml
index c4971de6bd..bb8d3535a2 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_acquia/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -269,6 +269,9 @@
+@@ -276,6 +276,9 @@
VORTEX_FETCH_DB_SEMAPHORE=/tmp/fetch-db-fresh ./vendor/bin/vortex-fetch-db
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.env
index f98032044d..56cbec1399 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.env
@@ -19,10 +19,10 @@
+# VORTEX_FETCH_DB_URL for url. Add them, and keep secrets in CI.
+# VORTEX_REFRESH_DB_SOURCE=url
+
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -254,17 +259,3 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -272,17 +277,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
index 5a2acf73b9..684d576b85 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -241,6 +241,10 @@
+@@ -246,6 +246,10 @@
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
echo "VORTEX_FRONTEND_BUILD_SKIP=1"
@@ -6,10 +6,10 @@
+ echo "VORTEX_DB_IMAGE_BASE=drevops/db-data-mysql-8.4:__VERSION__"
+ # Deploy container image.
+ echo "VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED=1"
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
-
- - name: Create cache keys files for database caching
-@@ -274,6 +278,15 @@
+@@ -281,6 +285,15 @@
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
./vendor/bin/vortex-refresh-db
@@ -24,4 +24,4 @@
+ ./vendor/bin/vortex-push-db-image
timeout-minutes: 30
- # Save cache per default branch and the timestamp.
+ # Push the freshly-exported sanitized database dump to the push
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.env
index 74fe89268f..2fe7dfcc73 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.env
@@ -1,4 +1,4 @@
-@@ -180,13 +180,19 @@
+@@ -180,13 +180,24 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -6,24 +6,28 @@
+VORTEX_FETCH_DB_SOURCE=ftp
-# Database dump file sourced from a URL.
--#
--# HTTP Basic Authentication credentials should be embedded into the value.
--VORTEX_FETCH_DB_URL=
+# Database dump file sourced from FTP.
-
++
+# Database dump FTP host.
+VORTEX_FETCH_DB_FTP_HOST=
+
+# Database dump FTP port.
+VORTEX_FETCH_DB_FTP_PORT=21
+
++# Database dump FTP directory.
+ #
+-# HTTP Basic Authentication credentials should be embedded into the value.
+-VORTEX_FETCH_DB_URL=
++# Leave empty for the root directory of the FTP account.
++VORTEX_FETCH_DB_FTP_DIR=
+
+# Database dump FTP file name.
+VORTEX_FETCH_DB_FTP_FILE=db.sql
+
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -254,17 +260,3 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -272,17 +283,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.github/workflows/build-test-deploy.yml
new file mode 100644
index 0000000000..553c05f08b
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_ftp/.github/workflows/build-test-deploy.yml
@@ -0,0 +1,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB_FTP_USER: ${{ secrets.VORTEX_FETCH_DB_FTP_USER }}
++ VORTEX_FETCH_DB_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB_FTP_PASS }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_lagoon/.env
index c977899158..659f31b092 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_lagoon/.env
@@ -1,4 +1,4 @@
-@@ -180,19 +180,14 @@
+@@ -180,13 +180,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -10,8 +10,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,7 +205,7 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -20,7 +22,7 @@
################################################################################
# FILES SOURCE #
-@@ -254,17 +249,3 @@
+@@ -272,17 +267,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.env
index 5d9d274041..e6758f9ccd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.env
@@ -17,10 +17,10 @@
+# AWS S3 region.
+VORTEX_FETCH_DB_S3_REGION=ap-southeast-2
+
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -254,17 +257,3 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -272,17 +275,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.github/workflows/build-test-deploy.yml
new file mode 100644
index 0000000000..ca27e284e8
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_source_s3/.github/workflows/build-test-deploy.yml
@@ -0,0 +1,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_ACCESS_KEY }}
++ VORTEX_FETCH_DB_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_SECRET_KEY }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env
new file mode 100644
index 0000000000..426ba38eb0
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env
@@ -0,0 +1,65 @@
+@@ -180,13 +180,24 @@
+ VORTEX_DB_FILE=db.sql
+
+ # Database fetch source.
+-VORTEX_FETCH_DB_SOURCE=url
++VORTEX_FETCH_DB_SOURCE=lagoon
+
+-# Database dump file sourced from a URL.
++# Database dump file sourced from FTP.
++
++# Database dump FTP host.
++VORTEX_FETCH_DB_FTP_HOST=
++
++# Database dump FTP port.
++VORTEX_FETCH_DB_FTP_PORT=21
++
++# Database dump FTP directory.
+ #
+-# HTTP Basic Authentication credentials should be embedded into the value.
+-VORTEX_FETCH_DB_URL=
++# Leave empty for the root directory of the FTP account.
++VORTEX_FETCH_DB_FTP_DIR=
+
++# Database dump FTP file name.
++VORTEX_FETCH_DB_FTP_FILE=db.sql
++
+ # Database store of the sanitized database dump file: ftp or s3.
+ #
+ # When set, the database is fetched from the store instead of the source. The
+@@ -193,7 +204,7 @@
+ # nightly CI job fetches from the source, sanitizes the database and pushes
+ # the dump to the store. The store reads the FTP or S3 variables above. Leave
+ # empty to fetch from the source.
+-VORTEX_FETCH_DB_STORE=
++VORTEX_FETCH_DB_STORE=ftp
+
+ # Destinations the nightly CI job pushes the sanitized database dump to
+ # besides the database store: ftp, s3 or both, such as "ftp,s3". Each
+@@ -210,7 +221,7 @@
+ # Applies to hosting environments.
+ # Note that depending on the hosting provider, this variable may represent
+ # a branch name or an environment name.
+-VORTEX_FETCH_DB_ENVIRONMENT=prod
++VORTEX_FETCH_DB_ENVIRONMENT=main
+
+ ################################################################################
+ # FILES SOURCE #
+@@ -272,17 +283,3 @@
+ # with optional names in the format "email|name".
+ # Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
+ VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
+-
+-################################################################################
+-# DEMO #
+-################################################################################
+-# #
+-# Override project-specific values for demonstration purposes. #
+-# Used to showcase Vortex without asking users to perform additional steps. #
+-# #
+-# Remove this section after completing database fetch integration. #
+-# #
+-################################################################################
+-
+-# URL of the database used for demonstration with URL database fetch type.
+-VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env.local.example b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env.local.example
new file mode 100644
index 0000000000..9d6e82be46
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.env.local.example
@@ -0,0 +1,16 @@
+@@ -32,3 +32,15 @@
+
+ # Always override existing fetched DB dump.
+ VORTEX_FETCH_DB_FORCE=1
++
++# Database dump file sourced from FTP.
++
++# Database dump FTP user.
++VORTEX_FETCH_DB_FTP_USER=
++# Database dump FTP password.
++VORTEX_FETCH_DB_FTP_PASS=
++
++# Database dump file sourced from Lagoon.
++
++# SSH file used to fetch the database dump from Lagoon. Defaults to "${HOME}/.ssh/id_rsa".
++# VORTEX_FETCH_DB_SSH_FILE=
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.github/workflows/build-test-deploy.yml
new file mode 100644
index 0000000000..553c05f08b
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_ftp/.github/workflows/build-test-deploy.yml
@@ -0,0 +1,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB_FTP_USER: ${{ secrets.VORTEX_FETCH_DB_FTP_USER }}
++ VORTEX_FETCH_DB_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB_FTP_PASS }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env
new file mode 100644
index 0000000000..5607339594
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env
@@ -0,0 +1,24 @@
+@@ -187,6 +187,14 @@
+ # HTTP Basic Authentication credentials should be embedded into the value.
+ VORTEX_FETCH_DB_URL=
+
++# Database dump file sourced from S3.
++
++# AWS S3 bucket name for database fetch.
++VORTEX_FETCH_DB_S3_BUCKET=
++
++# AWS S3 region.
++VORTEX_FETCH_DB_S3_REGION=ap-southeast-2
++
+ # Database store of the sanitized database dump file: ftp or s3.
+ #
+ # When set, the database is fetched from the store instead of the source. The
+@@ -193,7 +201,7 @@
+ # nightly CI job fetches from the source, sanitizes the database and pushes
+ # the dump to the store. The store reads the FTP or S3 variables above. Leave
+ # empty to fetch from the source.
+-VORTEX_FETCH_DB_STORE=
++VORTEX_FETCH_DB_STORE=s3
+
+ # Destinations the nightly CI job pushes the sanitized database dump to
+ # besides the database store: ftp, s3 or both, such as "ftp,s3". Each
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env.local.example b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env.local.example
new file mode 100644
index 0000000000..624f93c6d0
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.env.local.example
@@ -0,0 +1,11 @@
+@@ -32,3 +32,10 @@
+
+ # Always override existing fetched DB dump.
+ VORTEX_FETCH_DB_FORCE=1
++
++# Database dump file sourced from S3.
++
++# AWS access key for S3 database fetch.
++VORTEX_FETCH_DB_S3_ACCESS_KEY=
++# AWS secret key for S3 database fetch.
++VORTEX_FETCH_DB_S3_SECRET_KEY=
diff --git a/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.github/workflows/build-test-deploy.yml
new file mode 100644
index 0000000000..ca27e284e8
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/db_fetch_store_s3/.github/workflows/build-test-deploy.yml
@@ -0,0 +1,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_ACCESS_KEY }}
++ VORTEX_FETCH_DB_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB_S3_SECRET_KEY }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.env
index cd44afc636..eccdba8c1e 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.env
@@ -1,4 +1,4 @@
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.env
index cd44afc636..eccdba8c1e 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.env
@@ -1,4 +1,4 @@
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.env
index 43c6e69380..ecbc8fb672 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.env
@@ -1,4 +1,4 @@
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_lagoon/.env
index 603024b6e0..4ff3adb871 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_lagoon/.env
@@ -1,4 +1,4 @@
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/config.yml
index 70ccf44837..6f87f4dfd4 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -510,6 +529,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -546,3 +567,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.env
index f77a701c0b..aef76967d9 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.env
@@ -1,4 +1,4 @@
-@@ -222,14 +222,6 @@
+@@ -240,14 +240,6 @@
VORTEX_RELEASE_VERSION_SCHEME=calver
################################################################################
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.env b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.env
index f77a701c0b..aef76967d9 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.env
@@ -1,4 +1,4 @@
-@@ -222,14 +222,6 @@
+@@ -240,14 +240,6 @@
VORTEX_RELEASE_VERSION_SCHEME=calver
################################################################################
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.github/workflows/build-test-deploy.yml
index 24407e1e7d..09fd95d37a 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_gha/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -573,104 +573,3 @@
+@@ -589,106 +589,3 @@
timeout-minutes: 120 # Cancel the action after 120 minutes, regardless of whether a connection has been established.
with:
detached: true
@@ -6,7 +6,9 @@
- deploy:
- runs-on: ubuntu-latest
- needs: [build, lint]
-- if: ${{ !cancelled() && (inputs.deploy_target || (success() && github.event_name != 'schedule' && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
+- if: >-
+- ${{ !cancelled() && (inputs.deploy_target || (success() && !inputs.refresh_db && github.event_name != 'schedule'
+- && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
-
- permissions:
- contents: read
diff --git a/.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.env b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.env
index 77b53e0608..2e71b9227a 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.env
@@ -33,10 +33,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -194,6 +196,9 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -212,6 +214,9 @@
# a branch name or an environment name.
VORTEX_FETCH_DB_ENVIRONMENT=prod
@@ -46,7 +46,7 @@
################################################################################
# FILES SOURCE #
################################################################################
-@@ -202,15 +207,8 @@
+@@ -220,15 +225,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -63,7 +63,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +225,7 @@
+@@ -245,7 +243,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -72,7 +72,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +252,3 @@
+@@ -272,17 +270,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.github/workflows/build-test-deploy.yml
index c4971de6bd..bb8d3535a2 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -269,6 +269,9 @@
+@@ -276,6 +276,9 @@
VORTEX_FETCH_DB_SEMAPHORE=/tmp/fetch-db-fresh ./vendor/bin/vortex-fetch-db
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/hosting_lagoon/.env
index 626f08b424..cfd0cd8e9f 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_lagoon/.env
@@ -17,7 +17,7 @@
# DATABASE SOURCE #
################################################################################
-@@ -180,19 +192,14 @@
+@@ -180,13 +192,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -29,8 +29,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,7 +217,7 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -39,7 +41,7 @@
################################################################################
# FILES SOURCE #
-@@ -202,15 +209,8 @@
+@@ -220,15 +227,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -56,7 +58,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -65,7 +67,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.env b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.env
index 0da09ab1f2..43cdfb1cfc 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.env
@@ -33,10 +33,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
- # Applies to hosting environments.
-@@ -194,6 +196,9 @@
+ # When set, the database is fetched from the store instead of the source. The
+@@ -212,6 +214,9 @@
# a branch name or an environment name.
VORTEX_FETCH_DB_ENVIRONMENT=prod
@@ -46,7 +46,7 @@
################################################################################
# FILES SOURCE #
################################################################################
-@@ -202,15 +207,8 @@
+@@ -220,15 +225,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -63,7 +63,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +225,7 @@
+@@ -245,7 +243,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -72,7 +72,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +252,3 @@
+@@ -272,17 +270,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml
index c4971de6bd..bb8d3535a2 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -269,6 +269,9 @@
+@@ -276,6 +276,9 @@
VORTEX_FETCH_DB_SEMAPHORE=/tmp/fetch-db-fresh ./vendor/bin/vortex-fetch-db
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___lagoon/.env
index 009b57271b..ff319451f1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___lagoon/.env
@@ -17,7 +17,7 @@
# DATABASE SOURCE #
################################################################################
-@@ -180,19 +192,14 @@
+@@ -180,13 +192,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -29,8 +29,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,7 +217,7 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -39,7 +41,7 @@
################################################################################
# FILES SOURCE #
-@@ -202,15 +209,8 @@
+@@ -220,15 +227,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -56,7 +58,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -65,7 +67,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled/.github/workflows/build-test-deploy.yml
index aa349c0f82..c0c9dbac48 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -319,6 +319,7 @@
+@@ -335,6 +335,7 @@
# it by one for every leading instance that does not run Behat, so the
# first Behat instance still selects the `p0` catch-all profile.
VORTEX_CI_BEHAT_PROFILE_OFFSET: 0
@@ -6,7 +6,7 @@
container:
# https://hub.docker.com/r/drevops/ci-runner
-@@ -523,6 +524,17 @@
+@@ -539,6 +540,17 @@
env:
VORTEX_CI_BEHAT_PROFILE: ${{ vars.VORTEX_CI_BEHAT_PROFILE }}
continue-on-error: ${{ vars.VORTEX_CI_BEHAT_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled_circleci/.circleci/config.yml
index 57684e83a9..0a1b950f1d 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/lighthouse_enabled_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -586,6 +605,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -661,3 +682,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_lagoon/.env
index 626f08b424..cfd0cd8e9f 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_disabled_lagoon/.env
@@ -17,7 +17,7 @@
# DATABASE SOURCE #
################################################################################
-@@ -180,19 +192,14 @@
+@@ -180,13 +192,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -29,8 +29,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,7 +217,7 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -39,7 +41,7 @@
################################################################################
# FILES SOURCE #
-@@ -202,15 +209,8 @@
+@@ -220,15 +227,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -56,7 +58,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -65,7 +67,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.env
index 93beae49d2..9f07ea5d17 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,29 @@
+@@ -213,6 +213,41 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -19,6 +19,18 @@
+# HTTP Basic Authentication credentials should be embedded into the value.
+VORTEX_FETCH_DB2_URL=
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
@@ -28,7 +40,7 @@
# FILES SOURCE #
################################################################################
-@@ -268,3 +291,6 @@
+@@ -286,3 +321,6 @@
# URL of the database used for demonstration with URL database fetch type.
VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.github/workflows/build-test-deploy.yml
index 4292b4f549..1b850740a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -270,6 +270,9 @@
+@@ -277,6 +277,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +8,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +295,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +458,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.circleci/config.yml
index 69a8a20830..559b4ce6a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -294,6 +301,25 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
+ # Push the freshly-fetched migration database dump to its push destinations,
+ # next to the primary dump. No-op unless the push was requested.
+ - run:
+ name: Push migration DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -312,6 +338,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -586,6 +614,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -661,3 +691,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.env
index 93beae49d2..9f07ea5d17 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_circleci/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,29 @@
+@@ -213,6 +213,41 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -19,6 +19,18 @@
+# HTTP Basic Authentication credentials should be embedded into the value.
+VORTEX_FETCH_DB2_URL=
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
@@ -28,7 +40,7 @@
# FILES SOURCE #
################################################################################
-@@ -268,3 +291,6 @@
+@@ -286,3 +321,6 @@
# URL of the database used for demonstration with URL database fetch type.
VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.env
index b8b0fbc8fd..cea0d09d1d 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.env
@@ -17,7 +17,7 @@
# DATABASE SOURCE #
################################################################################
-@@ -180,21 +192,34 @@
+@@ -180,13 +192,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -29,8 +29,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,9 +217,39 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -50,6 +52,18 @@
+# Second database fetch source.
+VORTEX_FETCH_DB2_SOURCE=lagoon
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
@@ -59,7 +73,7 @@
# FILES SOURCE #
################################################################################
-@@ -202,15 +227,8 @@
+@@ -220,15 +257,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -76,7 +90,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +245,7 @@
+@@ -245,7 +275,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -85,7 +99,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +272,3 @@
+@@ -272,17 +302,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.github/workflows/build-test-deploy.yml
index 4292b4f549..1b850740a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_enabled_lagoon/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -270,6 +270,9 @@
+@@ -277,6 +277,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +8,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +295,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +458,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.env
index 9c85db4822..e94fca2354 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,24 @@
+@@ -213,6 +213,36 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -14,6 +14,18 @@
+# Second database fetch source.
+VORTEX_FETCH_DB2_SOURCE=acquia
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.github/workflows/build-test-deploy.yml
index 4292b4f549..1b850740a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_acquia/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -270,6 +270,9 @@
+@@ -277,6 +277,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +8,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +295,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +458,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.env
index cdfd843852..84d4b40fd6 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,39 @@
+@@ -213,6 +213,51 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -29,6 +29,18 @@
+# in CI.
+# VORTEX_REFRESH_DB2_SOURCE=url
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
index 975da88adb..94f4ed490d 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_container_registry/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -241,6 +241,10 @@
+@@ -246,6 +246,10 @@
{
echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
echo "VORTEX_FRONTEND_BUILD_SKIP=1"
@@ -6,10 +6,10 @@
+ echo "VORTEX_DB_IMAGE_BASE=drevops/db-data-mysql-8.4:__VERSION__"
+ # Deploy container image.
+ echo "VORTEX_EXPORT_DB_CONTAINER_REGISTRY_PUSH_PROCEED=1"
+ # Push the sanitized database dump to the database store and destinations.
+ echo "VORTEX_PUSH_DB_PROCEED=1"
} >> "$GITHUB_ENV"
-
- - name: Create cache keys files for database caching
-@@ -270,9 +274,13 @@
+@@ -277,9 +281,13 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -23,7 +23,22 @@
./vendor/bin/vortex-refresh-db
timeout-minutes: 30
-@@ -431,6 +439,11 @@
+@@ -292,6 +300,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +463,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.env
index 7f2e72048c..3be11eb850 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,35 @@
+@@ -213,6 +213,52 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -22,9 +22,26 @@
+# Second database dump FTP port.
+VORTEX_FETCH_DB2_FTP_PORT=21
+
++# Second database dump FTP directory.
++#
++# Leave empty for the root directory of the FTP account.
++VORTEX_FETCH_DB2_FTP_DIR=
++
+# Second database dump FTP file name.
+VORTEX_FETCH_DB2_FTP_FILE=db2.sql
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.github/workflows/build-test-deploy.yml
index 4292b4f549..de03baffec 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_ftp/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,13 @@
-@@ -270,6 +270,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB2_FTP_USER: ${{ secrets.VORTEX_FETCH_DB2_FTP_USER }}
++ VORTEX_FETCH_DB2_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB2_FTP_PASS }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
+@@ -277,6 +279,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +17,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +297,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +460,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.env
index 525b75b5aa..f3c7fbb806 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,24 @@
+@@ -213,6 +213,36 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -14,6 +14,18 @@
+# Second database fetch source.
+VORTEX_FETCH_DB2_SOURCE=lagoon
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.github/workflows/build-test-deploy.yml
index 4292b4f549..1b850740a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_lagoon/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -270,6 +270,9 @@
+@@ -277,6 +277,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +8,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +295,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +458,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.env
index cddcb5610a..1f93586abd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,32 @@
+@@ -213,6 +213,44 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -22,6 +22,18 @@
+# AWS S3 region.
+VORTEX_FETCH_DB2_S3_REGION=ap-southeast-2
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.github/workflows/build-test-deploy.yml
index 4292b4f549..ff8b98eb8b 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_s3/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,13 @@
-@@ -270,6 +270,9 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB2_S3_ACCESS_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_ACCESS_KEY }}
++ VORTEX_FETCH_DB2_S3_SECRET_KEY: ${{ secrets.VORTEX_FETCH_DB2_S3_SECRET_KEY }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
+@@ -277,6 +279,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +17,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +297,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +460,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.env
index 93beae49d2..9f07ea5d17 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,29 @@
+@@ -213,6 +213,41 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -19,6 +19,18 @@
+# HTTP Basic Authentication credentials should be embedded into the value.
+VORTEX_FETCH_DB2_URL=
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
@@ -28,7 +40,7 @@
# FILES SOURCE #
################################################################################
-@@ -268,3 +291,6 @@
+@@ -286,3 +321,6 @@
# URL of the database used for demonstration with URL database fetch type.
VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.github/workflows/build-test-deploy.yml
index 4292b4f549..1b850740a1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_source_url/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -270,6 +270,9 @@
+@@ -277,6 +277,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -8,7 +8,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +434,11 @@
+@@ -292,6 +295,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +458,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.ahoy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.ahoy.yml
new file mode 100644
index 0000000000..11f7a073e6
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.ahoy.yml
@@ -0,0 +1,51 @@
+@@ -32,6 +32,7 @@
+ cmd: |
+ export COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME:-${PWD##*/}}
+ export VORTEX_HOST_DB_PORT=$(docker compose port database 3306 2>/dev/null | cut -d : -f 2)
++ export VORTEX_HOST_DB2_PORT=$(docker compose port database2 3306 2>/dev/null | cut -d : -f 2)
+ export VORTEX_HOST_SOLR_PORT=$(docker compose port solr 8983 2>/dev/null | cut -d : -f 2)
+ export VORTEX_HOST_SELENIUM_VNC_PORT=$(docker compose port chrome 7900 2>/dev/null | cut -d : -f 2)
+ export VORTEX_HOST_HAS_SEQUELACE=$(uname -a | grep -i -q darwin && mdfind -name 'Sequel Ace' 2>/dev/null | grep -q "Ace" && echo 1 || true)
+@@ -45,6 +46,14 @@
+ open "mysql://${DATABASE_USERNAME:-drupal}:${DATABASE_PASSWORD:-drupal}@127.0.0.1:${VORTEX_HOST_DB_PORT}/drupal" -a "Sequel Ace" \
+ || echo "Not a supported OS or Sequel Ace is not installed."
+
++ db2:
++ usage: Open DB2 in Sequel Ace.
++ cmd: |
++ uname -a | grep -i -q darwin && test -d "${VORTEX_HOST_SEQUELACE_PATH:-/Applications/Sequel Ace.app}" && \
++ VORTEX_HOST_DB2_PORT=$(docker compose port database2 3306 2>/dev/null | cut -d : -f 2) && \
++ open "mysql://${DATABASE2_USERNAME:-drupal}:${DATABASE2_PASSWORD:-drupal}@127.0.0.1:${VORTEX_HOST_DB2_PORT}/drupal" -a "Sequel Ace" \
++ || echo "Not a supported OS or Sequel Ace is not installed."
++
+ # ----------------------------------------------------------------------------
+ # Container commands.
+ # ----------------------------------------------------------------------------
+@@ -122,6 +131,13 @@
+ case " $* " in *" --fresh "*) export VORTEX_FETCH_DB_FRESH=1 VORTEX_FETCH_DB_FORCE=1;; esac
+ ./vendor/bin/vortex-fetch-db
+
++ fetch-db2:
++ usage: Fetch second database (migration). Run with "--fresh" to force.
++ aliases: [download-db2, db2-download, db2-fetch]
++ cmd: |
++ case " $* " in *" --fresh "*) export VORTEX_FETCH_DB2_FRESH=1 VORTEX_FETCH_DB2_FORCE=1;; esac
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-fetch-db
++
+ fetch-files:
+ usage: Fetch public files.
+ aliases: [download-files, files-download, files-fetch]
+@@ -134,6 +150,13 @@
+ docker compose rm --force --stop --volumes database
+ docker compose build database
+ ahoy up
++
++ reload-db2:
++ usage: Reload the migration database container using local database image.
++ cmd: |
++ ahoy confirm "Running this command will replace your current database. Are you sure?" || exit 0
++ docker compose rm --force --stop --volumes database2
++ ahoy up -- --build database2
+
+ provision:
+ usage: Provision a site from the database dump or profile.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.env b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.env
new file mode 100644
index 0000000000..201ff25191
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.env
@@ -0,0 +1,65 @@
+@@ -213,6 +213,57 @@
+ VORTEX_FETCH_DB_ENVIRONMENT=prod
+
+ ################################################################################
++# SECOND DATABASE (MIGRATION) #
++################################################################################
++
++# Second database for migrations.
++# See settings.migration.php for database credentials.
++
++# Second database dump file name.
++VORTEX_FETCH_DB2_FILE=db2.sql
++
++# Second database fetch source.
++VORTEX_FETCH_DB2_SOURCE=url
++
++# Second database dump file sourced from a URL.
++#
++# HTTP Basic Authentication credentials should be embedded into the value.
++VORTEX_FETCH_DB2_URL=
++
++# Second database dump file sourced from FTP.
++
++# Second database dump FTP host.
++VORTEX_FETCH_DB2_FTP_HOST=
++
++# Second database dump FTP port.
++VORTEX_FETCH_DB2_FTP_PORT=21
++
++# Second database dump FTP directory.
++#
++# Leave empty for the root directory of the FTP account.
++VORTEX_FETCH_DB2_FTP_DIR=
++
++# Second database dump FTP file name.
++VORTEX_FETCH_DB2_FTP_FILE=db2.sql
++
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=ftp
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
++# Environment to fetch the second database from.
++#
++# Applies to hosting environments.
++VORTEX_FETCH_DB2_ENVIRONMENT=prod
++
++################################################################################
+ # FILES SOURCE #
+ ################################################################################
+
+@@ -286,3 +337,6 @@
+
+ # URL of the database used for demonstration with URL database fetch type.
+ VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
++
++# URL of the migration source database used for demonstration.
++VORTEX_FETCH_DB2_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db_d11.demo_source.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.github/workflows/build-test-deploy.yml
new file mode 100644
index 0000000000..de03baffec
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/.github/workflows/build-test-deploy.yml
@@ -0,0 +1,46 @@
+@@ -196,6 +196,8 @@
+ VORTEX_CI_DB_CACHE_FALLBACK: "yes"
+ # Which branch to use as a source of DB caches.
+ VORTEX_CI_DB_CACHE_BRANCH: "develop"
++ VORTEX_FETCH_DB2_FTP_USER: ${{ secrets.VORTEX_FETCH_DB2_FTP_USER }}
++ VORTEX_FETCH_DB2_FTP_PASS: ${{ secrets.VORTEX_FETCH_DB2_FTP_PASS }}
+
+ steps:
+ # Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
+@@ -277,6 +279,9 @@
+ echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
+ timeout-minutes: 30
+
++ - name: Fetch migration DB
++ run: VORTEX_DB_INDEX=2 ./vendor/bin/vortex-fetch-db
++
+ - name: Export DB
+ run: |
+ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
+@@ -292,6 +297,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +460,11 @@
+ docker compose exec cli mkdir -p .data
+ docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
+ rm -f .data/db.sql
++ fi
++ if [ -f ".data/${VORTEX_FETCH_DB2_FILE:-db2.sql}" ]; then
++ docker compose exec -T cli mkdir -p .data
++ docker compose --progress quiet cp -L ".data/${VORTEX_FETCH_DB2_FILE:-db2.sql}" cli:"/app/.data/${VORTEX_FETCH_DB2_FILE:-db2.sql}"
++ rm -f ".data/${VORTEX_FETCH_DB2_FILE:-db2.sql}"
+ fi
+ docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli ./vendor/bin/vortex-provision
+ timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/composer.json b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/composer.json
new file mode 100644
index 0000000000..b90a23c71c
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/composer.json
@@ -0,0 +1,9 @@
+@@ -26,6 +26,8 @@
+ "drupal/linkit": "__VERSION__",
+ "drupal/menu_trail_by_path": "__VERSION__",
+ "drupal/metatag": "__VERSION__",
++ "drupal/migrate_plus": "__VERSION__",
++ "drupal/migrate_tools": "__VERSION__",
+ "drupal/navigation_extra_tools": "__VERSION__",
+ "drupal/pathauto": "__VERSION__",
+ "drupal/redirect": "__VERSION__",
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/docker-compose.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/docker-compose.yml
new file mode 100644
index 0000000000..70ac2fcbc8
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/docker-compose.yml
@@ -0,0 +1,52 @@
+@@ -57,6 +57,16 @@
+ DRUPAL_SHIELD_PASS: ${DRUPAL_SHIELD_PASS:-}
+ # Redis integration flag.
+ DRUPAL_REDIS_ENABLED: ${DRUPAL_REDIS_ENABLED:-}
++ # Local migration database host (not used in production).
++ DATABASE2_HOST: database2
++ # Local migration database name (not used in production).
++ DATABASE2_NAME: drupal
++ # Local migration database user (not used in production).
++ DATABASE2_USERNAME: drupal
++ # Local migration database password (not used in production).
++ DATABASE2_PASSWORD: drupal
++ # Local migration database port (not used in production).
++ DATABASE2_PORT: 3306
+
+ # The default user under which the containers should run.
+ x-user: &default-user
+@@ -155,6 +165,20 @@
+ ports:
+ - '3306' # Database port in a container. Find port on host with `ahoy info` or `docker compose port database 3306`.
+
++ database2:
++ image: "${VORTEX_DB2_IMAGE:-uselagoon/mysql-8.4:__VERSION__}" # Use custom database image (if defined) or fallback to standard database image.
++ environment:
++ <<: *default-environment
++ MYSQL_DATABASE: drupal
++ MYSQL_USER: drupal
++ MYSQL_PASSWORD: drupal
++ <<: *default-user
++ # dclint disable-line no-duplicate-exported-ports # container-only port, published on a random host port
++ ports:
++ - '3306' # Database port in a container. Find port on host with `ahoy info` or `docker compose port database2 3306`.
++ labels:
++ lagoon.type: mariadb # See https://docs.lagoon.sh/using-lagoon-advanced/service-types/
++
+ redis:
+ image: uselagoon/valkey-8:__VERSION__
+
+@@ -198,11 +222,13 @@
+ depends_on:
+ - clamav
+ - database
++ - database2
+ - redis
+ - solr
+ command:
+ - clamav:3310
+ - database:3306
++ - database2:3306
+ - redis:6379
+ - solr:8983
+ - curl -s "http://solr:8983/solr/drupal/select?q=*:*&rows=0&wt=json" | grep response
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/scripts/provision-20-migration.sh b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/scripts/provision-20-migration.sh
new file mode 100755
index 0000000000..3000594760
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/scripts/provision-20-migration.sh
@@ -0,0 +1,187 @@
+#!/usr/bin/env bash
+##
+# Import migration database and run migrations.
+#
+# This script is called during site provisioning via provision.sh.
+# Customize the migration names at the bottom of this file.
+#
+# shellcheck disable=SC2086
+
+set -eu
+[ "${VORTEX_DEBUG-}" = "1" ] && set -x
+
+# Skip all migrations.
+DRUPAL_MIGRATION_SKIP="${DRUPAL_MIGRATION_SKIP:-0}"
+
+# Skip rollback of migrations before import.
+DRUPAL_MIGRATION_ROLLBACK_SKIP="${DRUPAL_MIGRATION_ROLLBACK_SKIP:-1}"
+
+# Limit the number of entities to import. Set to 'all' to import all.
+DRUPAL_MIGRATION_IMPORT_LIMIT="${DRUPAL_MIGRATION_IMPORT_LIMIT:-50}"
+
+# Update already imported entities during migration.
+DRUPAL_MIGRATION_UPDATE="${DRUPAL_MIGRATION_UPDATE:-0}"
+
+# Feedback frequency for migration progress.
+DRUPAL_MIGRATION_FEEDBACK="${DRUPAL_MIGRATION_FEEDBACK:-50}"
+
+# Import migration source database. Set to 1 to import, 0 to skip.
+DRUPAL_MIGRATION_SOURCE_DB_IMPORT="${DRUPAL_MIGRATION_SOURCE_DB_IMPORT:-${VORTEX_PROVISION_OVERRIDE_DB:-0}}"
+
+# Table name to probe in the source database to verify it is not corrupted.
+DRUPAL_MIGRATION_SOURCE_DB_PROBE_TABLE="${DRUPAL_MIGRATION_SOURCE_DB_PROBE_TABLE:-categories}"
+
+# Disable the search server while migrations run. Set to 0 to keep indexing.
+DRUPAL_MIGRATION_SEARCH_DISABLE="${DRUPAL_MIGRATION_SEARCH_DISABLE:-1}"
+
+# Directory with database dump file.
+VORTEX_DB_DIR="${VORTEX_DB_DIR:-./.data}"
+
+# Migration database dump file name.
+VORTEX_FETCH_DB2_FILE="${VORTEX_FETCH_DB2_FILE:-db2.sql}"
+
+# ------------------------------------------------------------------------------
+
+# @formatter:off
+info() { printf " ==> %s\n" "${1}"; }
+note() { printf " %s\n" "${1}"; }
+task() { printf " > %s\n" "${1}"; }
+pass() { printf " + %s\n" "${1}"; }
+fail() { printf " ! %s\n" "${1}"; exit "${2:-1}"; }
+# @formatter:on
+
+drush() { ./vendor/bin/drush -y "$@"; }
+
+# ------------------------------------------------------------------------------
+
+info "Started migration operations."
+
+environment="$(drush php:eval "print \Drupal\Core\Site\Settings::get('environment');")"
+note "Environment: ${environment}"
+
+# Skip migrations in production.
+if [ "${environment}" = "prod" ]; then
+ DRUPAL_MIGRATION_SKIP=1
+fi
+
+note "Migration skip: ${DRUPAL_MIGRATION_SKIP}"
+note "Migration limit: ${DRUPAL_MIGRATION_IMPORT_LIMIT}"
+note "Migration skip rollback: ${DRUPAL_MIGRATION_ROLLBACK_SKIP}"
+note "Migration update: ${DRUPAL_MIGRATION_UPDATE}"
+note "Migration feedback: ${DRUPAL_MIGRATION_FEEDBACK}"
+note "Source DB import: ${DRUPAL_MIGRATION_SOURCE_DB_IMPORT}"
+note "Search disable: ${DRUPAL_MIGRATION_SEARCH_DISABLE}"
+echo
+
+if [ "${DRUPAL_MIGRATION_SKIP}" = "1" ]; then
+ info "Skipped migrations. DRUPAL_MIGRATION_SKIP is set to 1."
+ exit 0
+fi
+
+# Helper function to run a single migration with configured options.
+run_migration() {
+ local migration_name="${1}"
+ shift
+
+ drush migrate:reset-status "${migration_name}" || fail "Failed to reset migration status for ${migration_name}."
+
+ task "Running migration: ${migration_name}."
+ local opts=()
+
+ opts+=("--feedback=${DRUPAL_MIGRATION_FEEDBACK}")
+
+ if printf '%s\n' "${DRUPAL_MIGRATION_IMPORT_LIMIT}" | grep -q '^[0-9][0-9]*$' && [ "${DRUPAL_MIGRATION_IMPORT_LIMIT}" -gt 0 ]; then
+ opts+=("--limit=${DRUPAL_MIGRATION_IMPORT_LIMIT}")
+ fi
+
+ if [ "${DRUPAL_MIGRATION_UPDATE}" = "1" ]; then
+ opts+=("--update")
+ fi
+
+ # Add any additional arguments passed to the function.
+ opts+=("$@")
+
+ drush migrate:import "${opts[@]}" "${migration_name}" || {
+ drush migrate:messages "${migration_name}"
+ fail "Failed to run migration ${migration_name}."
+ }
+
+ pass "Migrated: ${migration_name}."
+}
+
+# Detect if existing migration source database is corrupted.
+if [ "${DRUPAL_MIGRATION_SOURCE_DB_IMPORT}" != "1" ]; then
+ note "Source database import is set to be skipped. Checking existing database."
+ task "Probing for '${DRUPAL_MIGRATION_SOURCE_DB_PROBE_TABLE}' table in the source database."
+ if drush sql:query --database=migrate "SELECT COUNT(*) FROM ${DRUPAL_MIGRATION_SOURCE_DB_PROBE_TABLE}" >/dev/null 2>&1; then
+ pass "Source database is intact."
+ else
+ note "Migration source database is corrupted or empty. Re-importing."
+ DRUPAL_MIGRATION_SOURCE_DB_IMPORT=1
+ pass "Marked the source database for re-import."
+ fi
+fi
+
+# Import the migration source database from the dump file.
+if [ "${DRUPAL_MIGRATION_SOURCE_DB_IMPORT}" = "1" ]; then
+ task "Importing migration source database."
+
+ [ ! -f "${VORTEX_DB_DIR}/${VORTEX_FETCH_DB2_FILE}" ] && fail "Migration source database file not found. Please run 'ahoy fetch-db2'."
+
+ drush sql:drop --database=migrate
+ # shellcheck disable=SC2091
+ $(drush sql:connect --database=migrate) <"${VORTEX_DB_DIR}/${VORTEX_FETCH_DB2_FILE}"
+
+ pass "Imported migration source database."
+else
+ note "Using existing migration source database."
+fi
+
+task "Verifying migration source database."
+if ! drush sql:query --database=migrate "SELECT COUNT(*) FROM ${DRUPAL_MIGRATION_SOURCE_DB_PROBE_TABLE}" >/dev/null 2>&1; then
+ drush sql:query --database=migrate "SHOW TABLES;"
+ fail "Migration source database is corrupted."
+fi
+pass "Verified migration source database."
+
+# Enable custom migration modules.
+task "Enabling migration modules."
+drush pm:install ys_migrate
+pass "Enabled migration modules."
+
+info "Starting migrations."
+
+if [ "${DRUPAL_MIGRATION_SEARCH_DISABLE}" = "1" ]; then
+ task "Disabling Search API Solr server."
+ drush search-api:server-disable solr || true
+ pass "Disabled Search API Solr server."
+fi
+
+if [ "${DRUPAL_MIGRATION_ROLLBACK_SKIP}" = "1" ]; then
+ note "Skipped rollback of all migrations."
+else
+ task "Rolling back all migrations."
+ drush migrate:rollback --all || true
+ pass "Rolled back all migrations."
+fi
+echo
+
+# ------------------------------------------------------------------------------
+# Add your migrations below.
+# ------------------------------------------------------------------------------
+
+run_migration ys_migrate_categories
+
+echo
+note "Finished migrations."
+
+if [ "${DRUPAL_MIGRATION_SEARCH_DISABLE}" = "1" ]; then
+ task "Enabling Search API Solr server."
+ drush search-api:server-enable solr || true
+ drush search-api:enable-all || true
+ pass "Enabled Search API Solr server."
+fi
+
+drush migrate:status
+
+info "Finished migration operations."
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/DatabaseSettingsTest.php b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/DatabaseSettingsTest.php
new file mode 100644
index 0000000000..956cd535d4
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/DatabaseSettingsTest.php
@@ -0,0 +1,110 @@
+@@ -47,6 +47,17 @@
+ 'prefix' => '',
+ ],
+ ],
++ 'migrate' => [
++ 'default' => [
++ 'database' => 'drupal',
++ 'username' => 'drupal',
++ 'password' => 'drupal',
++ 'host' => 'localhost',
++ 'port' => '',
++ 'prefix' => '',
++ 'driver' => 'mysql',
++ ],
++ ],
+ ],
+ ];
+
+@@ -74,6 +85,17 @@
+ 'prefix' => '',
+ ],
+ ],
++ 'migrate' => [
++ 'default' => [
++ 'database' => 'drupal',
++ 'username' => 'drupal',
++ 'password' => 'drupal',
++ 'host' => 'localhost',
++ 'port' => '',
++ 'prefix' => '',
++ 'driver' => 'mysql',
++ ],
++ ],
+ ],
+ ];
+
+@@ -101,6 +123,17 @@
+ 'prefix' => '',
+ ],
+ ],
++ 'migrate' => [
++ 'default' => [
++ 'database' => 'drupal',
++ 'username' => 'drupal',
++ 'password' => 'drupal',
++ 'host' => 'localhost',
++ 'port' => '',
++ 'prefix' => '',
++ 'driver' => 'mysql',
++ ],
++ ],
+ ],
+ ];
+
+@@ -128,9 +161,55 @@
+ 'prefix' => '',
+ ],
+ ],
++ 'migrate' => [
++ 'default' => [
++ 'database' => 'drupal',
++ 'username' => 'drupal',
++ 'password' => 'drupal',
++ 'host' => 'localhost',
++ 'port' => '',
++ 'prefix' => '',
++ 'driver' => 'mysql',
++ ],
++ ],
+ ],
+ ];
+
++ yield [
++ [
++ 'DATABASE2_NAME' => 'migrate_db_name',
++ 'DATABASE2_USERNAME' => 'migrate_db_user',
++ 'DATABASE2_PASSWORD' => 'migrate_db_pass',
++ 'DATABASE2_HOST' => 'migrate_db_host',
++ 'DATABASE2_PORT' => '3307',
++ ],
++ [
++ 'default' => [
++ 'default' => [
++ 'database' => 'drupal',
++ 'username' => 'drupal',
++ 'password' => 'drupal',
++ 'host' => 'localhost',
++ 'port' => '3306',
++ 'charset' => 'utf8mb4',
++ 'collation' => 'utf8mb4_general_ci',
++ 'driver' => 'mysql',
++ 'prefix' => '',
++ ],
++ ],
++ 'migrate' => [
++ 'default' => [
++ 'database' => 'migrate_db_name',
++ 'username' => 'migrate_db_user',
++ 'password' => 'migrate_db_pass',
++ 'host' => 'migrate_db_host',
++ 'port' => '3307',
++ 'prefix' => '',
++ 'driver' => 'mysql',
++ ],
++ ],
++ ],
++ ];
+ }
+
+ }
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/EnvironmentSettingsTest.php b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/EnvironmentSettingsTest.php
new file mode 100644
index 0000000000..8adb9246e8
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/EnvironmentSettingsTest.php
@@ -0,0 +1,14 @@
+@@ -163,6 +163,13 @@
+ $databases['default']['default']['collation'] = 'utf8_general_ci';
+ $databases['default']['default']['driver'] = 'mysql';
+ $databases['default']['default']['prefix'] = '';
++ $databases['migrate']['default']['database'] = 'drupal';
++ $databases['migrate']['default']['username'] = 'drupal';
++ $databases['migrate']['default']['password'] = 'drupal';
++ $databases['migrate']['default']['host'] = 'localhost';
++ $databases['migrate']['default']['port'] = '';
++ $databases['migrate']['default']['prefix'] = '';
++ $databases['migrate']['default']['driver'] = 'mysql';
+ $this->assertEquals($databases, $this->databases);
+
+ // Verify key config overrides.
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/SettingsTestCase.php b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/SettingsTestCase.php
new file mode 100644
index 0000000000..350cc85c04
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/tests/phpunit/Drupal/SettingsTestCase.php
@@ -0,0 +1,8 @@
+@@ -62,6 +62,7 @@
+ const ALLOWED_ENV_VARS = [
+ // Service variables.
+ 'DATABASE_',
++ 'DATABASE2_',
+ 'REDIS_',
+ 'CLAMAV_',
+ 'COMPOSE_',
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/migrations/ys_migrate_categories.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/migrations/ys_migrate_categories.yml
new file mode 100644
index 0000000000..0494698e5d
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/migrations/ys_migrate_categories.yml
@@ -0,0 +1,29 @@
+id: ys_migrate_categories
+label: 'Migrate categories to tags'
+migration_tags:
+ - ys_migrate
+
+source:
+ plugin: table
+ key: migrate
+ table_name: categories
+ id_fields:
+ id:
+ type: integer
+ fields:
+ id: id
+ name: name
+ description: description
+
+process:
+ name: name
+ description/value: description
+ description/format:
+ plugin: default_value
+ default_value: plain_text
+ vid:
+ plugin: default_value
+ default_value: tags
+
+destination:
+ plugin: 'entity:taxonomy_term'
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/ys_migrate.info.yml b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/ys_migrate.info.yml
new file mode 100644
index 0000000000..96c67179ac
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/modules/custom/ys_migrate/ys_migrate.info.yml
@@ -0,0 +1,9 @@
+name: star wars Migrate
+type: module
+description: Migrations for star wars site.
+core_version_requirement: ^11
+package: star_wars
+dependencies:
+ - drupal:migrate
+ - migrate_plus:migrate_plus
+ - migrate_tools:migrate_tools
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.migration.php b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.migration.php
new file mode 100644
index 0000000000..660869b39f
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.migration.php
@@ -0,0 +1,21 @@
+ (getenv('DATABASE2_NAME') ?: getenv('DATABASE2_DATABASE')) ?: 'drupal',
+ 'username' => getenv('DATABASE2_USERNAME') ?: 'drupal',
+ 'password' => getenv('DATABASE2_PASSWORD') ?: 'drupal',
+ 'host' => getenv('DATABASE2_HOST') ?: 'localhost',
+ 'port' => getenv('DATABASE2_PORT') ?: '',
+ 'prefix' => '',
+ 'driver' => 'mysql',
+];
diff --git a/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.php b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.php
new file mode 100644
index 0000000000..c04331d75e
--- /dev/null
+++ b/.vortex/installer/tests/Fixtures/handler_process/migration_fetch_store_ftp/web/sites/default/settings.php
@@ -0,0 +1,15 @@
+@@ -167,6 +167,14 @@
+ }
+
+ ////////////////////////////////////////////////////////////////////////////////
++/// MIGRATION SETTINGS ///
++////////////////////////////////////////////////////////////////////////////////
++// @todo Migration. Remove when migration configuration is no longer required.
++if (file_exists($app_root . '/' . $site_path . '/settings.migration.php')) {
++ require $app_root . '/' . $site_path . '/settings.migration.php';
++}
++
++////////////////////////////////////////////////////////////////////////////////
+ /// LOCAL OVERRIDE ///
+ ////////////////////////////////////////////////////////////////////////////////
+ // @see https://www.vortextemplate.com/docs/development/settings#local-overrides
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_dev_modules_storybook/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_dev_modules_storybook/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_dev_modules_storybook/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_dev_modules_storybook/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode_reroute_email/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode_reroute_email/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode_reroute_email/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_devel_sdc_devel_generated_content_testmode_reroute_email/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_no_sdc_devel/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_no_sdc_devel/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_no_sdc_devel/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_no_sdc_devel/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/modules_none/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/modules_none/.github/workflows/build-test-deploy.yml
index c0b7f62c2c..ec62616083 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/modules_none/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/modules_none/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -312,7 +312,6 @@
+@@ -328,7 +328,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +498,6 @@
+@@ -515,18 +514,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/names/.env b/.vortex/installer/tests/Fixtures/handler_process/names/.env
index c268d92b0e..2086b384a4 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/names/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/names/.env
@@ -42,7 +42,7 @@
# Put the site into a maintenance mode during site provisioning.
VORTEX_PROVISION_USE_MAINTENANCE_MODE=1
-@@ -244,7 +244,7 @@
+@@ -262,7 +262,7 @@
# An email address to send notifications from.
#
# Applies to email notifications.
@@ -51,7 +51,7 @@
# Email address(es) to send notifications to.
#
-@@ -253,7 +253,7 @@
+@@ -271,7 +271,7 @@
# Multiple names can be specified as a comma-separated list of email addresses
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_all/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_all/.env
index e0bcbf0605..78f05bd3bc 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_all/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_all/.env
@@ -1,4 +1,4 @@
-@@ -239,7 +239,7 @@
+@@ -257,7 +257,7 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
@@ -7,7 +7,7 @@
# An email address to send notifications from.
#
-@@ -254,6 +254,12 @@
+@@ -272,6 +272,12 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_github_only/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_github_only/.env
index 485b37b7d6..c2b1507ee2 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_github_only/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_github_only/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,7 @@
+@@ -257,21 +257,7 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_jira_only/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_jira_only/.env
index 9d42fdec49..fd7abef749 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_jira_only/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_jira_only/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,10 @@
+@@ -257,21 +257,10 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_newrelic_only/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_newrelic_only/.env
index a8436d62ad..719aefd89e 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_newrelic_only/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_newrelic_only/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,7 @@
+@@ -257,21 +257,7 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_none/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_none/.env
index f16700058d..7fcbe79bbd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_none/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_none/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,7 @@
+@@ -257,21 +257,7 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_slack_only/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_slack_only/.env
index d5ee87a619..1371ec144b 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_slack_only/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_slack_only/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,7 @@
+@@ -257,21 +257,7 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_webhook_only/.env b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_webhook_only/.env
index 33396c5921..9dda6bcbc3 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/notification_channels_webhook_only/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/notification_channels_webhook_only/.env
@@ -1,4 +1,4 @@
-@@ -239,21 +239,10 @@
+@@ -257,21 +257,10 @@
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
diff --git a/.vortex/installer/tests/Fixtures/handler_process/provision_database_lagoon/.env b/.vortex/installer/tests/Fixtures/handler_process/provision_database_lagoon/.env
index 626f08b424..cfd0cd8e9f 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/provision_database_lagoon/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/provision_database_lagoon/.env
@@ -17,7 +17,7 @@
# DATABASE SOURCE #
################################################################################
-@@ -180,19 +192,14 @@
+@@ -180,13 +192,8 @@
VORTEX_DB_FILE=db.sql
# Database fetch source.
@@ -29,8 +29,10 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
+ # When set, the database is fetched from the store instead of the source. The
+@@ -210,7 +217,7 @@
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
@@ -39,7 +41,7 @@
################################################################################
# FILES SOURCE #
-@@ -202,15 +209,8 @@
+@@ -220,15 +227,8 @@
#
# Hosting sources copy the files from VORTEX_FETCH_FILES_ENVIRONMENT, or from
# VORTEX_FETCH_DB_ENVIRONMENT when it is not set.
@@ -56,7 +58,7 @@
################################################################################
# RELEASE VERSIONING #
################################################################################
-@@ -227,7 +227,7 @@
+@@ -245,7 +245,7 @@
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
@@ -65,7 +67,7 @@
################################################################################
# NOTIFICATIONS #
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.env b/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.env
index 377af86429..ab3c09e5d5 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.env
@@ -7,7 +7,7 @@
# Overwrite a database if it exists.
#
-@@ -179,21 +179,6 @@
+@@ -179,39 +179,6 @@
# The file is used to import the database into an empty database container.
VORTEX_DB_FILE=db.sql
@@ -19,6 +19,24 @@
-# HTTP Basic Authentication credentials should be embedded into the value.
-VORTEX_FETCH_DB_URL=
-
+-# Database store of the sanitized database dump file: ftp or s3.
+-#
+-# When set, the database is fetched from the store instead of the source. The
+-# nightly CI job fetches from the source, sanitizes the database and pushes
+-# the dump to the store. The store reads the FTP or S3 variables above. Leave
+-# empty to fetch from the source.
+-VORTEX_FETCH_DB_STORE=
+-
+-# Destinations the nightly CI job pushes the sanitized database dump to
+-# besides the database store: ftp, s3 or both, such as "ftp,s3". Each
+-# destination reads its own variables, such as VORTEX_PUSH_DB_FTP_HOST for ftp.
+-# The database is always fetched from 1 place.
+-# VORTEX_PUSH_DB_DESTINATIONS=ftp,s3
+-
+-# Also push a copy of each dump named with the time of the push, such as
+-# db_20261111-180000.sql, to keep a history of the pushed dumps.
+-# VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+-
-# Environment to fetch the database from.
-#
-# Applies to hosting environments.
@@ -29,7 +47,7 @@
################################################################################
# FILES SOURCE #
################################################################################
-@@ -254,17 +239,3 @@
+@@ -272,17 +239,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.github/workflows/build-test-deploy.yml
index 042d1c6b55..d310a2e461 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/provision_profile/.github/workflows/build-test-deploy.yml
@@ -1,21 +1,26 @@
-@@ -52,8 +52,6 @@
+@@ -52,13 +52,6 @@
description: 'Enable terminal session for CI jobs'
required: false
default: false
+- refresh_db:
+- type: boolean
+- description: 'Refresh the database only'
+- required: false
+- default: false
- schedule:
- - cron: '0 18 * * *'
defaults:
run:
-@@ -72,7 +70,6 @@
+@@ -77,7 +70,6 @@
lint:
runs-on: ubuntu-latest
-- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+- if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
container:
# https://hub.docker.com/r/drevops/ci-runner
-@@ -167,130 +164,8 @@
+@@ -172,141 +164,8 @@
run: docker compose exec -T cli bash -c "npm --prefix=\${WEBROOT}/themes/custom/\${DRUPAL_THEME} run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -88,11 +93,13 @@
- run: ./scripts/vortex-tooling.sh
-
- - name: Adjust variables for a scheduled run
-- if: github.event_name == 'schedule'
+- if: github.event_name == 'schedule' || inputs.refresh_db
- run: |
- {
- echo "VORTEX_CI_DB_CACHE_FALLBACK=no"
- echo "VORTEX_FRONTEND_BUILD_SKIP=1"
+- # Push the sanitized database dump to the database store and destinations.
+- echo "VORTEX_PUSH_DB_PROCEED=1"
- } >> "$GITHUB_ENV"
-
- - name: Create cache keys files for database caching
@@ -128,6 +135,15 @@
- ./vendor/bin/vortex-refresh-db
- timeout-minutes: 30
-
+- # Push the freshly-exported sanitized database dump to the push
+- # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+- # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+- - name: Push DB
+- run: |
+- if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
+- ./vendor/bin/vortex-push-db
+- timeout-minutes: 30
+-
- # Save cache per default branch and the timestamp.
- # The cache will not be saved if it already exists.
- # Note that the cache fallback flag is enabled for this case in order
@@ -142,11 +158,11 @@
build:
runs-on: ubuntu-latest
- needs: database
-- if: ${{ !inputs.deploy_target && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
+- if: ${{ !inputs.deploy_target && !inputs.refresh_db && github.event_name != 'schedule' && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
permissions:
contents: read
-@@ -333,14 +208,6 @@
+@@ -349,14 +208,6 @@
VORTEX_SSH_DISABLE_STRICT_HOST_KEY_CHECKING: "1"
VORTEX_SSH_REMOVE_ALL_KEYS: "1"
VORTEX_DEBUG: ${{ vars.VORTEX_DEBUG }}
@@ -161,7 +177,7 @@
steps:
# Frees disk space by removing preinstalled toolchains unused by this project. Steps run in a container, so the host is reached via the Docker socket.
-@@ -379,29 +246,6 @@
+@@ -395,29 +246,6 @@
- name: Install Vortex tooling
run: ./scripts/vortex-tooling.sh
@@ -191,11 +207,13 @@
- name: Login to container registry
run: ./vendor/bin/vortex-login-container-registry
-@@ -577,7 +421,6 @@
+@@ -593,9 +421,6 @@
deploy:
runs-on: ubuntu-latest
needs: [build, lint]
-- if: ${{ !cancelled() && (inputs.deploy_target || (success() && github.event_name != 'schedule' && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
+- if: >-
+- ${{ !cancelled() && (inputs.deploy_target || (success() && !inputs.refresh_db && github.event_name != 'schedule'
+- && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')))) }}
permissions:
contents: read
diff --git a/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_cms_profile/.env b/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_cms_profile/.env
index 5666759cb8..f33591edfa 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_cms_profile/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_cms_profile/.env
@@ -7,7 +7,7 @@
# Drupal configuration directory.
#
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_profile/.env b/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_profile/.env
index f745b08688..68b383de82 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_profile/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/starter_drupal_profile/.env
@@ -1,4 +1,4 @@
-@@ -254,17 +254,3 @@
+@@ -272,17 +272,3 @@
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@star-wars.com|Webmaster"
diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/.github/workflows/build-test-deploy.yml
index da2e5188f3..f41c2e8005 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/theme_claro/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/theme_claro/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -162,11 +162,6 @@
+@@ -167,11 +167,6 @@
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -10,7 +10,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -312,7 +307,6 @@
+@@ -328,7 +323,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -18,7 +18,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +493,6 @@
+@@ -515,18 +509,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/.env b/.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/.env
index b98e7c9da3..2f4e32abbd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/theme_custom_non_vortex/.env
@@ -5,5 +5,5 @@
-VORTEX_FETCH_DB_URL=
+VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
- # Environment to fetch the database from.
+ # Database store of the sanitized database dump file: ftp or s3.
#
diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/.github/workflows/build-test-deploy.yml
index da2e5188f3..f41c2e8005 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/theme_olivero/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -162,11 +162,6 @@
+@@ -167,11 +167,6 @@
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -10,7 +10,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -312,7 +307,6 @@
+@@ -328,7 +323,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -18,7 +18,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +493,6 @@
+@@ -515,18 +509,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/.github/workflows/build-test-deploy.yml
index da2e5188f3..f41c2e8005 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/theme_stark/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/theme_stark/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -162,11 +162,6 @@
+@@ -167,11 +167,6 @@
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -10,7 +10,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -312,7 +307,6 @@
+@@ -328,7 +323,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -18,7 +18,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +493,6 @@
+@@ -515,18 +509,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/timezone_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/timezone_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/timezone_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/timezone_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/.github/workflows/build-test-deploy.yml
index 96c349475a..49bfce98dd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -138,18 +138,6 @@
+@@ -143,18 +143,6 @@
run: docker compose exec -T cli composer normalize --dry-run
continue-on-error: ${{ vars.VORTEX_CI_COMPOSER_NORMALIZE_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/.circleci/config.yml
index 962162638f..7fcb92fcd9 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_lint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -277,6 +284,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -295,6 +312,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -564,6 +583,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -639,3 +660,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/.github/workflows/build-test-deploy.yml
index 2f4b0324b6..e6ba2763e0 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -154,10 +154,6 @@
+@@ -159,10 +159,6 @@
run: docker compose exec -T cli vendor/bin/twig-cs-fixer
continue-on-error: ${{ vars.VORTEX_CI_TWIG_CS_FIXER_IGNORE_FAILURE == '1' }}
@@ -9,7 +9,7 @@
- name: Lint module code with NodeJS linters
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
-@@ -311,14 +307,7 @@
+@@ -327,14 +323,7 @@
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -24,7 +24,7 @@
container:
# https://hub.docker.com/r/drevops/ci-runner
-@@ -440,66 +429,6 @@
+@@ -456,66 +445,6 @@
run: docker compose exec -T cli bash -c "npm test"
continue-on-error: ${{ vars.VORTEX_CI_JEST_IGNORE_FAILURE == '1' }}
@@ -91,7 +91,7 @@
- name: Validate Single Directory Components
if: ${{ env.VORTEX_CI_IS_SDC_DEVEL_RUNNER == 'true' }}
run: |
-@@ -512,19 +441,6 @@
+@@ -528,19 +457,6 @@
fi
continue-on-error: ${{ vars.VORTEX_CI_SDC_DEVEL_IGNORE_FAILURE == '1' }}
@@ -111,7 +111,7 @@
- name: Process test logs and artifacts
if: always()
run: |
-@@ -541,16 +457,6 @@
+@@ -557,16 +473,6 @@
path: .logs
include-hidden-files: true
if-no-files-found: error
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/.circleci/config.yml
index 0b83288c75..61393ab578 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_be_tests_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -513,6 +532,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -588,3 +609,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint/.github/workflows/build-test-deploy.yml
index 452179b6d7..6551a2f609 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -132,7 +132,6 @@
+@@ -137,7 +137,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -6,7 +6,7 @@
- name: Validate Composer configuration is normalized
run: docker compose exec -T cli composer normalize --dry-run
-@@ -158,15 +157,6 @@
+@@ -163,15 +162,6 @@
run: docker compose exec -T cli vendor/bin/gherkinlint lint tests/behat/features
continue-on-error: ${{ vars.VORTEX_CI_GHERKIN_LINT_IGNORE_FAILURE == '1' }}
@@ -22,7 +22,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -310,7 +300,6 @@
+@@ -326,7 +316,6 @@
# https://www.vortextemplate.com/docs/continuous-integration#test-parallelism
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
@@ -30,7 +30,7 @@
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_SDC_DEVEL_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
# Runs on every instance, using the `p` profile.
-@@ -421,7 +410,6 @@
+@@ -437,7 +426,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -38,7 +38,7 @@
- name: Provision site
run: |
-@@ -434,11 +422,6 @@
+@@ -450,11 +438,6 @@
fi
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli ./vendor/bin/vortex-provision
timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_circleci/.circleci/config.yml
index 0d5dd2cae9..e341c699ae 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -268,6 +275,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -286,6 +303,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -547,6 +566,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -622,3 +643,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/.github/workflows/build-test-deploy.yml
index 8ffe668f17..cab28b5a4c 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -132,7 +132,6 @@
+@@ -137,7 +137,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -6,7 +6,7 @@
- name: Validate Composer configuration is normalized
run: docker compose exec -T cli composer normalize --dry-run
-@@ -158,15 +157,6 @@
+@@ -163,15 +162,6 @@
run: docker compose exec -T cli vendor/bin/gherkinlint lint tests/behat/features
continue-on-error: ${{ vars.VORTEX_CI_GHERKIN_LINT_IGNORE_FAILURE == '1' }}
@@ -22,7 +22,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -310,9 +300,7 @@
+@@ -326,9 +316,7 @@
# https://www.vortextemplate.com/docs/continuous-integration#test-parallelism
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
@@ -32,7 +32,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -421,7 +409,6 @@
+@@ -437,7 +425,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -40,7 +40,7 @@
- name: Provision site
run: |
-@@ -435,11 +422,6 @@
+@@ -451,11 +438,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli ./vendor/bin/vortex-provision
timeout-minutes: 30
@@ -52,7 +52,7 @@
- name: Test with PHPUnit
if: ${{ env.VORTEX_CI_IS_PHPUNIT_RUNNER == 'true' }}
run: docker compose exec -T cli vendor/bin/phpunit
-@@ -499,18 +481,6 @@
+@@ -515,18 +497,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/.circleci/config.yml
index 87d8397465..71fa1a182b 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_groups_no_fe_lint_no_theme_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -259,6 +266,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -277,6 +294,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -525,6 +544,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -600,3 +621,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/.github/workflows/build-test-deploy.yml
index 0b32b5b70d..7a9295885c 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -154,10 +154,6 @@
+@@ -159,10 +159,6 @@
run: docker compose exec -T cli vendor/bin/twig-cs-fixer
continue-on-error: ${{ vars.VORTEX_CI_TWIG_CS_FIXER_IGNORE_FAILURE == '1' }}
@@ -9,7 +9,7 @@
- name: Lint module code with NodeJS linters
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
-@@ -313,12 +309,6 @@
+@@ -329,12 +325,6 @@
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_SDC_DEVEL_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -22,7 +22,7 @@
container:
# https://hub.docker.com/r/drevops/ci-runner
-@@ -511,19 +501,6 @@
+@@ -527,19 +517,6 @@
exit 1
fi
continue-on-error: ${{ vars.VORTEX_CI_SDC_DEVEL_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/.circleci/config.yml
index 194ac3218b..7cbd60119b 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_behat_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -554,6 +573,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -629,3 +650,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint/.github/workflows/build-test-deploy.yml
index ada126edb3..9c2f6408e7 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -120,10 +120,6 @@
+@@ -125,10 +125,6 @@
done
continue-on-error: ${{ vars.VORTEX_CI_HADOLINT_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_circleci/.circleci/config.yml
index 3cf240711d..c4e2655362 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -280,6 +287,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -298,6 +315,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -567,6 +586,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -642,3 +663,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.env b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.env
index 93beae49d2..9f07ea5d17 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.env
@@ -1,4 +1,4 @@
-@@ -195,6 +195,29 @@
+@@ -213,6 +213,41 @@
VORTEX_FETCH_DB_ENVIRONMENT=prod
################################################################################
@@ -19,6 +19,18 @@
+# HTTP Basic Authentication credentials should be embedded into the value.
+VORTEX_FETCH_DB2_URL=
+
++# Database store of the second database dump file: ftp or s3.
++#
++# When set, the second database is fetched from the store instead of the
++# source. The nightly CI job fetches from the source and pushes the dump, as
++# fetched, to the store, next to the primary dump. Leave empty to fetch from
++# the source.
++VORTEX_FETCH_DB2_STORE=
++
++# Destinations the nightly CI job pushes the second database dump to, as
++# fetched, besides the database store: ftp, s3 or both.
++# VORTEX_PUSH_DB2_DESTINATIONS=ftp,s3
++
+# Environment to fetch the second database from.
+#
+# Applies to hosting environments.
@@ -28,7 +40,7 @@
# FILES SOURCE #
################################################################################
-@@ -268,3 +291,6 @@
+@@ -286,3 +321,6 @@
# URL of the database used for demonstration with URL database fetch type.
VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/__VERSION__/db.demo.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.github/workflows/build-test-deploy.yml
index f4e7a01167..dc5350e178 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_dclint_migration/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -120,10 +120,6 @@
+@@ -125,10 +125,6 @@
done
continue-on-error: ${{ vars.VORTEX_CI_HADOLINT_IGNORE_FAILURE == '1' }}
@@ -9,7 +9,7 @@
- name: Build stack
run: docker compose up --no-deps --detach cli
-@@ -270,6 +266,9 @@
+@@ -277,6 +273,9 @@
echo "db_hash=${{ hashFiles('.data') }}" >> "$GITHUB_ENV"
timeout-minutes: 30
@@ -19,7 +19,22 @@
- name: Export DB
run: |
if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> Database fetch semaphore file is missing. DB export will not proceed."; exit 0; fi
-@@ -431,6 +430,11 @@
+@@ -292,6 +291,14 @@
+ ./vendor/bin/vortex-push-db
+ timeout-minutes: 30
+
++ # Push the freshly-fetched migration database dump to its push destinations,
++ # next to the primary dump. No-op unless the push was requested.
++ - name: Push migration DB
++ run: |
++ if [ ! -f /tmp/fetch-db-fresh ]; then echo "==> No freshly fetched database. DB push will not proceed."; exit 0; fi
++ VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db
++ timeout-minutes: 30
++
+ # Save cache per default branch and the timestamp.
+ # The cache will not be saved if it already exists.
+ # Note that the cache fallback flag is enabled for this case in order
+@@ -447,6 +454,11 @@
docker compose exec cli mkdir -p .data
docker compose --progress quiet cp -L .data/db.sql cli:/app/.data/db.sql
rm -f .data/db.sql
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters/.github/workflows/build-test-deploy.yml
index ef406cba06..ec633d5dcf 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -113,17 +113,6 @@
+@@ -118,17 +118,6 @@
- name: Login to container registry
run: ./vendor/bin/vortex-login-container-registry
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters_circleci/.circleci/config.yml
index 64bcd3e9ab..4947eb56a7 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_docker_linters_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -273,6 +280,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -291,6 +308,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -560,6 +579,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -635,3 +656,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_stylelint/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_stylelint/.github/workflows/build-test-deploy.yml
index 9ff95c0bff..1365834034 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_stylelint/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_stylelint/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -132,7 +132,6 @@
+@@ -137,7 +137,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -6,7 +6,7 @@
- name: Validate Composer configuration is normalized
run: docker compose exec -T cli composer normalize --dry-run
-@@ -157,15 +156,6 @@
+@@ -162,15 +161,6 @@
- name: Lint code with Gherkin Lint
run: docker compose exec -T cli vendor/bin/gherkinlint lint tests/behat/features
continue-on-error: ${{ vars.VORTEX_CI_GHERKIN_LINT_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/.github/workflows/build-test-deploy.yml
index da2e5188f3..f41c2e8005 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_eslint_no_theme/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -162,11 +162,6 @@
+@@ -167,11 +167,6 @@
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -10,7 +10,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -312,7 +307,6 @@
+@@ -328,7 +323,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -18,7 +18,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +493,6 @@
+@@ -515,18 +509,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint/.github/workflows/build-test-deploy.yml
index 6d774889fb..731de580cc 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -113,13 +113,6 @@
+@@ -118,13 +118,6 @@
- name: Login to container registry
run: ./vendor/bin/vortex-login-container-registry
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint_circleci/.circleci/config.yml
index 37281e8ff5..88b3320a26 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_hadolint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -282,6 +289,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -300,6 +317,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -569,6 +588,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -644,3 +665,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest/.github/workflows/build-test-deploy.yml
index a4847a4654..89a432e1f2 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -310,7 +310,6 @@
+@@ -326,7 +326,6 @@
# https://www.vortextemplate.com/docs/continuous-integration#test-parallelism
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
@@ -6,7 +6,7 @@
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_SDC_DEVEL_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
# Runs on every instance, using the `p` profile.
-@@ -421,7 +420,6 @@
+@@ -437,7 +436,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -14,7 +14,7 @@
- name: Provision site
run: |
-@@ -434,11 +432,6 @@
+@@ -450,11 +448,6 @@
fi
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli ./vendor/bin/vortex-provision
timeout-minutes: 30
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest_circleci/.circleci/config.yml
index 52fdedfed1..88b8e61d8c 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_jest_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -568,6 +587,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -643,3 +664,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/.github/workflows/build-test-deploy.yml
index b6ca4aef6b..37d21c49a4 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -138,10 +138,6 @@
+@@ -143,10 +143,6 @@
run: docker compose exec -T cli composer normalize --dry-run
continue-on-error: ${{ vars.VORTEX_CI_COMPOSER_NORMALIZE_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/.circleci/config.yml
index f2aacd0e81..8abf6f4c0b 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpcs_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -572,6 +591,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -647,3 +668,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan/.github/workflows/build-test-deploy.yml
index 11d8ae51eb..516d8c7142 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -142,10 +142,6 @@
+@@ -147,10 +147,6 @@
run: docker compose exec -T cli vendor/bin/phpcs
continue-on-error: ${{ vars.VORTEX_CI_PHPCS_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan_circleci/.circleci/config.yml
index bf65b2a0ba..e57ff6a764 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpstan_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -572,6 +591,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -647,3 +668,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/.github/workflows/build-test-deploy.yml
index 83fae1f090..743b013e7f 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -311,7 +311,6 @@
+@@ -327,7 +327,6 @@
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -6,7 +6,7 @@
VORTEX_CI_IS_SDC_DEVEL_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
-@@ -439,66 +438,6 @@
+@@ -455,66 +454,6 @@
if: ${{ env.VORTEX_CI_IS_JEST_RUNNER == 'true' }}
run: docker compose exec -T cli bash -c "npm test"
continue-on-error: ${{ vars.VORTEX_CI_JEST_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/.circleci/config.yml
index affec2423a..ed767f7a7f 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_phpunit_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -535,6 +554,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -610,3 +631,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector/.github/workflows/build-test-deploy.yml
index dc3c9f074e..7f562195e9 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -146,10 +146,6 @@
+@@ -151,10 +151,6 @@
run: docker compose exec -T cli vendor/bin/phpstan
continue-on-error: ${{ vars.VORTEX_CI_PHPSTAN_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector_circleci/.circleci/config.yml
index 65af74315e..2a395d99aa 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_rector_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -572,6 +591,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -647,3 +668,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_circleci/.circleci/config.yml
index f56bdf626c..a80a7a1a90 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -289,6 +296,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -307,6 +324,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -576,6 +595,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -651,3 +672,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/.github/workflows/build-test-deploy.yml
index da2e5188f3..f41c2e8005 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_stylelint_no_theme/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -162,11 +162,6 @@
+@@ -167,11 +167,6 @@
run: docker compose exec -T cli bash -c "npm run lint"
continue-on-error: ${{ vars.VORTEX_CI_NODEJS_LINT_IGNORE_FAILURE == '1' }}
@@ -10,7 +10,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -312,7 +307,6 @@
+@@ -328,7 +323,6 @@
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
VORTEX_CI_IS_JEST_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
VORTEX_CI_IS_PHPUNIT_RUNNER: ${{ matrix.instance == 0 || strategy.job-total == 1 }}
@@ -18,7 +18,7 @@
# Runs on every instance, using the `p` profile.
VORTEX_CI_IS_BEHAT_RUNNER: true
# Subtracted from the instance index to derive the profile number. Raise
-@@ -499,18 +493,6 @@
+@@ -515,18 +509,6 @@
fi
env:
VORTEX_CI_CODE_COVERAGE_THRESHOLD: ${{ vars.VORTEX_CI_CODE_COVERAGE_THRESHOLD || '90' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig/.github/workflows/build-test-deploy.yml
index d0b0b38e1f..9c8e0f5bf6 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -150,10 +150,6 @@
+@@ -155,10 +155,6 @@
run: docker compose exec -T cli vendor/bin/rector --dry-run
continue-on-error: ${{ vars.VORTEX_CI_RECTOR_IGNORE_FAILURE == '1' }}
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig_circleci/.circleci/config.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig_circleci/.circleci/config.yml
index 5001ef54a4..1bc13f02e1 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig_circleci/.circleci/config.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_no_twig_circleci/.circleci/config.yml
@@ -9,6 +9,13 @@
# The "runner" container uses Docker client to control the remote Docker server.
version: '2.1'
+parameters:
+ # Refresh the database as on the nightly run, without building or deploying.
+ # Set it when triggering a pipeline from the CircleCI UI or API.
+ refresh_db:
+ type: boolean
+ default: false
+
aliases:
# SSH key fingerprint to fetch the database.
# Replace this key fingerprint with your own and remove this comment.
@@ -285,6 +292,16 @@ jobs:
./vendor/bin/vortex-refresh-db
no_output_timeout: 30m
+ # Push the freshly-exported sanitized database dump to the push
+ # destinations. No-op unless a fresh DB was fetched (the fetch semaphore) and
+ # the push was requested (VORTEX_PUSH_DB_PROCEED, in the script).
+ - run:
+ name: Push DB
+ command: |
+ [ ! -f /tmp/fetch-db-fresh ] && echo "==> No freshly fetched database. DB push will not proceed." && exit 0
+ ./vendor/bin/vortex-push-db
+ no_output_timeout: 30m
+
- save_cache:
# Save cache per default branch and the timestamp.
# The cache will not be saved if it already exists.
@@ -303,6 +320,8 @@ jobs:
VORTEX_DEPLOY_SSH_FINGERPRINT: *deploy_ssh_fingerprint
# Enforce fresh DB build (do not rely on fallback caches).
VORTEX_CI_DB_CACHE_FALLBACK: 'no'
+ # Push the sanitized database dump to the database store and destinations.
+ VORTEX_PUSH_DB_PROCEED: 1
# Do not build the Drupal front-end.
VORTEX_FRONTEND_BUILD_SKIP: 1
@@ -572,6 +591,8 @@ jobs:
workflows:
# Commit workflow. Runs for every commit push to the remote repository.
commit:
+ when:
+ not: << pipeline.parameters.refresh_db >>
jobs:
- database:
filters:
@@ -647,3 +668,10 @@ workflows:
- develop
jobs:
- database-nightly
+
+ # Database refresh workflow runs the nightly database job on demand, when a
+ # pipeline is triggered with the "refresh_db" parameter.
+ refresh-db:
+ when: << pipeline.parameters.refresh_db >>
+ jobs:
+ - database-nightly
diff --git a/.vortex/installer/tests/Fixtures/handler_process/tools_none/.github/workflows/build-test-deploy.yml b/.vortex/installer/tests/Fixtures/handler_process/tools_none/.github/workflows/build-test-deploy.yml
index ecbb0ad695..be73afbdfd 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/tools_none/.github/workflows/build-test-deploy.yml
+++ b/.vortex/installer/tests/Fixtures/handler_process/tools_none/.github/workflows/build-test-deploy.yml
@@ -1,4 +1,4 @@
-@@ -113,17 +113,6 @@
+@@ -118,17 +118,6 @@
- name: Login to container registry
run: ./vendor/bin/vortex-login-container-registry
@@ -16,7 +16,7 @@
- name: Build stack
run: docker compose up --no-deps --detach cli
-@@ -132,41 +121,11 @@
+@@ -137,41 +126,11 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -58,7 +58,7 @@
database:
runs-on: ubuntu-latest
if: ${{ !inputs.deploy_target && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
-@@ -310,15 +269,7 @@
+@@ -326,15 +285,7 @@
# https://www.vortextemplate.com/docs/continuous-integration#test-parallelism
VORTEX_CI_RUNNER_INDEX: ${{ strategy.job-index }}
VORTEX_CI_RUNNER_TOTAL: ${{ strategy.job-total }}
@@ -74,7 +74,7 @@
container:
# https://hub.docker.com/r/drevops/ci-runner
-@@ -421,7 +372,6 @@
+@@ -437,7 +388,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli bash -c " \
if [ -n \"\${PACKAGE_TOKEN:-}\" ]; then composer config --global --auth github-oauth.github.com \"\${PACKAGE_TOKEN}\"; fi && \
COMPOSER_MEMORY_LIMIT=-1 composer --ansi install --prefer-dist"
@@ -82,7 +82,7 @@
- name: Provision site
run: |
-@@ -435,71 +385,6 @@
+@@ -451,71 +401,6 @@
docker compose exec $(env | cut -f1 -d= | sed 's/^/-e /') -T cli ./vendor/bin/vortex-provision
timeout-minutes: 30
@@ -154,7 +154,7 @@
- name: Validate Single Directory Components
if: ${{ env.VORTEX_CI_IS_SDC_DEVEL_RUNNER == 'true' }}
run: |
-@@ -512,19 +397,6 @@
+@@ -528,19 +413,6 @@
fi
continue-on-error: ${{ vars.VORTEX_CI_SDC_DEVEL_IGNORE_FAILURE == '1' }}
@@ -174,7 +174,7 @@
- name: Process test logs and artifacts
if: always()
run: |
-@@ -541,16 +413,6 @@
+@@ -557,16 +429,6 @@
path: .logs
include-hidden-files: true
if-no-files-found: error
diff --git a/.vortex/installer/tests/Fixtures/handler_process/version_scheme_other/.env b/.vortex/installer/tests/Fixtures/handler_process/version_scheme_other/.env
index 7217f94ddf..9128f1f277 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/version_scheme_other/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/version_scheme_other/.env
@@ -1,4 +1,4 @@
-@@ -219,7 +219,7 @@
+@@ -237,7 +237,7 @@
#
# Can be one of: calver, semver, other
# @see https://www.vortextemplate.com/docs/releasing
diff --git a/.vortex/installer/tests/Fixtures/handler_process/version_scheme_semver/.env b/.vortex/installer/tests/Fixtures/handler_process/version_scheme_semver/.env
index 4bf3e13c95..a9c3058373 100644
--- a/.vortex/installer/tests/Fixtures/handler_process/version_scheme_semver/.env
+++ b/.vortex/installer/tests/Fixtures/handler_process/version_scheme_semver/.env
@@ -1,4 +1,4 @@
-@@ -219,7 +219,7 @@
+@@ -237,7 +237,7 @@
#
# Can be one of: calver, semver, other
# @see https://www.vortextemplate.com/docs/releasing
diff --git a/.vortex/installer/tests/Functional/Prompts/Handlers/BaselineHandlerProcessTest.php b/.vortex/installer/tests/Functional/Prompts/Handlers/BaselineHandlerProcessTest.php
index bbf02a388b..f00200ad88 100644
--- a/.vortex/installer/tests/Functional/Prompts/Handlers/BaselineHandlerProcessTest.php
+++ b/.vortex/installer/tests/Functional/Prompts/Handlers/BaselineHandlerProcessTest.php
@@ -10,6 +10,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\CiProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\CodeProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesAutomerge;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesProvider;
@@ -41,6 +42,7 @@
#[CoversClass(CiProvider::class)]
#[CoversClass(CodeProvider::class)]
#[CoversClass(DatabaseFetchSource::class)]
+#[CoversClass(DatabaseFetchStore::class)]
#[CoversClass(DatabaseImage::class)]
#[CoversClass(DependencyUpdatesAutomerge::class)]
#[CoversClass(DependencyUpdatesProvider::class)]
diff --git a/.vortex/installer/tests/Functional/Prompts/Handlers/DatabaseFetchSourceHandlerProcessTest.php b/.vortex/installer/tests/Functional/Prompts/Handlers/DatabaseFetchSourceHandlerProcessTest.php
index 9ca89d1241..67b5b8847b 100644
--- a/.vortex/installer/tests/Functional/Prompts/Handlers/DatabaseFetchSourceHandlerProcessTest.php
+++ b/.vortex/installer/tests/Functional/Prompts/Handlers/DatabaseFetchSourceHandlerProcessTest.php
@@ -6,10 +6,12 @@
use DrevOps\VortexInstaller\Prompts\Handlers\AiCodeInstructions;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DatabaseFetchSource::class)]
+#[CoversClass(DatabaseFetchStore::class)]
#[CoversClass(DatabaseImage::class)]
class DatabaseFetchSourceHandlerProcessTest extends AbstractHandlerProcessTestCase {
@@ -36,6 +38,30 @@ public static function dataProviderHandlerProcess(): \Iterator {
yield 'db_fetch_source_s3' => [
static::cw(fn(AbstractHandlerProcessTestCase $test): string => $test->prompts[DatabaseFetchSource::id()] = DatabaseFetchSource::S3),
];
+ yield 'db_fetch_store_ftp' => [
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->prompts[DatabaseFetchSource::id()] = DatabaseFetchSource::LAGOON;
+ $test->prompts[DatabaseFetchStore::id()] = DatabaseFetchStore::FTP;
+ }),
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_SOURCE=lagoon');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_STORE=ftp');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_FTP_HOST=');
+ $test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_S3_BUCKET');
+ }),
+ ];
+ yield 'db_fetch_store_s3' => [
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->prompts[DatabaseFetchSource::id()] = DatabaseFetchSource::URL;
+ $test->prompts[DatabaseFetchStore::id()] = DatabaseFetchStore::S3;
+ }),
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_SOURCE=url');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_STORE=s3');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_S3_BUCKET=');
+ $test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB_FTP_HOST');
+ }),
+ ];
}
}
diff --git a/.vortex/installer/tests/Functional/Prompts/Handlers/MigrationFetchSourceHandlerProcessTest.php b/.vortex/installer/tests/Functional/Prompts/Handlers/MigrationFetchSourceHandlerProcessTest.php
index 0c63da7a4c..ad0901f163 100644
--- a/.vortex/installer/tests/Functional/Prompts/Handlers/MigrationFetchSourceHandlerProcessTest.php
+++ b/.vortex/installer/tests/Functional/Prompts/Handlers/MigrationFetchSourceHandlerProcessTest.php
@@ -6,10 +6,12 @@
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationImage;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MigrationFetchSource::class)]
+#[CoversClass(MigrationFetchStore::class)]
class MigrationFetchSourceHandlerProcessTest extends AbstractHandlerProcessTestCase {
public static function dataProviderHandlerProcess(): \Iterator {
@@ -27,6 +29,22 @@ public static function dataProviderHandlerProcess(): \Iterator {
$test->assertFileNotContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'VORTEX_DB_INDEX=2 ./vendor/bin/vortex-refresh-db');
$test->assertFileNotContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'VORTEX_DB_IMAGE_BASE');
$test->assertFileNotContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'Deploy DB image');
+ $test->assertFileContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db');
+ $test->assertFileContainsString(static::$sut . '/.env', "VORTEX_FETCH_DB2_STORE=\n");
+ }),
+ ];
+ yield 'migration_fetch_store_ftp' => [
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->prompts[Migration::id()] = TRUE;
+ $test->prompts[MigrationFetchSource::id()] = MigrationFetchSource::URL;
+ $test->prompts[MigrationFetchStore::id()] = MigrationFetchStore::FTP;
+ }),
+ static::cw(function (AbstractHandlerProcessTestCase $test): void {
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_SOURCE=url');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_STORE=ftp');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_URL=');
+ $test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_FTP_HOST=');
+ $test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_S3_BUCKET');
}),
];
yield 'migration_fetch_source_ftp' => [
@@ -39,6 +57,7 @@ public static function dataProviderHandlerProcess(): \Iterator {
$test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_FTP_HOST');
$test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_URL=');
$test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_S3_BUCKET');
+ $test->assertFileContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db');
}),
];
yield 'migration_fetch_source_acquia' => [
@@ -75,6 +94,7 @@ public static function dataProviderHandlerProcess(): \Iterator {
$test->assertFileContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_S3_BUCKET');
$test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_URL=');
$test->assertFileNotContainsString(static::$sut . '/.env', 'VORTEX_FETCH_DB2_FTP_HOST');
+ $test->assertFileContainsString(static::$sut . '/.github/workflows/build-test-deploy.yml', 'VORTEX_DB_INDEX=2 ./vendor/bin/vortex-push-db');
}),
];
yield 'migration_fetch_source_container_registry' => [
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerDiscoveryTestCase.php b/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerDiscoveryTestCase.php
index f0ddf7bde2..a77df32196 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerDiscoveryTestCase.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerDiscoveryTestCase.php
@@ -14,6 +14,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\CodeProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\CustomModules;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesAutomerge;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesProvider;
@@ -28,6 +29,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\MachineName;
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationImage;
use DrevOps\VortexInstaller\Prompts\Handlers\ModulePrefix;
use DrevOps\VortexInstaller\Prompts\Handlers\Modules;
@@ -159,9 +161,11 @@ protected static function getExpectedDefaults(): array {
ProvisionType::id() => ProvisionType::DATABASE,
DatabaseFetchSource::id() => DatabaseFetchSource::URL,
DatabaseImage::id() => NULL,
+ DatabaseFetchStore::id() => DatabaseFetchStore::NONE,
Migration::id() => FALSE,
MigrationFetchSource::id() => NULL,
MigrationImage::id() => NULL,
+ MigrationFetchStore::id() => NULL,
CiProvider::id() => CiProvider::GITHUB_ACTIONS,
VisualRegression::id() => FALSE,
Lighthouse::id() => FALSE,
@@ -246,9 +250,11 @@ public static function defaultTuiAnswers(): array {
ProvisionType::id() => static::TUI_DEFAULT,
DatabaseFetchSource::id() => static::TUI_DEFAULT,
DatabaseImage::id() => static::TUI_SKIP,
+ DatabaseFetchStore::id() => static::TUI_DEFAULT,
Migration::id() => static::TUI_DEFAULT,
MigrationFetchSource::id() => static::TUI_SKIP,
MigrationImage::id() => static::TUI_SKIP,
+ MigrationFetchStore::id() => static::TUI_SKIP,
NotificationChannels::id() => static::TUI_DEFAULT,
CiProvider::id() => static::TUI_DEFAULT,
VisualRegression::id() => static::TUI_DEFAULT,
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerTypeTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerTypeTest.php
index 735911c6fb..7a3b19e66a 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerTypeTest.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/AbstractHandlerTypeTest.php
@@ -13,6 +13,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\CodeProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\CustomModules;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesAutomerge;
use DrevOps\VortexInstaller\Prompts\Handlers\DependencyUpdatesProvider;
@@ -27,6 +28,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\MachineName;
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationImage;
use DrevOps\VortexInstaller\Prompts\Handlers\ModulePrefix;
use DrevOps\VortexInstaller\Prompts\Handlers\Modules;
@@ -99,7 +101,9 @@ public static function dataProviderTypeInference(): \Iterator {
yield 'hosting_provider' => [HostingProvider::id(), PromptType::Select];
yield 'provision_type' => [ProvisionType::id(), PromptType::Select];
yield 'database_fetch_source' => [DatabaseFetchSource::id(), PromptType::Select];
+ yield 'database_fetch_store' => [DatabaseFetchStore::id(), PromptType::Select];
yield 'migration_fetch_source' => [MigrationFetchSource::id(), PromptType::Select];
+ yield 'migration_fetch_store' => [MigrationFetchStore::id(), PromptType::Select];
yield 'ci_provider' => [CiProvider::id(), PromptType::Select];
yield 'dependency_updates_provider' => [DependencyUpdatesProvider::id(), PromptType::Select];
yield 'code_coverage_provider' => [CodeCoverageProvider::id(), PromptType::Select];
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseFetchStoreHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseFetchStoreHandlerDiscoveryTest.php
new file mode 100644
index 0000000000..eacfbab1e6
--- /dev/null
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseFetchStoreHandlerDiscoveryTest.php
@@ -0,0 +1,72 @@
+ [
+ [DatabaseFetchStore::id() => self::KEY_ENTER],
+ [DatabaseFetchStore::id() => DatabaseFetchStore::NONE] + $expected_defaults,
+ ];
+ yield 'database fetch store - prompt - ftp' => [
+ [DatabaseFetchStore::id() => self::KEY_DOWN . self::KEY_ENTER],
+ [DatabaseFetchStore::id() => DatabaseFetchStore::FTP] + $expected_defaults,
+ ];
+ yield 'database fetch store - prompt - s3' => [
+ [DatabaseFetchStore::id() => self::KEY_DOWN . self::KEY_DOWN . self::KEY_ENTER],
+ [DatabaseFetchStore::id() => DatabaseFetchStore::S3] + $expected_defaults,
+ ];
+ yield 'database fetch store - prompt - source excluded' => [
+ [
+ DatabaseFetchSource::id() => self::KEY_DOWN . self::KEY_ENTER,
+ DatabaseFetchStore::id() => self::KEY_DOWN . self::KEY_ENTER,
+ ],
+ [DatabaseFetchSource::id() => DatabaseFetchSource::FTP, DatabaseFetchStore::id() => DatabaseFetchStore::S3] + $expected_defaults,
+ ];
+ yield 'database fetch store - skipped - source none' => [
+ [
+ DatabaseFetchSource::id() => str_repeat(self::KEY_DOWN, 6) . self::KEY_ENTER,
+ DatabaseFetchStore::id() => static::TUI_SKIP,
+ ],
+ [DatabaseFetchSource::id() => DatabaseFetchSource::NONE, DatabaseFetchStore::id() => NULL] + $expected_defaults,
+ ];
+ yield 'database fetch store - discovery - ftp' => [
+ [],
+ [DatabaseFetchStore::id() => DatabaseFetchStore::FTP] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB_STORE', DatabaseFetchStore::FTP);
+ },
+ ];
+ yield 'database fetch store - discovery - s3' => [
+ [],
+ [DatabaseFetchStore::id() => DatabaseFetchStore::S3] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB_STORE', DatabaseFetchStore::S3);
+ },
+ ];
+ yield 'database fetch store - discovery - empty' => [
+ [],
+ $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB_STORE', '');
+ },
+ ];
+ yield 'database fetch store - discovery - invalid' => [
+ [],
+ $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB_STORE', 'invalid_store');
+ },
+ ];
+ }
+
+}
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseImageHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseImageHandlerDiscoveryTest.php
index 2eaf11b04d..9f54dbffef 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseImageHandlerDiscoveryTest.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/DatabaseImageHandlerDiscoveryTest.php
@@ -5,6 +5,7 @@
namespace DrevOps\VortexInstaller\Tests\Unit\Prompts\Handlers;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Utils\Config;
use PHPUnit\Framework\Attributes\CoversClass;
@@ -18,13 +19,15 @@ public static function dataProviderRunPrompts(): \Iterator {
[
DatabaseFetchSource::id() => self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_ENTER,
DatabaseImage::id() => 'myregistry/myimage:mytag',
+ DatabaseFetchStore::id() => static::TUI_SKIP,
],
- [DatabaseFetchSource::id() => DatabaseFetchSource::CONTAINER_REGISTRY, DatabaseImage::id() => 'myregistry/myimage:mytag'] + $expected_defaults,
+ [DatabaseFetchSource::id() => DatabaseFetchSource::CONTAINER_REGISTRY, DatabaseImage::id() => 'myregistry/myimage:mytag', DatabaseFetchStore::id() => NULL] + $expected_defaults,
];
yield 'database image - invalid' => [
[
DatabaseFetchSource::id() => self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_ENTER,
DatabaseImage::id() => 'myregistry:myimage:mytag',
+ DatabaseFetchStore::id() => static::TUI_SKIP,
],
'Please enter a valid container image name with an optional tag.',
];
@@ -32,6 +35,7 @@ public static function dataProviderRunPrompts(): \Iterator {
[
DatabaseFetchSource::id() => self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_ENTER,
DatabaseImage::id() => 'MyRegistry/MyImage:mytag',
+ DatabaseFetchStore::id() => static::TUI_SKIP,
],
'Please enter a valid container image name with an optional tag.',
];
@@ -39,10 +43,12 @@ public static function dataProviderRunPrompts(): \Iterator {
[
DatabaseFetchSource::id() => self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_DOWN . self::KEY_ENTER,
DatabaseImage::id() => static::TUI_DEFAULT,
+ DatabaseFetchStore::id() => static::TUI_SKIP,
],
[
DatabaseFetchSource::id() => DatabaseFetchSource::CONTAINER_REGISTRY,
DatabaseImage::id() => 'discovered_owner/discovered_image:tag',
+ DatabaseFetchStore::id() => NULL,
] + $expected_defaults,
function (AbstractHandlerDiscoveryTestCase $test, Config $config): void {
$test->stubDotenvValue('VORTEX_DB_IMAGE', 'discovered_owner/discovered_image:tag');
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchSourceHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchSourceHandlerDiscoveryTest.php
index 2e800ecf29..53888550e6 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchSourceHandlerDiscoveryTest.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchSourceHandlerDiscoveryTest.php
@@ -6,6 +6,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MigrationFetchSource::class)]
@@ -17,22 +18,25 @@ public static function dataProviderRunPrompts(): \Iterator {
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
];
yield 'migration download source - prompt - ftp' => [
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_DOWN . self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::FTP] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::FTP, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
];
yield 'migration download source - discovery' => [
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::FTP] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::FTP, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
function (AbstractHandlerDiscoveryTestCase $test): void {
$test->stubDotenvValue('VORTEX_FETCH_DB2_SOURCE', MigrationFetchSource::FTP);
},
@@ -41,8 +45,9 @@ function (AbstractHandlerDiscoveryTestCase $test): void {
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::S3] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::S3, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
function (AbstractHandlerDiscoveryTestCase $test): void {
$test->stubDotenvValue('VORTEX_FETCH_DB2_SOURCE', MigrationFetchSource::S3);
},
@@ -51,8 +56,9 @@ function (AbstractHandlerDiscoveryTestCase $test): void {
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
function (AbstractHandlerDiscoveryTestCase $test): void {
$test->stubDotenvValue('VORTEX_FETCH_DB2_SOURCE', 'invalid_source');
},
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchStoreHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchStoreHandlerDiscoveryTest.php
new file mode 100644
index 0000000000..9dedc86206
--- /dev/null
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationFetchStoreHandlerDiscoveryTest.php
@@ -0,0 +1,103 @@
+ [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
+ ];
+ yield 'migration fetch store - prompt - ftp' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_DOWN . self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::FTP] + $expected_defaults,
+ ];
+ yield 'migration fetch store - prompt - source excluded' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_DOWN . self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_DOWN . self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::FTP, MigrationFetchStore::id() => MigrationFetchStore::S3] + $expected_defaults,
+ ];
+ yield 'migration fetch store - skipped - container registry' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => str_repeat(self::KEY_DOWN, 4) . self::KEY_ENTER,
+ MigrationImage::id() => static::TUI_DEFAULT,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::CONTAINER_REGISTRY, MigrationImage::id() => 'myprojectorg/myproject-data-migration:latest'] + $expected_defaults,
+ ];
+ yield 'migration fetch store - skipped - migration disabled' => [
+ [],
+ $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB2_STORE', MigrationFetchStore::FTP);
+ },
+ ];
+ yield 'migration fetch store - discovery - ftp' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::FTP] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB2_STORE', MigrationFetchStore::FTP);
+ },
+ ];
+ yield 'migration fetch store - discovery - s3' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::S3] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB2_STORE', MigrationFetchStore::S3);
+ },
+ ];
+ yield 'migration fetch store - discovery - empty' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB2_STORE', '');
+ },
+ ];
+ yield 'migration fetch store - discovery - invalid' => [
+ [
+ Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
+ MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
+ ],
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
+ function (AbstractHandlerDiscoveryTestCase $test): void {
+ $test->stubDotenvValue('VORTEX_FETCH_DB2_STORE', 'invalid_store');
+ },
+ ];
+ }
+
+}
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationHandlerDiscoveryTest.php
index ca38df3687..1f8a7b5d0e 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationHandlerDiscoveryTest.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/MigrationHandlerDiscoveryTest.php
@@ -6,6 +6,7 @@
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\Services;
use DrevOps\VortexInstaller\Utils\Config;
use DrevOps\VortexInstaller\Utils\File;
@@ -26,14 +27,16 @@ public static function dataProviderRunPrompts(): \Iterator {
[
Migration::id() => self::KEY_LEFT . self::KEY_ENTER,
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL] + $expected_defaults,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_defaults,
];
yield 'migration - discovery - database2 exists' => [
[
MigrationFetchSource::id() => self::KEY_ENTER,
+ MigrationFetchStore::id() => self::KEY_ENTER,
],
- [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL] + $expected_installed,
+ [Migration::id() => TRUE, MigrationFetchSource::id() => MigrationFetchSource::URL, MigrationFetchStore::id() => MigrationFetchStore::NONE] + $expected_installed,
function (AbstractHandlerDiscoveryTestCase $test, Config $config): void {
$test->stubVortexProject($config);
File::dump(static::$sut . '/docker-compose.yml', Yaml::dump(['services' => ['database2' => [], Services::CLAMAV => [], Services::REDIS => [], Services::SOLR => []]]));
diff --git a/.vortex/installer/tests/Unit/Prompts/Handlers/ProvisionTypeHandlerDiscoveryTest.php b/.vortex/installer/tests/Unit/Prompts/Handlers/ProvisionTypeHandlerDiscoveryTest.php
index 699d1c462e..108ecb95e7 100644
--- a/.vortex/installer/tests/Unit/Prompts/Handlers/ProvisionTypeHandlerDiscoveryTest.php
+++ b/.vortex/installer/tests/Unit/Prompts/Handlers/ProvisionTypeHandlerDiscoveryTest.php
@@ -5,6 +5,7 @@
namespace DrevOps\VortexInstaller\Tests\Unit\Prompts\Handlers;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\ProvisionType;
use DrevOps\VortexInstaller\Utils\Config;
use PHPUnit\Framework\Attributes\CoversClass;
@@ -27,7 +28,7 @@ function (AbstractHandlerDiscoveryTestCase $test, Config $config): void {
];
yield 'provision type - discovery - profile' => [
[],
- [ProvisionType::id() => ProvisionType::PROFILE, DatabaseFetchSource::id() => DatabaseFetchSource::NONE] + $expected_defaults,
+ [ProvisionType::id() => ProvisionType::PROFILE, DatabaseFetchSource::id() => DatabaseFetchSource::NONE, DatabaseFetchStore::id() => NULL] + $expected_defaults,
function (AbstractHandlerDiscoveryTestCase $test, Config $config): void {
$test->stubDotenvValue('VORTEX_PROVISION_TYPE', ProvisionType::PROFILE);
},
diff --git a/.vortex/installer/tests/Unit/Schema/SchemaGeneratorTest.php b/.vortex/installer/tests/Unit/Schema/SchemaGeneratorTest.php
index 666a492abe..d252aa6597 100644
--- a/.vortex/installer/tests/Unit/Schema/SchemaGeneratorTest.php
+++ b/.vortex/installer/tests/Unit/Schema/SchemaGeneratorTest.php
@@ -8,11 +8,13 @@
use DrevOps\VortexInstaller\Prompts\Handlers\AiCodeReview;
use DrevOps\VortexInstaller\Prompts\Handlers\CiProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\DatabaseImage;
use DrevOps\VortexInstaller\Prompts\Handlers\HostingProjectName;
use DrevOps\VortexInstaller\Prompts\Handlers\HostingProvider;
use DrevOps\VortexInstaller\Prompts\Handlers\Migration;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchSource;
+use DrevOps\VortexInstaller\Prompts\Handlers\MigrationFetchStore;
use DrevOps\VortexInstaller\Prompts\Handlers\MigrationImage;
use DrevOps\VortexInstaller\Prompts\Handlers\Name;
use DrevOps\VortexInstaller\Prompts\Handlers\ProfileCustom;
@@ -78,6 +80,8 @@ public static function dataProviderPromptTypes(): \Iterator {
yield 'ci_provider' => [CiProvider::id(), 'select'];
yield 'migration' => [Migration::id(), 'confirm'];
yield 'database_image' => [DatabaseImage::id(), 'text'];
+ yield 'database_fetch_store' => [DatabaseFetchStore::id(), 'select'];
+ yield 'migration_fetch_store' => [MigrationFetchStore::id(), 'select'];
yield 'ai_code_instructions' => [AiCodeInstructions::id(), 'confirm'];
yield 'ai_code_review' => [AiCodeReview::id(), 'confirm'];
}
@@ -118,8 +122,10 @@ public static function dataProviderDependsOnFormat(): \Iterator {
yield 'theme_custom' => [ThemeCustom::id()];
yield 'database_fetch_source' => [DatabaseFetchSource::id()];
yield 'database_image' => [DatabaseImage::id()];
+ yield 'database_fetch_store' => [DatabaseFetchStore::id()];
yield 'migration_fetch_source' => [MigrationFetchSource::id()];
yield 'migration_image' => [MigrationImage::id()];
+ yield 'migration_fetch_store' => [MigrationFetchStore::id()];
}
public function testUtilityHandlersExcluded(): void {
diff --git a/.vortex/tooling/composer.json b/.vortex/tooling/composer.json
index 492b6c507a..662ed2da14 100644
--- a/.vortex/tooling/composer.json
+++ b/.vortex/tooling/composer.json
@@ -35,6 +35,7 @@
"src/vortex-logout",
"src/vortex-notify",
"src/vortex-provision",
+ "src/vortex-push-db",
"src/vortex-push-db-image",
"src/vortex-refresh-db",
"src/vortex-reset",
diff --git a/.vortex/tooling/playground/try-fetch-db-ftp.sh b/.vortex/tooling/playground/try-fetch-db-ftp.sh
new file mode 100755
index 0000000000..6772da9ec5
--- /dev/null
+++ b/.vortex/tooling/playground/try-fetch-db-ftp.sh
@@ -0,0 +1,65 @@
+#!/usr/bin/env bash
+##
+# Manual test script for FTP database fetch.
+#
+# Downloads the latest database dump file from an FTP server using
+# fetch-db-ftp, for example with a read-only Storage Box subaccount.
+#
+# Usage:
+# export FTP_HOST="ftp.example.com"
+# export FTP_PORT="21"
+# export FTP_USER="your-read-user"
+# export FTP_PASS="your-read-password"
+# export FTP_FILE="path/to/db.sql"
+# ./try-fetch-db-ftp.sh
+
+set -eu
+
+# Source secrets if available.
+if [ -f "$HOME/.profile.secrets" ]; then
+ # shellcheck disable=SC1091
+ . "$HOME/.profile.secrets"
+fi
+
+# Get the directory of this script and navigate to project root.
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
+
+# FTP credentials and settings.
+FTP_HOST="${FTP_HOST:-}"
+FTP_PORT="${FTP_PORT:-21}"
+FTP_USER="${FTP_USER:-}"
+FTP_PASS="${FTP_PASS:-}"
+FTP_FILE="${FTP_FILE:-db.sql}"
+
+# Validate required variables.
+for name in FTP_HOST FTP_USER FTP_PASS; do
+ if [ -z "${!name}" ]; then
+ echo "Error: ${name} environment variable is required"
+ echo "Usage: export ${name}=\"...\" && $0"
+ exit 1
+ fi
+done
+
+db_dir="${VORTEX_DB_DIR:-./.data}"
+db_file="${VORTEX_DB_FILE:-db.sql}"
+
+echo "Testing FTP database fetch..."
+echo ""
+echo "FTP host: ${FTP_HOST}:${FTP_PORT}"
+echo "FTP file: ${FTP_FILE}"
+echo "Local file: ${db_dir}/${db_file}"
+echo ""
+
+cd "${PROJECT_ROOT}" || exit 1
+
+export VORTEX_FETCH_DB_FTP_HOST="${FTP_HOST}"
+export VORTEX_FETCH_DB_FTP_PORT="${FTP_PORT}"
+export VORTEX_FETCH_DB_FTP_USER="${FTP_USER}"
+export VORTEX_FETCH_DB_FTP_PASS="${FTP_PASS}"
+export VORTEX_FETCH_DB_FTP_FILE="${FTP_FILE}"
+
+./vendor/drevops/vortex-tooling/src/vortex-fetch-db-ftp
+
+echo ""
+echo "Fetch complete!"
diff --git a/.vortex/tooling/playground/try-push-db-ftp.sh b/.vortex/tooling/playground/try-push-db-ftp.sh
new file mode 100755
index 0000000000..1716701ae0
--- /dev/null
+++ b/.vortex/tooling/playground/try-push-db-ftp.sh
@@ -0,0 +1,71 @@
+#!/usr/bin/env bash
+##
+# Manual test script for FTP database push.
+#
+# Uploads a database dump file to an FTP server using push-db-ftp. Run it
+# twice to check that the second run replaces 'db.sql'. Set
+# VORTEX_PUSH_DB_TIMESTAMPED_COPY=1 to also upload a timestamped copy.
+#
+# Usage:
+# export FTP_HOST="ftp.example.com"
+# export FTP_PORT="21"
+# export FTP_USER="your-user"
+# export FTP_PASS="your-password"
+# export FTP_FILE="path/to/db.sql"
+# ./try-push-db-ftp.sh
+
+set -eu
+
+# Source secrets if available.
+if [ -f "$HOME/.profile.secrets" ]; then
+ # shellcheck disable=SC1091
+ . "$HOME/.profile.secrets"
+fi
+
+# Get the directory of this script and navigate to project root.
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
+
+# FTP credentials and settings.
+FTP_HOST="${FTP_HOST:-}"
+FTP_PORT="${FTP_PORT:-21}"
+FTP_USER="${FTP_USER:-}"
+FTP_PASS="${FTP_PASS:-}"
+FTP_FILE="${FTP_FILE:-db.sql}"
+
+# Validate required variables.
+for name in FTP_HOST FTP_USER FTP_PASS; do
+ if [ -z "${!name}" ]; then
+ echo "Error: ${name} environment variable is required"
+ echo "Usage: export ${name}=\"...\" && $0"
+ exit 1
+ fi
+done
+
+cd "${PROJECT_ROOT}" || exit 1
+
+# Create a test dump file when none exists.
+db_dir="${VORTEX_DB_DIR:-./.data}"
+db_file="${VORTEX_DB_FILE:-db.sql}"
+if [ ! -f "${db_dir}/${db_file}" ]; then
+ mkdir -p "${db_dir}"
+ echo "-- Test dump created by try-push-db-ftp.sh on $(date -u)" >"${db_dir}/${db_file}"
+fi
+
+echo "Testing FTP database push..."
+echo ""
+echo "FTP host: ${FTP_HOST}:${FTP_PORT}"
+echo "FTP file: ${FTP_FILE}"
+echo "Local file: ${db_dir}/${db_file}"
+echo ""
+
+export VORTEX_PUSH_DB_FTP_HOST="${FTP_HOST}"
+export VORTEX_PUSH_DB_FTP_PORT="${FTP_PORT}"
+export VORTEX_PUSH_DB_FTP_USER="${FTP_USER}"
+export VORTEX_PUSH_DB_FTP_PASS="${FTP_PASS}"
+export VORTEX_PUSH_DB_FTP_FILE="${FTP_FILE}"
+
+./vendor/drevops/vortex-tooling/src/vortex-push-db-ftp
+
+echo ""
+echo "Push complete!"
diff --git a/.vortex/tooling/src/vortex-fetch-db b/.vortex/tooling/src/vortex-fetch-db
index 1cc7d7acf7..27025ad873 100755
--- a/.vortex/tooling/src/vortex-fetch-db
+++ b/.vortex/tooling/src/vortex-fetch-db
@@ -23,10 +23,22 @@ _db_index="${VORTEX_DB_INDEX:-}"
_v="VORTEX_FETCH_DB${_db_index}_SOURCE"
VORTEX_FETCH_DB_SOURCE="${!_v:-url}"
+# Sanitized store of the database dump file: 'ftp' or 's3'.
+#
+# When set, the database is fetched from the store instead of the source. The
+# nightly CI job fetches from the source, sanitizes the database and pushes
+# the dump to the store. Leave empty to fetch from the source.
+_v="VORTEX_FETCH_DB${_db_index}_STORE"
+VORTEX_FETCH_DB_STORE="${!_v:-}"
+
# Force DB fetch even if the cache exists.
_v="VORTEX_FETCH_DB${_db_index}_FORCE"
VORTEX_FETCH_DB_FORCE="${!_v:-}"
+# Fetch a fresh database backup from the source.
+_v="VORTEX_FETCH_DB${_db_index}_FRESH"
+VORTEX_FETCH_DB_FRESH="${!_v:-}"
+
# Proceed with fetch.
_v="VORTEX_FETCH_DB${_db_index}_PROCEED"
VORTEX_FETCH_DB_PROCEED="${!_v:-1}"
@@ -55,6 +67,30 @@ info "Started database${_db_index:+ ${_db_index}} fetch."
[ "${VORTEX_FETCH_DB_PROCEED}" != "1" ] && pass "Skipped database fetch as VORTEX_FETCH_DB_PROCEED is not set to 1." && exit 0
+# A push refreshes the store from the source, so with a push requested the
+# database is fetched from the source. The store may hold no dump yet on the
+# first push.
+if [ -n "${VORTEX_FETCH_DB_STORE}" ]; then
+ case "${VORTEX_FETCH_DB_STORE}" in
+ ftp | s3) ;;
+ *) fail "Unsupported database store \"${VORTEX_FETCH_DB_STORE}\" in VORTEX_FETCH_DB${_db_index}_STORE. Use one of: ftp, s3." ;;
+ esac
+
+ case "${VORTEX_FETCH_DB_SOURCE}" in
+ "${VORTEX_FETCH_DB_STORE}" | container_registry | none) fail "The database store in VORTEX_FETCH_DB${_db_index}_STORE is refreshed from a database dump file, but VORTEX_FETCH_DB${_db_index}_SOURCE is \"${VORTEX_FETCH_DB_SOURCE}\". Set the source to another source of the dump file: url, ftp, acquia, lagoon or s3." ;;
+ esac
+
+ if [ "${VORTEX_PUSH_DB_PROCEED:-}" = "1" ]; then
+ note "Fetching from the ${VORTEX_FETCH_DB_SOURCE} source to refresh the ${VORTEX_FETCH_DB_STORE} store as VORTEX_PUSH_DB_PROCEED is set to 1."
+ else
+ note "Fetching from the ${VORTEX_FETCH_DB_STORE} store in VORTEX_FETCH_DB${_db_index}_STORE."
+ # The store holds the dump of its last refresh, so a fresh backup needs
+ # a refresh of the store first.
+ [ "${VORTEX_FETCH_DB_FRESH}" = "1" ] && note "The ${VORTEX_FETCH_DB_STORE} store holds the database from its last refresh. Run the database refresh in CI to store a fresh database first."
+ VORTEX_FETCH_DB_SOURCE="${VORTEX_FETCH_DB_STORE}"
+ fi
+fi
+
# The fetch script is resolved before the existing dump check, so an
# unsupported source fails even when a cached dump would be reused.
case "${VORTEX_FETCH_DB_SOURCE}" in
diff --git a/.vortex/tooling/src/vortex-fetch-db-ftp b/.vortex/tooling/src/vortex-fetch-db-ftp
index c7c190d193..2119b31768 100755
--- a/.vortex/tooling/src/vortex-fetch-db-ftp
+++ b/.vortex/tooling/src/vortex-fetch-db-ftp
@@ -35,6 +35,13 @@ VORTEX_FETCH_DB_FTP_PORT="${!_v:-}"
_v="VORTEX_FETCH_DB${_db_index}_FTP_FILE"
VORTEX_FETCH_DB_FTP_FILE="${!_v:-}"
+# The directory on the FTP server that holds the file.
+#
+# Joined in front of the file name. Leading and trailing slashes are optional.
+# Empty for the root directory of the FTP account.
+_v="VORTEX_FETCH_DB${_db_index}_FTP_DIR"
+VORTEX_FETCH_DB_FTP_DIR="${!_v:-}"
+
# Directory with database dump file.
_v="VORTEX_FETCH_DB${_db_index}_FTP_DB_DIR"
_vs="VORTEX_FETCH_DB${_db_index}_DIR"
@@ -57,6 +64,19 @@ pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START)
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; exit "${2:-1}"; }
# @formatter:on
+# Print a remote directory with no leading slash and 1 trailing slash, so it
+# joins a file name. Prints nothing for an empty or root directory.
+ftp_dir() {
+ local dir="${1}"
+
+ while [[ ${dir} == /* ]]; do dir="${dir#/}"; done
+ while [[ ${dir} == */ ]]; do dir="${dir%/}"; done
+
+ if [ -n "${dir}" ]; then
+ printf '%s/' "${dir}"
+ fi
+}
+
# shellcheck disable=SC2043
for cmd in curl; do command -v "${cmd}" >/dev/null || fail "Command ${cmd} is not available."; done
@@ -66,10 +86,18 @@ for cmd in curl; do command -v "${cmd}" >/dev/null || fail "Command ${cmd} is no
[ -z "${VORTEX_FETCH_DB_FTP_PORT}" ] && fail "Missing required value for VORTEX_FETCH_DB_FTP_PORT."
[ -z "${VORTEX_FETCH_DB_FTP_FILE}" ] && fail "Missing required value for VORTEX_FETCH_DB_FTP_FILE."
+remote_dir="$(ftp_dir "${VORTEX_FETCH_DB_FTP_DIR}")"
+remote_file="${VORTEX_FETCH_DB_FTP_FILE}"
+if [ -n "${remote_dir}" ]; then
+ remote_file="${remote_dir}${remote_file#/}"
+fi
+
info "Started database dump fetch from FTP."
+note "Remote file: ${remote_file}"
+
mkdir -p "${VORTEX_FETCH_DB_FTP_DB_DIR}"
-curl -u "${VORTEX_FETCH_DB_FTP_USER}":"${VORTEX_FETCH_DB_FTP_PASS}" "ftp://${VORTEX_FETCH_DB_FTP_HOST}:${VORTEX_FETCH_DB_FTP_PORT}/${VORTEX_FETCH_DB_FTP_FILE}" -o "${VORTEX_FETCH_DB_FTP_DB_DIR}/${VORTEX_FETCH_DB_FTP_DB_FILE}"
+curl -u "${VORTEX_FETCH_DB_FTP_USER}":"${VORTEX_FETCH_DB_FTP_PASS}" "ftp://${VORTEX_FETCH_DB_FTP_HOST}:${VORTEX_FETCH_DB_FTP_PORT}/${remote_file}" -o "${VORTEX_FETCH_DB_FTP_DB_DIR}/${VORTEX_FETCH_DB_FTP_DB_FILE}"
pass "Finished database dump fetch from FTP."
diff --git a/.vortex/tooling/src/vortex-push-db b/.vortex/tooling/src/vortex-push-db
new file mode 100755
index 0000000000..25760989cf
--- /dev/null
+++ b/.vortex/tooling/src/vortex-push-db
@@ -0,0 +1,93 @@
+#!/usr/bin/env bash
+##
+# Push database dump.
+#
+# This is a router script to call relevant scripts based on type.
+#
+# The database dump file is pushed to the database store in
+# VORTEX_FETCH_DB_STORE and to every destination in
+# VORTEX_PUSH_DB_DESTINATIONS, such as 'ftp,s3'. The database is always
+# fetched from 1 place.
+#
+# With VORTEX_DB_INDEX set (e.g., "2" for the migration database), the
+# indexed database pushes its own dump file with the indexed variables, so
+# several databases share 1 storage.
+#
+# IMPORTANT! This script runs outside the container on the host system.
+#
+# shellcheck disable=SC1090,SC1091
+
+t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && if [ -f ./.env.local ]; then . ./.env.local; fi && set +a && . "${t}" && rm "${t}" && unset t
+
+set -eu
+[ "${VORTEX_DEBUG-}" = "1" ] && set -x
+
+# Database index suffix. When set (e.g., "2"), all DB-related variable lookups
+# use the indexed variant.
+_db_index="${VORTEX_DB_INDEX:-}"
+
+# Proceed with push.
+#
+# Set to 1 in the nightly CI job only, so the storage is refreshed once a day
+# and never from a feature branch build.
+VORTEX_PUSH_DB_PROCEED="${VORTEX_PUSH_DB_PROCEED:-}"
+
+# Destinations to push the database dump file to besides the database store:
+# 'ftp', 's3' or both, separated by commas or spaces.
+#
+# Each destination reads its own variables, such as VORTEX_PUSH_DB_FTP_HOST
+# for 'ftp'.
+_v="VORTEX_PUSH_DB${_db_index}_DESTINATIONS"
+VORTEX_PUSH_DB_DESTINATIONS="${!_v:-}"
+
+# Database fetch source.
+_v="VORTEX_FETCH_DB${_db_index}_SOURCE"
+VORTEX_FETCH_DB_SOURCE="${!_v:-url}"
+
+# Database store, which receives the pushed database dump file.
+_v="VORTEX_FETCH_DB${_db_index}_STORE"
+VORTEX_FETCH_DB_STORE="${!_v:-}"
+
+# ------------------------------------------------------------------------------
+
+# @formatter:off
+info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
+note() { printf " %s\n" "${1}"; }
+task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
+pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
+fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; exit "${2:-1}"; }
+# @formatter:on
+
+info "Started database${_db_index:+ ${_db_index}} push."
+
+[ "${VORTEX_PUSH_DB_PROCEED}" != "1" ] && pass "Skipped database push as VORTEX_PUSH_DB_PROCEED is not set to 1." && exit 0
+
+destinations=()
+for destination in ${VORTEX_FETCH_DB_STORE} ${VORTEX_PUSH_DB_DESTINATIONS//,/ }; do
+ case "${destination}" in
+ ftp | s3) ;;
+ *) fail "Unsupported database push destination \"${destination}\" in VORTEX_FETCH_DB${_db_index}_STORE or VORTEX_PUSH_DB${_db_index}_DESTINATIONS. Use one or more of: ftp, s3." ;;
+ esac
+
+ # Pushing to the fetch source replaces the dump the database was fetched
+ # from with its own export.
+ [ "${destination}" = "${VORTEX_FETCH_DB_SOURCE}" ] && fail "Refused to push the database to the \"${destination}\" fetch source, as the push would replace the dump the database was fetched from."
+
+ # The store can also be listed as a destination.
+ [[ " ${destinations[*]:-} " == *" ${destination} "* ]] && continue
+
+ destinations+=("${destination}")
+done
+
+[ "${#destinations[@]}" -eq 0 ] && pass "Skipped database push as VORTEX_FETCH_DB${_db_index}_STORE and VORTEX_PUSH_DB${_db_index}_DESTINATIONS are empty." && exit 0
+
+# The pushed dump leaves the hosting and CI, so it must be sanitized. Only the
+# primary database is sanitized: an indexed database is pushed as fetched.
+[ -z "${_db_index}" ] && [ "${VORTEX_PROVISION_SANITIZE_DB_SKIP:-}" = "1" ] && fail "Refused to push the database as VORTEX_PROVISION_SANITIZE_DB_SKIP is set to 1 and the database dump is not sanitized."
+
+for destination in "${destinations[@]}"; do
+ note "Pushing to the ${destination} destination."
+ env VORTEX_DB_INDEX="${_db_index}" "$(dirname "${BASH_SOURCE[0]}")/vortex-push-db-${destination}"
+done
+
+pass "Finished database${_db_index:+ ${_db_index}} push."
diff --git a/.vortex/tooling/src/vortex-push-db-ftp b/.vortex/tooling/src/vortex-push-db-ftp
new file mode 100755
index 0000000000..06529c958e
--- /dev/null
+++ b/.vortex/tooling/src/vortex-push-db-ftp
@@ -0,0 +1,185 @@
+#!/usr/bin/env bash
+##
+# Push DB dump to FTP.
+#
+# Uploads the database dump file under the remote file name, such as
+# 'db.sql', which always holds the latest dump that the fetch downloads. With
+# VORTEX_PUSH_DB_TIMESTAMPED_COPY set to 1, the dump is also uploaded under a
+# name with a UTC timestamp, such as 'db_20261111-180000.sql', to keep a
+# history.
+#
+# Each file is uploaded under a temporary name and renamed into place only
+# after the upload succeeds, so a failed upload keeps the existing file.
+#
+# IMPORTANT! This script runs outside the container on the host system.
+#
+# shellcheck disable=SC1090,SC1091
+
+t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && if [ -f ./.env.local ]; then . ./.env.local; fi && set +a && . "${t}" && rm "${t}" && unset t
+
+set -eu
+
+# Database index suffix. When set (e.g., "2"), all DB-related variable lookups
+# use the indexed variant, so each database pushes its own dump file.
+_db_index="${VORTEX_DB_INDEX:-}"
+
+# The FTP values fall back to the values the database is fetched with, so a
+# server used as the fetch source is configured once. An indexed database then
+# falls back to the primary push values, so several databases share 1 server.
+
+# The FTP user.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_USER"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_USER"
+VORTEX_PUSH_DB_FTP_USER="${!_v:-${!_vs:-${VORTEX_PUSH_DB_FTP_USER:-}}}"
+
+# The FTP password.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_PASS"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_PASS"
+VORTEX_PUSH_DB_FTP_PASS="${!_v:-${!_vs:-${VORTEX_PUSH_DB_FTP_PASS:-}}}"
+
+# The FTP host.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_HOST"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_HOST"
+VORTEX_PUSH_DB_FTP_HOST="${!_v:-${!_vs:-${VORTEX_PUSH_DB_FTP_HOST:-}}}"
+
+# The FTP port.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_PORT"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_PORT"
+VORTEX_PUSH_DB_FTP_PORT="${!_v:-${!_vs:-${VORTEX_PUSH_DB_FTP_PORT:-21}}}"
+
+# The remote file name, including any directories.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_FILE"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_FILE"
+VORTEX_PUSH_DB_FTP_FILE="${!_v:-${!_vs:-}}"
+
+# The directory on the FTP server to push the file to.
+#
+# Joined in front of the file name. Leading and trailing slashes are optional.
+# Defaults to the directory the database is fetched from. Use a different
+# directory in each place that pushes to the same storage, such as 'gha' and
+# 'circleci'.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_DIR"
+_vs="VORTEX_FETCH_DB${_db_index}_FTP_DIR"
+VORTEX_PUSH_DB_FTP_DIR="${!_v:-${!_vs:-${VORTEX_PUSH_DB_FTP_DIR:-}}}"
+
+# Directory with database dump file.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_DB_DIR"
+_vs="VORTEX_FETCH_DB${_db_index}_DIR"
+_vss="VORTEX_DB${_db_index}_DIR"
+VORTEX_PUSH_DB_FTP_DB_DIR="${!_v:-${!_vs:-${!_vss:-${VORTEX_DB_DIR:-./.data}}}}"
+
+# Database dump file name.
+#
+# Defaults to the name the database is fetched and refreshed with.
+_v="VORTEX_PUSH_DB${_db_index}_FTP_DB_FILE"
+_vs="VORTEX_FETCH_DB${_db_index}_FILE"
+_vss="VORTEX_DB${_db_index}_FILE"
+VORTEX_PUSH_DB_FTP_DB_FILE="${!_v:-${!_vs:-${!_vss:-${VORTEX_DB_FILE:-db.sql}}}}"
+
+# Suffix for the names of the pushed database dump files.
+#
+# Goes before the extension, so 'db.sql' becomes 'db_gha.sql' with '_gha'.
+# Use a different suffix in each place that pushes to the same storage. A
+# fetch reads the suffixed name only when its remote file name includes it.
+VORTEX_PUSH_DB_FILE_SUFFIX="${VORTEX_PUSH_DB_FILE_SUFFIX:-}"
+
+# Also push a copy of the database dump file named with a UTC timestamp.
+#
+# Set to 1 to keep a history of the pushed dumps. The fetch never reads the
+# timestamped copies.
+VORTEX_PUSH_DB_TIMESTAMPED_COPY="${VORTEX_PUSH_DB_TIMESTAMPED_COPY:-}"
+
+# ------------------------------------------------------------------------------
+
+# @formatter:off
+info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
+note() { printf " %s\n" "${1}"; }
+task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
+pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
+fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; exit "${2:-1}"; }
+# @formatter:on
+
+# Print a remote directory with no leading slash and 1 trailing slash, so it
+# joins a file name. Prints nothing for an empty or root directory.
+ftp_dir() {
+ local dir="${1}"
+
+ while [[ ${dir} == /* ]]; do dir="${dir#/}"; done
+ while [[ ${dir} == */ ]]; do dir="${dir%/}"; done
+
+ if [ -n "${dir}" ]; then
+ printf '%s/' "${dir}"
+ fi
+}
+
+# Print a value quoted for a curl config file.
+curl_config_quote() {
+ local value="${1//\\/\\\\}"
+ printf '"%s"' "${value//\"/\\\"}"
+}
+
+# Upload the database dump file to a name in the remote directory.
+#
+# The credentials go to curl on stdin, so they never appear in the process
+# list. The commands after the upload run in the remote directory: the
+# existing file is removed and the upload takes its name.
+ftp_upload() {
+ local name="${1}"
+ local upload_name="${name}.uploading"
+
+ echo "user = $(curl_config_quote "${VORTEX_PUSH_DB_FTP_USER}:${VORTEX_PUSH_DB_FTP_PASS}")" | curl --silent --show-error --config - --ftp-create-dirs --upload-file "${local_file}" \
+ --quote "-*DELE ${name}" \
+ --quote "-RNFR ${upload_name}" \
+ --quote "-RNTO ${name}" \
+ "ftp://${VORTEX_PUSH_DB_FTP_HOST}:${VORTEX_PUSH_DB_FTP_PORT}/${remote_dir}${upload_name}"
+}
+
+# shellcheck disable=SC2043
+for cmd in curl; do command -v "${cmd}" >/dev/null || fail "Command ${cmd} is not available."; done
+
+[ -z "${VORTEX_PUSH_DB_FTP_USER}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_FTP_USER or VORTEX_FETCH_DB${_db_index}_FTP_USER."
+[ -z "${VORTEX_PUSH_DB_FTP_PASS}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_FTP_PASS or VORTEX_FETCH_DB${_db_index}_FTP_PASS."
+[ -z "${VORTEX_PUSH_DB_FTP_HOST}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_FTP_HOST or VORTEX_FETCH_DB${_db_index}_FTP_HOST."
+[ -z "${VORTEX_PUSH_DB_FTP_FILE}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_FTP_FILE or VORTEX_FETCH_DB${_db_index}_FTP_FILE."
+
+local_file="${VORTEX_PUSH_DB_FTP_DB_DIR}/${VORTEX_PUSH_DB_FTP_DB_FILE}"
+[ ! -f "${local_file}" ] && fail "Database dump file ${local_file} does not exist."
+
+remote_dir=""
+remote_name="$(ftp_dir "${VORTEX_PUSH_DB_FTP_DIR}")${VORTEX_PUSH_DB_FTP_FILE#/}"
+if [[ ${remote_name} == */* ]]; then
+ remote_dir="${remote_name%/*}/"
+ remote_name="${remote_name##*/}"
+fi
+
+base="${remote_name}"
+ext=""
+if [[ ${remote_name} == *.* ]]; then
+ base="${remote_name%.*}"
+ ext=".${remote_name##*.}"
+fi
+current_name="${base}${VORTEX_PUSH_DB_FILE_SUFFIX}${ext}"
+timestamped_name="${base}${VORTEX_PUSH_DB_FILE_SUFFIX}_$(date -u +%Y%m%d-%H%M%S)${ext}"
+
+info "Started database${_db_index:+ ${_db_index}} dump push to FTP."
+
+note "Local file: ${local_file}"
+note "Remote file: ${remote_dir}${current_name}"
+note "FTP host: ${VORTEX_PUSH_DB_FTP_HOST}:${VORTEX_PUSH_DB_FTP_PORT}"
+
+task "Uploading the database dump file."
+ftp_upload "${current_name}" || fail "Unable to push the database dump file to FTP."
+pass "Uploaded the database dump file."
+
+if [ "${VORTEX_PUSH_DB_TIMESTAMPED_COPY}" = "1" ]; then
+ # FTP has no copy command, so the copy is a second upload.
+ task "Uploading the timestamped copy ${remote_dir}${timestamped_name}."
+ ftp_upload "${timestamped_name}" || fail "Unable to push the timestamped copy of the database dump file to FTP."
+ pass "Uploaded the timestamped copy ${remote_dir}${timestamped_name}."
+fi
+
+# Enable xtrace only after the request so the credentials are never written
+# to the trace output.
+[ "${VORTEX_DEBUG-}" = "1" ] && set -x
+
+pass "Finished database${_db_index:+ ${_db_index}} dump push to FTP."
diff --git a/.vortex/tooling/src/vortex-push-db-s3 b/.vortex/tooling/src/vortex-push-db-s3
index 93470ad6ed..d7583a060a 100755
--- a/.vortex/tooling/src/vortex-push-db-s3
+++ b/.vortex/tooling/src/vortex-push-db-s3
@@ -4,6 +4,12 @@
#
# Uses AWS Signature Version 4 with curl (no AWS CLI required).
#
+# Uploads the database dump file under the remote file name, such as
+# 'db.sql', which always holds the latest dump that the fetch downloads. With
+# VORTEX_PUSH_DB_TIMESTAMPED_COPY set to 1, the uploaded object is also copied
+# to a name with a UTC timestamp, such as 'db_20261111-180000.sql', to keep a
+# history.
+#
# IMPORTANT! This script runs outside the container on the host system.
#
# shellcheck disable=SC1090,SC1091
@@ -13,33 +19,77 @@ t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && if [ -f ./.env.local ]
set -eu
set -o pipefail
+# Database index suffix. When set (e.g., "2"), all DB-related variable lookups
+# use the indexed variant, so each database pushes its own dump file.
+_db_index="${VORTEX_DB_INDEX:-}"
+
+# The S3 values fall back to the values the database is fetched with, so a
+# bucket used as the fetch source is configured once. An indexed database then
+# falls back to the primary push values, so several databases share 1 bucket.
+
# AWS access key.
-VORTEX_PUSH_DB_S3_ACCESS_KEY="${VORTEX_PUSH_DB_S3_ACCESS_KEY:-${S3_ACCESS_KEY:-}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_ACCESS_KEY"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_ACCESS_KEY"
+VORTEX_PUSH_DB_S3_ACCESS_KEY="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_ACCESS_KEY:-${S3_ACCESS_KEY:-}}}}"
# AWS secret key.
-VORTEX_PUSH_DB_S3_SECRET_KEY="${VORTEX_PUSH_DB_S3_SECRET_KEY:-${S3_SECRET_KEY:-}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_SECRET_KEY"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_SECRET_KEY"
+VORTEX_PUSH_DB_S3_SECRET_KEY="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_SECRET_KEY:-${S3_SECRET_KEY:-}}}}"
# S3 bucket name.
-VORTEX_PUSH_DB_S3_BUCKET="${VORTEX_PUSH_DB_S3_BUCKET:-${S3_BUCKET:-}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_BUCKET"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_BUCKET"
+VORTEX_PUSH_DB_S3_BUCKET="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_BUCKET:-${S3_BUCKET:-}}}}"
# S3 region.
-VORTEX_PUSH_DB_S3_REGION="${VORTEX_PUSH_DB_S3_REGION:-${S3_REGION:-}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_REGION"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_REGION"
+VORTEX_PUSH_DB_S3_REGION="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_REGION:-${S3_REGION:-}}}}"
# S3 prefix (path within the bucket).
-VORTEX_PUSH_DB_S3_PREFIX="${VORTEX_PUSH_DB_S3_PREFIX:-${S3_PREFIX:-}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_PREFIX"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_PREFIX"
+VORTEX_PUSH_DB_S3_PREFIX="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_PREFIX:-${S3_PREFIX:-}}}}"
# Directory with database dump file.
-VORTEX_PUSH_DB_S3_DB_DIR="${VORTEX_PUSH_DB_S3_DB_DIR:-${VORTEX_DB_DIR:-./.data}}"
+_v="VORTEX_PUSH_DB${_db_index}_S3_DB_DIR"
+_vs="VORTEX_FETCH_DB${_db_index}_DIR"
+_vss="VORTEX_DB${_db_index}_DIR"
+VORTEX_PUSH_DB_S3_DB_DIR="${!_v:-${!_vs:-${!_vss:-${VORTEX_DB_DIR:-./.data}}}}"
# Database dump file name.
-VORTEX_PUSH_DB_S3_DB_FILE="${VORTEX_PUSH_DB_S3_DB_FILE:-${VORTEX_DB_FILE:-db.sql}}"
+#
+# Defaults to the name the database is fetched and refreshed with.
+_v="VORTEX_PUSH_DB${_db_index}_S3_DB_FILE"
+_vs="VORTEX_FETCH_DB${_db_index}_FILE"
+_vss="VORTEX_DB${_db_index}_FILE"
+VORTEX_PUSH_DB_S3_DB_FILE="${!_v:-${!_vs:-${!_vss:-${VORTEX_DB_FILE:-db.sql}}}}"
# Remote database dump file name.
-VORTEX_PUSH_DB_S3_REMOTE_FILE="${VORTEX_PUSH_DB_S3_REMOTE_FILE:-db.sql}"
+#
+# Defaults to the remote file name the database is fetched from, then to the
+# database dump file name.
+_v="VORTEX_PUSH_DB${_db_index}_S3_REMOTE_FILE"
+_vs="VORTEX_FETCH_DB${_db_index}_S3_DB_FILE"
+VORTEX_PUSH_DB_S3_REMOTE_FILE="${!_v:-${!_vs:-${VORTEX_PUSH_DB_S3_DB_FILE}}}"
# S3 storage class.
VORTEX_PUSH_DB_S3_STORAGE_CLASS="${VORTEX_PUSH_DB_S3_STORAGE_CLASS:-STANDARD}"
+# Suffix for the names of the pushed database dump files.
+#
+# Goes before the extension, so 'db.sql' becomes 'db_gha.sql' with '_gha'.
+# Use a different suffix in each place that pushes to the same storage. A
+# fetch reads the suffixed name only when its remote file name includes it.
+VORTEX_PUSH_DB_FILE_SUFFIX="${VORTEX_PUSH_DB_FILE_SUFFIX:-}"
+
+# Also push a copy of the database dump file named with a UTC timestamp.
+#
+# Set to 1 to keep a history of the pushed dumps. The fetch never reads the
+# timestamped copies.
+VORTEX_PUSH_DB_TIMESTAMPED_COPY="${VORTEX_PUSH_DB_TIMESTAMPED_COPY:-}"
+
# ------------------------------------------------------------------------------
# @formatter:off
@@ -86,32 +136,101 @@ aws_signature() {
hmac_sha256 "hexkey:${signing_key}" "${string_to_sign}"
}
+# Send a signed PUT request for an object and print the response body
+# followed by the HTTP status code on the last line.
+#
+# Arguments: the encoded object key, the payload hash, the file to upload
+# (empty for none), then any extra 'name:value' headers to sign, with
+# lowercase names.
+s3_put() {
+ local key="${1}"
+ local payload_hash="${2}"
+ local upload_file="${3}"
+ shift 3
+
+ local host="${VORTEX_PUSH_DB_S3_BUCKET}.s3.${VORTEX_PUSH_DB_S3_REGION}.amazonaws.com"
+ local date_short date_long
+ date_short=$(date -u +'%Y%m%d')
+ date_long=$(date -u +'%Y%m%dT%H%M%SZ')
+
+ local canonical_headers signed_headers
+ canonical_headers=$(printf '%s\n' "host:${host}" "x-amz-content-sha256:${payload_hash}" "x-amz-date:${date_long}" "x-amz-server-side-encryption:AES256" "x-amz-storage-class:${VORTEX_PUSH_DB_S3_STORAGE_CLASS}" "$@" | LC_ALL=C sort)
+ signed_headers=$(echo "${canonical_headers}" | cut -d: -f1 | paste -sd ';' -)
+
+ local canonical_request="PUT
+/${key}
+
+${canonical_headers}
+
+${signed_headers}
+${payload_hash}"
+
+ local canonical_request_hash
+ canonical_request_hash=$(hash_sha256 "${canonical_request}")
+
+ local string_to_sign="AWS4-HMAC-SHA256
+${date_long}
+${date_short}/${VORTEX_PUSH_DB_S3_REGION}/s3/aws4_request
+${canonical_request_hash}"
+
+ local signature
+ signature=$(aws_signature "${VORTEX_PUSH_DB_S3_SECRET_KEY}" "${date_short}" "${VORTEX_PUSH_DB_S3_REGION}" "s3" "${string_to_sign}")
+
+ local args=(--silent --show-error --location --proto-redir "=https" --connect-timeout "${VORTEX_PUSH_DB_S3_CONNECT_TIMEOUT:-10}" --max-time "${VORTEX_PUSH_DB_S3_MAX_TIME:-300}" --request PUT --write-out "\n%{http_code}")
+ # curl sends no length for a PUT without a body, and S3 rejects such a
+ # request.
+ if [ -n "${upload_file}" ]; then
+ args+=(--upload-file "${upload_file}")
+ else
+ args+=(--header "Content-Length: 0")
+ fi
+
+ local header
+ while IFS= read -r header; do
+ args+=(--header "${header%%:*}: ${header#*:}")
+ done <<<"${canonical_headers}"
+ args+=(--header "Authorization: AWS4-HMAC-SHA256 Credential=${VORTEX_PUSH_DB_S3_ACCESS_KEY}/${date_short}/${VORTEX_PUSH_DB_S3_REGION}/s3/aws4_request, SignedHeaders=${signed_headers}, Signature=${signature}")
+
+ curl "${args[@]}" "https://${host}/${key}"
+}
+
for cmd in curl openssl; do command -v "${cmd}" >/dev/null || fail "Command ${cmd} is not available."; done
-[ -z "${VORTEX_PUSH_DB_S3_ACCESS_KEY}" ] && fail "Missing required value for VORTEX_PUSH_DB_S3_ACCESS_KEY."
-[ -z "${VORTEX_PUSH_DB_S3_SECRET_KEY}" ] && fail "Missing required value for VORTEX_PUSH_DB_S3_SECRET_KEY."
-[ -z "${VORTEX_PUSH_DB_S3_BUCKET}" ] && fail "Missing required value for VORTEX_PUSH_DB_S3_BUCKET."
-[ -z "${VORTEX_PUSH_DB_S3_REGION}" ] && fail "Missing required value for VORTEX_PUSH_DB_S3_REGION."
+[ -z "${VORTEX_PUSH_DB_S3_ACCESS_KEY}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_S3_ACCESS_KEY."
+[ -z "${VORTEX_PUSH_DB_S3_SECRET_KEY}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_S3_SECRET_KEY."
+[ -z "${VORTEX_PUSH_DB_S3_BUCKET}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_S3_BUCKET."
+[ -z "${VORTEX_PUSH_DB_S3_REGION}" ] && fail "Missing required value for VORTEX_PUSH_DB${_db_index}_S3_REGION."
local_file="${VORTEX_PUSH_DB_S3_DB_DIR}/${VORTEX_PUSH_DB_S3_DB_FILE}"
[ ! -f "${local_file}" ] && fail "Database dump file ${local_file} does not exist."
-info "Started database dump push to S3."
+info "Started database${_db_index:+ ${_db_index}} dump push to S3."
[ -n "${VORTEX_PUSH_DB_S3_PREFIX}" ] && VORTEX_PUSH_DB_S3_PREFIX="${VORTEX_PUSH_DB_S3_PREFIX%/}/"
-request_type="PUT"
-auth_type="AWS4-HMAC-SHA256"
-service="s3"
-base_url=".${service}.${VORTEX_PUSH_DB_S3_REGION}.amazonaws.com"
-date_short=$(date -u +'%Y%m%d')
-date_long=$(date -u +'%Y%m%dT%H%M%SZ')
+# The suffix and the timestamp apply to the file name, not to the directories
+# in the remote file name.
+remote_dir=""
+remote_name="${VORTEX_PUSH_DB_S3_REMOTE_FILE}"
+if [[ ${remote_name} == */* ]]; then
+ remote_dir="${remote_name%/*}/"
+ remote_name="${remote_name##*/}"
+fi
+
+base="${remote_name}"
+ext=""
+if [[ ${remote_name} == *.* ]]; then
+ base="${remote_name%.*}"
+ ext=".${remote_name##*.}"
+fi
+current_file="${remote_dir}${base}${VORTEX_PUSH_DB_FILE_SUFFIX}${ext}"
+timestamped_file="${remote_dir}${base}${VORTEX_PUSH_DB_FILE_SUFFIX}_$(date -u +%Y%m%d-%H%M%S)${ext}"
-object_key="$(uri_encode_key "${VORTEX_PUSH_DB_S3_PREFIX}${VORTEX_PUSH_DB_S3_REMOTE_FILE}")"
-object_url="https://${VORTEX_PUSH_DB_S3_BUCKET}${base_url}/${object_key}"
+object_key="$(uri_encode_key "${VORTEX_PUSH_DB_S3_PREFIX}${current_file}")"
+timestamped_key="$(uri_encode_key "${VORTEX_PUSH_DB_S3_PREFIX}${timestamped_file}")"
note "Local file: ${local_file}"
-note "Remote file: ${VORTEX_PUSH_DB_S3_PREFIX}${VORTEX_PUSH_DB_S3_REMOTE_FILE}"
+note "Remote file: ${VORTEX_PUSH_DB_S3_PREFIX}${current_file}"
note "S3 bucket: ${VORTEX_PUSH_DB_S3_BUCKET}"
note "S3 region: ${VORTEX_PUSH_DB_S3_REGION}"
[ -n "${VORTEX_PUSH_DB_S3_PREFIX}" ] && note "S3 prefix: ${VORTEX_PUSH_DB_S3_PREFIX}"
@@ -125,53 +244,12 @@ fi
payload_hash=$(openssl dgst -sha256 <"${local_file}" | sed 's/^.* //')
-header_list='content-type;host;x-amz-content-sha256;x-amz-date;x-amz-server-side-encryption;x-amz-storage-class'
-
-canonical_request="\
-${request_type}
-/${object_key}
-
-content-type:${content_type}
-host:${VORTEX_PUSH_DB_S3_BUCKET}${base_url}
-x-amz-content-sha256:${payload_hash}
-x-amz-date:${date_long}
-x-amz-server-side-encryption:AES256
-x-amz-storage-class:${VORTEX_PUSH_DB_S3_STORAGE_CLASS}
-
-${header_list}
-${payload_hash}"
-
-canonical_request_hash=$(hash_sha256 "${canonical_request}")
-
-string_to_sign="\
-${auth_type}
-${date_long}
-${date_short}/${VORTEX_PUSH_DB_S3_REGION}/${service}/aws4_request
-${canonical_request_hash}"
-
-signature=$(aws_signature "${VORTEX_PUSH_DB_S3_SECRET_KEY}" "${date_short}" "${VORTEX_PUSH_DB_S3_REGION}" "${service}" "${string_to_sign}")
-
+task "Uploading the database dump file."
set +e
-response=$(curl --silent --show-error --location --proto-redir =https \
- --connect-timeout "${VORTEX_PUSH_DB_S3_CONNECT_TIMEOUT:-10}" \
- --max-time "${VORTEX_PUSH_DB_S3_MAX_TIME:-300}" \
- --request "${request_type}" --upload-file "${local_file}" \
- --header "Content-Type: ${content_type}" \
- --header "Host: ${VORTEX_PUSH_DB_S3_BUCKET}${base_url}" \
- --header "X-Amz-Content-SHA256: ${payload_hash}" \
- --header "X-Amz-Date: ${date_long}" \
- --header "X-Amz-Server-Side-Encryption: AES256" \
- --header "X-Amz-Storage-Class: ${VORTEX_PUSH_DB_S3_STORAGE_CLASS}" \
- --header "Authorization: ${auth_type} Credential=${VORTEX_PUSH_DB_S3_ACCESS_KEY}/${date_short}/${VORTEX_PUSH_DB_S3_REGION}/${service}/aws4_request, SignedHeaders=${header_list}, Signature=${signature}" \
- --write-out "\n%{http_code}" \
- "${object_url}")
+response=$(s3_put "${object_key}" "${payload_hash}" "${local_file}" "content-type:${content_type}")
curl_status=$?
set -e
-# Enable xtrace only after the signed request so credentials and the
-# signature are never written to the trace output.
-[ "${VORTEX_DEBUG-}" = "1" ] && set -x
-
[ "${curl_status}" -ne 0 ] && fail "S3 push request failed with curl exit ${curl_status}."
http_code=$(echo "${response}" | tail -1)
@@ -184,5 +262,32 @@ case "${http_code}" in
fail "Unable to push to S3: HTTP status ${http_code}."
;;
esac
+pass "Uploaded the database dump file."
+
+if [ "${VORTEX_PUSH_DB_TIMESTAMPED_COPY}" = "1" ]; then
+ # The copy runs on the S3 side, so the dump is uploaded only once. A copy
+ # can fail after S3 has sent a 200 status, so a success needs the copy
+ # result in the body.
+ task "Copying the database dump file to ${VORTEX_PUSH_DB_S3_PREFIX}${timestamped_file}."
+ set +e
+ response=$(s3_put "${timestamped_key}" "$(hash_sha256 "")" "" "x-amz-copy-source:/${VORTEX_PUSH_DB_S3_BUCKET}/${object_key}")
+ curl_status=$?
+ set -e
+
+ [ "${curl_status}" -ne 0 ] && fail "S3 copy request failed with curl exit ${curl_status}."
+
+ http_code=$(echo "${response}" | tail -1)
+ response_body=$(echo "${response}" | sed '$d')
+
+ if [[ ${http_code} != 2* ]] || [[ ${response_body} != *"/dev/null
}
+
+@test "fetch-db-ftp: Join the remote directory to the file name with any slashes" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ export VORTEX_FETCH_DB_FTP_USER="testuser"
+ export VORTEX_FETCH_DB_FTP_PASS="testpass"
+ export VORTEX_FETCH_DB_FTP_HOST="ftp.example.com"
+ export VORTEX_FETCH_DB_FTP_PORT="21"
+ export VORTEX_FETCH_DB_FTP_FILE="db.sql"
+ export VORTEX_FETCH_DB_FTP_DB_DIR=".data"
+
+ mock_curl=$(mock_command "curl")
+
+ call=0
+ for dir in "nightly/gha" "/nightly/gha" "nightly/gha/" "/nightly/gha/" "//nightly/gha//"; do
+ export VORTEX_FETCH_DB_FTP_DIR="${dir}"
+ call=$((call + 1))
+
+ run .vortex/tooling/src/vortex-fetch-db-ftp
+ assert_success
+ assert_output_contains "Remote file: nightly/gha/db.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" "${call}")" "ftp://ftp.example.com:21/nightly/gha/db.sql "
+ done
+
+ # A leading slash on the file name joins without a double slash.
+ export VORTEX_FETCH_DB_FTP_DIR="nightly"
+ export VORTEX_FETCH_DB_FTP_FILE="/db.sql"
+ run .vortex/tooling/src/vortex-fetch-db-ftp
+ assert_success
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 6)" "ftp://ftp.example.com:21/nightly/db.sql "
+
+ popd >/dev/null
+}
+
+@test "fetch-db-ftp: Fetch from the root directory without a remote directory" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ export VORTEX_FETCH_DB_FTP_USER="testuser"
+ export VORTEX_FETCH_DB_FTP_PASS="testpass"
+ export VORTEX_FETCH_DB_FTP_HOST="ftp.example.com"
+ export VORTEX_FETCH_DB_FTP_PORT="21"
+ export VORTEX_FETCH_DB_FTP_FILE="backup/db.sql"
+ export VORTEX_FETCH_DB_FTP_DB_DIR=".data"
+
+ mock_curl=$(mock_command "curl")
+
+ call=0
+ for dir in "" "/" "//"; do
+ export VORTEX_FETCH_DB_FTP_DIR="${dir}"
+ call=$((call + 1))
+
+ run .vortex/tooling/src/vortex-fetch-db-ftp
+ assert_success
+ assert_output_contains "Remote file: backup/db.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" "${call}")" "ftp://ftp.example.com:21/backup/db.sql "
+ done
+
+ popd >/dev/null
+}
+
+@test "fetch-db-ftp: Use the indexed remote directory with VORTEX_DB_INDEX" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ export VORTEX_DB_INDEX=2
+ export VORTEX_FETCH_DB2_FTP_USER="testuser"
+ export VORTEX_FETCH_DB2_FTP_PASS="testpass"
+ export VORTEX_FETCH_DB2_FTP_HOST="ftp.example.com"
+ export VORTEX_FETCH_DB2_FTP_PORT="21"
+ export VORTEX_FETCH_DB2_FTP_FILE="db2.sql"
+ export VORTEX_FETCH_DB2_FTP_DIR="/migration/"
+ export VORTEX_FETCH_DB_FTP_DIR="primary"
+ export VORTEX_FETCH_DB2_DIR=".data"
+
+ mock_curl=$(mock_command "curl")
+
+ run .vortex/tooling/src/vortex-fetch-db-ftp
+ assert_success
+ assert_output_contains "Remote file: migration/db2.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "ftp://ftp.example.com:21/migration/db2.sql "
+
+ popd >/dev/null
+}
diff --git a/.vortex/tooling/tests/unit/fetch-db.bats b/.vortex/tooling/tests/unit/fetch-db.bats
index fec06732f3..6ee7dfed98 100644
--- a/.vortex/tooling/tests/unit/fetch-db.bats
+++ b/.vortex/tooling/tests/unit/fetch-db.bats
@@ -325,6 +325,153 @@ EOF
popd >/dev/null
}
+@test "fetch-db: Fetch from the store without a push requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_PROCEED="1"
+ unset VORTEX_PUSH_DB_PROCEED
+
+ for db_store in ftp s3; do
+ export VORTEX_FETCH_DB_STORE="${db_store}"
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_success
+ assert_output_contains "Fetching from the ${db_store} store in VORTEX_FETCH_DB_STORE."
+ assert_output_contains "Fetched from ${db_store}."
+ assert_output_not_contains "Fetched from lagoon."
+ assert_output_not_contains "last refresh"
+ assert_output_contains "Finished database fetch."
+ done
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Fetch from the source to refresh the store with a push requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_PROCEED="1"
+ export VORTEX_PUSH_DB_PROCEED="1"
+
+ for db_store in ftp s3; do
+ export VORTEX_FETCH_DB_STORE="${db_store}"
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_success
+ assert_output_contains "Fetching from the lagoon source to refresh the ${db_store} store as VORTEX_PUSH_DB_PROCEED is set to 1."
+ assert_output_contains "Fetched from lagoon."
+ assert_output_not_contains "Fetched from ${db_store}."
+ assert_output_contains "Finished database fetch."
+ done
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Fetch an indexed database from its own store" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_DB_INDEX=3
+ export VORTEX_FETCH_DB3_SOURCE="url"
+ export VORTEX_FETCH_DB3_STORE="s3"
+ export VORTEX_FETCH_DB3_PROCEED="1"
+ export VORTEX_FETCH_DB3_DIR="${BUILD_DIR}/db3"
+ export VORTEX_FETCH_DB_STORE="ftp"
+ unset VORTEX_PUSH_DB_PROCEED
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_success
+ assert_output_contains "Fetching from the s3 store in VORTEX_FETCH_DB3_STORE."
+ assert_output_contains "Fetched from s3."
+ assert_output_not_contains "Fetched from ftp."
+ assert_output_not_contains "Fetched from url."
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Point a fresh fetch from the store to the refresh in CI" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="ftp"
+ export VORTEX_FETCH_DB_PROCEED="1"
+ export VORTEX_FETCH_DB_FRESH="1"
+ unset VORTEX_PUSH_DB_PROCEED
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_success
+ assert_output_contains "The ftp store holds the database from its last refresh. Run the database refresh in CI to store a fresh database first."
+ assert_output_contains "Fetched from ftp."
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Fetch from the source without a store" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_SOURCE="ftp"
+ export VORTEX_FETCH_DB_PROCEED="1"
+ export VORTEX_PUSH_DB_PROCEED="1"
+ export VORTEX_FETCH_DB_STORE=""
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_success
+ assert_output_not_contains "Fetching from the"
+ assert_output_contains "Fetched from ftp."
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Fail with an unsupported store" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="gdrive"
+ export VORTEX_FETCH_DB_PROCEED="1"
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_failure
+ assert_output_contains '[FAIL] Unsupported database store "gdrive" in VORTEX_FETCH_DB_STORE. Use one of: ftp, s3.'
+ assert_output_not_contains "Fetched from"
+
+ popd >/dev/null
+}
+
+@test "fetch-db: Fail when the store cannot be refreshed from the source" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_fetch_scripts
+
+ export VORTEX_FETCH_DB_STORE="ftp"
+ export VORTEX_FETCH_DB_PROCEED="1"
+ export VORTEX_FETCH_DB_SEMAPHORE="${BUILD_DIR}/fetch-db-fresh"
+
+ for db_source in ftp container_registry none; do
+ export VORTEX_FETCH_DB_SOURCE="${db_source}"
+
+ run .vortex/tooling/src/vortex-fetch-db
+ assert_failure
+ assert_output_contains "[FAIL] The database store in VORTEX_FETCH_DB_STORE is refreshed from a database dump file, but VORTEX_FETCH_DB_SOURCE is \"${db_source}\". Set the source to another source of the dump file: url, ftp, acquia, lagoon or s3."
+ assert_output_not_contains "Fetched from"
+ assert_output_not_contains "Finished database fetch."
+ assert_file_not_exists "${BUILD_DIR}/fetch-db-fresh"
+ done
+
+ popd >/dev/null
+}
+
@test "fetch-db: Fetch nothing with the none source" {
pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
diff --git a/.vortex/tooling/tests/unit/push-db-ftp.bats b/.vortex/tooling/tests/unit/push-db-ftp.bats
new file mode 100644
index 0000000000..a13d8745a1
--- /dev/null
+++ b/.vortex/tooling/tests/unit/push-db-ftp.bats
@@ -0,0 +1,390 @@
+#!/usr/bin/env bats
+##
+# Unit tests for the 'vortex-push-db-ftp' script.
+#
+# shellcheck disable=SC2030,SC2031,SC2034
+
+load ../_helper.bash
+
+# Exports the FTP values the database is fetched with.
+setup_ftp_fetch_values() {
+ export VORTEX_FETCH_DB_FTP_USER="fetch-user"
+ export VORTEX_FETCH_DB_FTP_PASS="fetch-pass"
+ export VORTEX_FETCH_DB_FTP_HOST="ftp.example.com"
+ export VORTEX_FETCH_DB_FTP_PORT="21"
+ export VORTEX_FETCH_DB_FTP_FILE="db.sql"
+ unset VORTEX_PUSH_DB_FTP_USER VORTEX_PUSH_DB_FTP_PASS VORTEX_PUSH_DB_FTP_HOST VORTEX_PUSH_DB_FTP_PORT VORTEX_PUSH_DB_FTP_FILE VORTEX_PUSH_DB_FTP_DIR VORTEX_FETCH_DB_FTP_DIR VORTEX_PUSH_DB_FILE_SUFFIX VORTEX_PUSH_DB_TIMESTAMPED_COPY
+}
+
+@test "push-db-ftp: Upload only the latest dump by default" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "CREATE TABLE test (id INT);" >.data/db.sql
+
+ setup_ftp_fetch_values
+
+ mock_curl=$(mock_command "curl")
+ mock_set_side_effect "${mock_curl}" "cat >${BUILD_DIR}/curl-config" 1
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "[INFO] Started database dump push to FTP."
+ assert_output_contains "Local file: ./.data/db.sql"
+ assert_output_contains "Remote file: db.sql"
+ assert_output_contains "FTP host: ftp.example.com:21"
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_not_contains "timestamped copy"
+ assert_output_contains "[ OK ] Finished database dump push to FTP."
+ assert_output_not_contains "fetch-pass"
+
+ assert_equal "1" "$(mock_get_call_num "${mock_curl}")"
+
+ args="$(mock_get_call_args "${mock_curl}" 1)"
+ assert_string_contains "${args}" "--config - --ftp-create-dirs --upload-file ./.data/db.sql"
+ # The upload takes a temporary name and replaces the latest dump only after
+ # it succeeds.
+ assert_string_contains "${args}" "--quote -*DELE db.sql --quote -RNFR db.sql.uploading --quote -RNTO db.sql"
+ assert_string_contains "${args}" "ftp://ftp.example.com:21/db.sql.uploading"
+ # The credentials reach curl on stdin, never as arguments.
+ assert_string_not_contains "${args}" "fetch-pass"
+ assert_file_contains "${BUILD_DIR}/curl-config" 'user = "fetch-user:fetch-pass"'
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Upload a timestamped copy when enabled" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_contains "[ OK ] Uploaded the timestamped copy db_"
+ assert_output_contains "[ OK ] Finished database dump push to FTP."
+
+ assert_equal "2" "$(mock_get_call_num "${mock_curl}")"
+
+ # The latest dump is uploaded first, then the copy under its own name.
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "ftp://ftp.example.com:21/db.sql.uploading"
+ copy_args="$(mock_get_call_args "${mock_curl}" 2)"
+ assert_string_contains "${copy_args}" "--upload-file ./.data/db.sql"
+ [[ ${copy_args} =~ --quote\ -RNTO\ db_[0-9]{8}-[0-9]{6}\.sql ]]
+ [[ ${copy_args} =~ ftp://ftp\.example\.com:21/db_[0-9]{8}-[0-9]{6}\.sql\.uploading ]]
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push to a remote directory with a file name suffix" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_PUSH_DB_FTP_HOST="push.example.com"
+ export VORTEX_PUSH_DB_FTP_PORT="2121"
+ export VORTEX_PUSH_DB_FTP_FILE="/backups/site/db.sql"
+ export VORTEX_PUSH_DB_FILE_SUFFIX="_gha"
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "Remote file: backups/site/db_gha.sql"
+ assert_output_contains "FTP host: push.example.com:2121"
+ assert_output_contains "[ OK ] Uploaded the timestamped copy backups/site/db_gha_"
+
+ # The rename commands run in the remote directory, so they use bare names.
+ args="$(mock_get_call_args "${mock_curl}" 1)"
+ assert_string_contains "${args}" "--quote -*DELE db_gha.sql --quote -RNFR db_gha.sql.uploading --quote -RNTO db_gha.sql"
+ assert_string_contains "${args}" "ftp://push.example.com:2121/backups/site/db_gha.sql.uploading"
+ [[ $(mock_get_call_args "${mock_curl}" 2) =~ ftp://push\.example\.com:2121/backups/site/db_gha_[0-9]{8}-[0-9]{6}\.sql\.uploading ]]
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push an indexed database with its own variables and file" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "migration content" >.data/db2.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_DB_INDEX=2
+ export VORTEX_FETCH_DB2_FTP_USER="db2-user"
+ export VORTEX_FETCH_DB2_FTP_PASS="db2-pass"
+ export VORTEX_FETCH_DB2_FTP_HOST="ftp2.example.com"
+ export VORTEX_FETCH_DB2_FTP_PORT="21"
+ export VORTEX_FETCH_DB2_FTP_FILE="db2.sql"
+ export VORTEX_FETCH_DB2_FILE="db2.sql"
+
+ mock_curl=$(mock_command "curl")
+ mock_set_side_effect "${mock_curl}" "cat >${BUILD_DIR}/curl-config" 1
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "[INFO] Started database 2 dump push to FTP."
+ assert_output_contains "Local file: ./.data/db2.sql"
+ assert_output_contains "Remote file: db2.sql"
+ assert_output_contains "[ OK ] Finished database 2 dump push to FTP."
+
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "ftp://ftp2.example.com:21/db2.sql.uploading"
+ assert_file_contains "${BUILD_DIR}/curl-config" 'user = "db2-user:db2-pass"'
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push an indexed database to the primary push server" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "migration content" >.data/db2.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_PUSH_DB_FTP_USER="push-user"
+ export VORTEX_PUSH_DB_FTP_PASS="push-pass"
+ export VORTEX_PUSH_DB_FTP_HOST="push.example.com"
+ export VORTEX_PUSH_DB_FTP_PORT="2121"
+ export VORTEX_PUSH_DB_FTP_DIR="gha"
+ export VORTEX_PUSH_DB_FTP_FILE="db.sql"
+ export VORTEX_DB_INDEX=2
+ export VORTEX_FETCH_DB2_FTP_USER=""
+ export VORTEX_FETCH_DB2_FTP_PASS=""
+ export VORTEX_FETCH_DB2_FTP_HOST=""
+ export VORTEX_FETCH_DB2_FTP_PORT=""
+ export VORTEX_FETCH_DB2_FTP_DIR=""
+ export VORTEX_FETCH_DB2_FTP_FILE="db2.sql"
+ export VORTEX_FETCH_DB2_FILE="db2.sql"
+
+ mock_curl=$(mock_command "curl")
+ mock_set_side_effect "${mock_curl}" "cat >${BUILD_DIR}/curl-config" 1
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ # The server and the directory are shared, while the file stays the
+ # indexed database's own.
+ assert_output_contains "Local file: ./.data/db2.sql"
+ assert_output_contains "Remote file: gha/db2.sql"
+ assert_output_contains "FTP host: push.example.com:2121"
+ assert_output_contains "[ OK ] Finished database 2 dump push to FTP."
+
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "ftp://push.example.com:2121/gha/db2.sql.uploading"
+ assert_file_contains "${BUILD_DIR}/curl-config" 'user = "push-user:push-pass"'
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Escape quotes and backslashes in the credentials" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_FETCH_DB_FTP_PASS='pa"ss\word'
+
+ mock_curl=$(mock_command "curl")
+ mock_set_side_effect "${mock_curl}" "cat >${BUILD_DIR}/curl-config" 1
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+
+ assert_file_contains "${BUILD_DIR}/curl-config" 'user = "fetch-user:pa\"ss\\word"'
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Fail when a required value is missing" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ mock_curl=$(mock_command "curl")
+
+ for name in USER PASS HOST FILE; do
+ setup_ftp_fetch_values
+ export "VORTEX_FETCH_DB_FTP_${name}="
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_failure
+ assert_output_contains "[FAIL] Missing required value for VORTEX_PUSH_DB_FTP_${name} or VORTEX_FETCH_DB_FTP_${name}."
+ done
+
+ assert_equal "0" "$(mock_get_call_num "${mock_curl}")"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Fail when the database dump file does not exist" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ rm -rf .data
+
+ setup_ftp_fetch_values
+
+ mock_curl=$(mock_command "curl")
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_failure
+ assert_output_contains "[FAIL] Database dump file ./.data/db.sql does not exist."
+ assert_output_not_contains "Started database dump push to FTP."
+ assert_equal "0" "$(mock_get_call_num "${mock_curl}")"
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Fail when the upload fails" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+ mock_set_status "${mock_curl}" 21 1
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_failure
+ assert_output_contains "[FAIL] Unable to push the database dump file to FTP."
+ assert_output_not_contains "Uploaded the timestamped copy"
+ assert_equal "1" "$(mock_get_call_num "${mock_curl}")"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Fail when the timestamped copy upload fails" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+ mock_set_status "${mock_curl}" 0 1
+ mock_set_status "${mock_curl}" 25 2
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_failure
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_contains "[FAIL] Unable to push the timestamped copy of the database dump file to FTP."
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push to the remote directory with any slashes" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+
+ mock_curl=$(mock_command "curl")
+
+ call=0
+ for dir in "nightly/gha" "/nightly/gha" "nightly/gha/" "/nightly/gha/" "//nightly/gha//"; do
+ export VORTEX_PUSH_DB_FTP_DIR="${dir}"
+ call=$((call + 1))
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "Remote file: nightly/gha/db.sql"
+
+ # The rename commands run in the remote directory, so they use bare names.
+ args="$(mock_get_call_args "${mock_curl}" "${call}")"
+ assert_string_contains "${args}" "--quote -RNTO db.sql"
+ assert_string_contains "${args}" "ftp://ftp.example.com:21/nightly/gha/db.sql.uploading"
+ done
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push to the directory the database is fetched from" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+ export VORTEX_FETCH_DB_FTP_DIR="/shared/"
+ export VORTEX_FETCH_DB_FTP_FILE="site/db.sql"
+
+ mock_curl=$(mock_command "curl")
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ # The directory goes in front of any directories in the file name.
+ assert_output_contains "Remote file: shared/site/db.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "ftp://ftp.example.com:21/shared/site/db.sql.uploading"
+
+ # A push directory overrides the fetch directory.
+ export VORTEX_PUSH_DB_FTP_DIR="circleci"
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "Remote file: circleci/site/db.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 2)" "ftp://ftp.example.com:21/circleci/site/db.sql.uploading"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-ftp: Push to the root directory without a remote directory" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ setup_ftp_fetch_values
+
+ mock_curl=$(mock_command "curl")
+
+ call=0
+ for dir in "" "/" "//"; do
+ export VORTEX_PUSH_DB_FTP_DIR="${dir}"
+ call=$((call + 1))
+
+ run .vortex/tooling/src/vortex-push-db-ftp
+ assert_success
+ assert_output_contains "Remote file: db.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" "${call}")" "ftp://ftp.example.com:21/db.sql.uploading"
+ done
+
+ rm -rf .data
+
+ popd >/dev/null
+}
diff --git a/.vortex/tooling/tests/unit/push-db-s3.bats b/.vortex/tooling/tests/unit/push-db-s3.bats
index 7f8f96d9c5..eadb814c22 100644
--- a/.vortex/tooling/tests/unit/push-db-s3.bats
+++ b/.vortex/tooling/tests/unit/push-db-s3.bats
@@ -28,6 +28,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -67,6 +68,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -115,6 +117,7 @@ load ../_helper.bash
export S3_REGION="us-east-1"
# Clear prefix shortcut to prevent environment leakage.
unset S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_DB_DIR=".data"
export VORTEX_PUSH_DB_S3_DB_FILE="db.sql"
@@ -147,6 +150,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -186,6 +190,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -225,6 +230,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -263,6 +269,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -292,6 +299,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY=""
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -317,6 +325,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY=""
@@ -342,6 +351,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -367,6 +377,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -395,6 +406,7 @@ load ../_helper.bash
# Clear shortcut variables to prevent environment leakage.
unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
@@ -411,3 +423,278 @@ load ../_helper.bash
popd >/dev/null
}
+
+@test "push-db-s3: Use the database fetch values" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db2.sql
+
+ declare -a STEPS=(
+ "[INFO] Started database dump push to S3."
+
+ "Local file: .data/db2.sql"
+ "Remote file: store/db2.sql"
+ "S3 bucket: fetch-bucket"
+ "S3 region: eu-west-1"
+ "S3 prefix: store/"
+
+ "@curl * # 0 # 200"
+
+ "[ OK ] Finished database dump push to S3."
+ )
+
+ unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+
+ export VORTEX_PUSH_DB_S3_ACCESS_KEY=""
+ export VORTEX_PUSH_DB_S3_SECRET_KEY=""
+ export VORTEX_PUSH_DB_S3_BUCKET=""
+ export VORTEX_PUSH_DB_S3_REGION=""
+ export VORTEX_PUSH_DB_S3_PREFIX=""
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="fetch-access-key"
+ export VORTEX_FETCH_DB_S3_SECRET_KEY="fetch-secret-key"
+ export VORTEX_FETCH_DB_S3_BUCKET="fetch-bucket"
+ export VORTEX_FETCH_DB_S3_REGION="eu-west-1"
+ export VORTEX_FETCH_DB_S3_PREFIX="store"
+ export VORTEX_PUSH_DB_S3_DB_DIR=".data"
+ # The remote file name follows the dump file name.
+ export VORTEX_PUSH_DB_S3_DB_FILE="db2.sql"
+ unset VORTEX_PUSH_DB_S3_REMOTE_FILE
+
+ mocks="$(steps_run "setup")"
+ run .vortex/tooling/src/vortex-push-db-s3
+ steps_run "assert" "${mocks[@]}"
+
+ assert_success
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-s3: Push the database dump file the database is fetched with" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "database content" >.data/db_fetched.sql
+
+ declare -a STEPS=(
+ "[INFO] Started database dump push to S3."
+
+ "Local file: ./.data/db_fetched.sql"
+ "Remote file: db_fetched.sql"
+
+ "@curl * # 0 # 200"
+
+ "[ OK ] Finished database dump push to S3."
+ )
+
+ unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
+
+ export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
+ export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
+ export VORTEX_PUSH_DB_S3_BUCKET="test-bucket"
+ export VORTEX_PUSH_DB_S3_REGION="ap-southeast-2"
+ export VORTEX_FETCH_DB_FILE="db_fetched.sql"
+ unset VORTEX_PUSH_DB_S3_DB_DIR VORTEX_PUSH_DB_S3_DB_FILE VORTEX_PUSH_DB_S3_REMOTE_FILE
+
+ mocks="$(steps_run "setup")"
+ run .vortex/tooling/src/vortex-push-db-s3
+ steps_run "assert" "${mocks[@]}"
+
+ assert_success
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+# Exports the variables of a push to the 'test-bucket' bucket with the
+# 'backups/' prefix.
+setup_s3_push() {
+ mkdir -p .data
+ echo "database content" >.data/db.sql
+
+ unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_FETCH_DB_S3_ACCESS_KEY="" VORTEX_FETCH_DB_S3_SECRET_KEY="" VORTEX_FETCH_DB_S3_BUCKET="" VORTEX_FETCH_DB_S3_REGION="" VORTEX_FETCH_DB_S3_PREFIX=""
+
+ export VORTEX_PUSH_DB_S3_ACCESS_KEY="testaccesskey"
+ export VORTEX_PUSH_DB_S3_SECRET_KEY="testsecretkey"
+ export VORTEX_PUSH_DB_S3_BUCKET="test-bucket"
+ export VORTEX_PUSH_DB_S3_REGION="ap-southeast-2"
+ export VORTEX_PUSH_DB_S3_PREFIX="backups"
+ export VORTEX_PUSH_DB_S3_DB_DIR=".data"
+ export VORTEX_PUSH_DB_S3_DB_FILE="db.sql"
+ unset VORTEX_PUSH_DB_S3_REMOTE_FILE VORTEX_PUSH_DB_FILE_SUFFIX VORTEX_PUSH_DB_TIMESTAMPED_COPY
+}
+
+@test "push-db-s3: Push only the latest dump by default" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ setup_s3_push
+
+ mock_curl=$(mock_command "curl")
+ mock_set_output "${mock_curl}" "200" 1
+
+ run .vortex/tooling/src/vortex-push-db-s3
+ assert_success
+ assert_output_contains "Remote file: backups/db.sql"
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_not_contains "Copying the database dump file"
+ assert_output_contains "[ OK ] Finished database dump push to S3."
+
+ assert_equal "1" "$(mock_get_call_num "${mock_curl}")"
+
+ upload_args="$(mock_get_call_args "${mock_curl}" 1)"
+ assert_string_contains "${upload_args}" "--upload-file .data/db.sql"
+ assert_string_contains "${upload_args}" "https://test-bucket.s3.ap-southeast-2.amazonaws.com/backups/db.sql"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-s3: Copy the upload to a timestamped copy when enabled" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ setup_s3_push
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+ mock_set_output "${mock_curl}" "200" 1
+ mock_set_output "${mock_curl}" $'\n200' 2
+
+ run .vortex/tooling/src/vortex-push-db-s3
+ assert_success
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_contains "[ OK ] Copied the database dump file to backups/db_"
+ assert_output_contains "[ OK ] Finished database dump push to S3."
+
+ assert_equal "2" "$(mock_get_call_num "${mock_curl}")"
+
+ # The copy runs after the upload, names the latest dump as its source and
+ # sends no body.
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "https://test-bucket.s3.ap-southeast-2.amazonaws.com/backups/db.sql"
+ copy_args="$(mock_get_call_args "${mock_curl}" 2)"
+ assert_string_contains "${copy_args}" "--header x-amz-copy-source: /test-bucket/backups/db.sql"
+ assert_string_not_contains "${copy_args}" "--upload-file"
+ assert_string_contains "${copy_args}" "--header Content-Length: 0"
+ assert_string_not_contains "$(mock_get_call_args "${mock_curl}" 1)" "Content-Length: 0"
+ [[ ${copy_args} =~ https://test-bucket\.s3\.ap-southeast-2\.amazonaws\.com/backups/db_[0-9]{8}-[0-9]{6}\.sql ]]
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-s3: Fail when the timestamped copy cannot be made" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ setup_s3_push
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ # A copy error can come with a 200 status. Each run makes 2 requests.
+ mock_curl=$(mock_command "curl")
+ mock_set_output "${mock_curl}" "200" 1
+ mock_set_output "${mock_curl}" $'InternalError\n200' 2
+ mock_set_output "${mock_curl}" "200" 3
+ mock_set_output "${mock_curl}" $'AccessDenied\n403' 4
+
+ for code in 200 403; do
+ run .vortex/tooling/src/vortex-push-db-s3
+ assert_failure
+ assert_output_contains "[ OK ] Uploaded the database dump file."
+ assert_output_contains "Response: "
+ assert_output_contains "[FAIL] Unable to copy the database dump file to the timestamped copy: HTTP status ${code}."
+ assert_output_not_contains "Finished database dump push to S3."
+ done
+
+ assert_equal "4" "$(mock_get_call_num "${mock_curl}")"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-s3: Push an indexed database with a file name suffix" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "migration content" >.data/db2.sql
+
+ unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX
+ export VORTEX_DB_INDEX=2
+ export VORTEX_FETCH_DB2_S3_ACCESS_KEY="db2-access-key"
+ export VORTEX_FETCH_DB2_S3_SECRET_KEY="db2-secret-key"
+ export VORTEX_FETCH_DB2_S3_BUCKET="db2-bucket"
+ export VORTEX_FETCH_DB2_S3_REGION="eu-west-1"
+ export VORTEX_FETCH_DB2_S3_PREFIX=""
+ export VORTEX_FETCH_DB2_FILE="db2.sql"
+ # The dump directory follows the directory the database is fetched to.
+ mkdir -p .data/db2
+ mv .data/db2.sql .data/db2/db2.sql
+ export VORTEX_FETCH_DB2_DIR=".data/db2"
+ export VORTEX_PUSH_DB_FILE_SUFFIX="_circleci"
+ export VORTEX_PUSH_DB_TIMESTAMPED_COPY=1
+
+ mock_curl=$(mock_command "curl")
+ mock_set_output "${mock_curl}" "200" 1
+ mock_set_output "${mock_curl}" $'\n200' 2
+
+ run .vortex/tooling/src/vortex-push-db-s3
+ assert_success
+ assert_output_contains "[INFO] Started database 2 dump push to S3."
+ assert_output_contains "Local file: .data/db2/db2.sql"
+ assert_output_contains "Remote file: db2_circleci.sql"
+ assert_output_contains "S3 bucket: db2-bucket"
+ assert_output_contains "[ OK ] Copied the database dump file to db2_circleci_"
+ assert_output_contains "[ OK ] Finished database 2 dump push to S3."
+
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "https://db2-bucket.s3.eu-west-1.amazonaws.com/db2_circleci.sql"
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 2)" "--header x-amz-copy-source: /db2-bucket/db2_circleci.sql"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
+
+@test "push-db-s3: Push an indexed database to the primary push bucket" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "migration content" >.data/db2.sql
+
+ unset S3_ACCESS_KEY S3_SECRET_KEY S3_BUCKET S3_REGION S3_PREFIX VORTEX_PUSH_DB_FILE_SUFFIX VORTEX_PUSH_DB_TIMESTAMPED_COPY
+ export VORTEX_PUSH_DB_S3_ACCESS_KEY="push-access-key"
+ export VORTEX_PUSH_DB_S3_SECRET_KEY="push-secret-key"
+ export VORTEX_PUSH_DB_S3_BUCKET="push-bucket"
+ export VORTEX_PUSH_DB_S3_REGION="eu-west-1"
+ export VORTEX_PUSH_DB_S3_PREFIX="gha"
+ export VORTEX_DB_INDEX=2
+ export VORTEX_FETCH_DB2_S3_ACCESS_KEY=""
+ export VORTEX_FETCH_DB2_S3_SECRET_KEY=""
+ export VORTEX_FETCH_DB2_S3_BUCKET=""
+ export VORTEX_FETCH_DB2_S3_REGION=""
+ export VORTEX_FETCH_DB2_S3_PREFIX=""
+ export VORTEX_FETCH_DB2_FILE="db2.sql"
+ unset VORTEX_FETCH_DB2_S3_DB_FILE
+
+ mock_curl=$(mock_command "curl")
+ mock_set_output "${mock_curl}" "200" 1
+
+ run .vortex/tooling/src/vortex-push-db-s3
+ assert_success
+ # The bucket and the prefix are shared, while the file stays the indexed
+ # database's own.
+ assert_output_contains "Local file: ./.data/db2.sql"
+ assert_output_contains "Remote file: gha/db2.sql"
+ assert_output_contains "S3 bucket: push-bucket"
+ assert_output_contains "[ OK ] Finished database 2 dump push to S3."
+
+ assert_string_contains "$(mock_get_call_args "${mock_curl}" 1)" "https://push-bucket.s3.eu-west-1.amazonaws.com/gha/db2.sql"
+
+ rm -rf .data
+
+ popd >/dev/null
+}
diff --git a/.vortex/tooling/tests/unit/push-db.bats b/.vortex/tooling/tests/unit/push-db.bats
new file mode 100644
index 0000000000..8a6f06ab0a
--- /dev/null
+++ b/.vortex/tooling/tests/unit/push-db.bats
@@ -0,0 +1,249 @@
+#!/usr/bin/env bats
+##
+# Unit tests for the 'vortex-push-db' script.
+#
+# The stub markers use single quotes on purpose: the `${...}` must reach the
+# generated stub literally and expand when the stub runs - so SC2016 is
+# suppressed here.
+#
+# shellcheck disable=SC2016,SC2030,SC2031
+
+load ../_helper.bash
+
+# Replaces each push script with a stub that names the destination it serves.
+stub_push_scripts() {
+ stub_sibling "vortex-push-db-ftp" 'Pushed to ftp with index [${VORTEX_DB_INDEX}].'
+ stub_sibling "vortex-push-db-s3" 'Pushed to s3 with index [${VORTEX_DB_INDEX}].'
+}
+
+@test "push-db: Skip when the push is not requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp"
+
+ for proceed in "" 0; do
+ export VORTEX_PUSH_DB_PROCEED="${proceed}"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "[INFO] Started database push."
+ assert_output_contains "[ OK ] Skipped database push as VORTEX_PUSH_DB_PROCEED is not set to 1."
+ assert_output_not_contains "Pushed to"
+ assert_output_not_contains "Finished database push."
+ done
+
+ popd >/dev/null
+}
+
+@test "push-db: Push to the store by default" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ unset VORTEX_PUSH_DB_DESTINATIONS
+
+ for db_store in ftp s3; do
+ export VORTEX_FETCH_DB_STORE="${db_store}"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "Pushed to ${db_store} with index []."
+ assert_output_contains "[ OK ] Finished database push."
+
+ for other_store in ftp s3; do
+ [ "${other_store}" = "${db_store}" ] && continue
+ assert_output_not_contains "Pushed to ${other_store}"
+ done
+ done
+
+ popd >/dev/null
+}
+
+@test "push-db: Push to every destination in the list" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+
+ for destinations in "ftp,s3" "ftp s3" " ftp , s3 "; do
+ export VORTEX_PUSH_DB_DESTINATIONS="${destinations}"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "Pushing to the ftp destination."
+ assert_output_contains "Pushed to ftp with index []."
+ assert_output_contains "Pushing to the s3 destination."
+ assert_output_contains "Pushed to s3 with index []."
+ assert_output_contains "[ OK ] Finished database push."
+ done
+
+ popd >/dev/null
+}
+
+@test "push-db: Push to the store and another destination" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="ftp"
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp,s3"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "Pushed to s3 with index []."
+ # The store listed as a destination too is pushed to once.
+ assert_equal "1" "$(grep -c "Pushed to ftp with index \[\]." <<<"${output}")"
+
+ popd >/dev/null
+}
+
+@test "push-db: Push an indexed database to its own destinations" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_DB_INDEX=2
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB2_SOURCE="url"
+ export VORTEX_FETCH_DB2_STORE="s3"
+ export VORTEX_FETCH_DB_STORE="ftp"
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp"
+ # The indexed database is pushed as fetched, so the sanitization setting
+ # does not apply to it.
+ export VORTEX_PROVISION_SANITIZE_DB_SKIP=1
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "[INFO] Started database 2 push."
+ assert_output_contains "Pushed to s3 with index [2]."
+ assert_output_not_contains "Pushed to ftp"
+ assert_output_contains "[ OK ] Finished database 2 push."
+
+ export VORTEX_PUSH_DB2_DESTINATIONS="ftp"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "Pushed to s3 with index [2]."
+ assert_output_contains "Pushed to ftp with index [2]."
+
+ popd >/dev/null
+}
+
+@test "push-db: Skip without destinations" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ unset VORTEX_PUSH_DB_DESTINATIONS VORTEX_FETCH_DB_STORE
+
+ for db_source in url lagoon container_registry ftp s3; do
+ export VORTEX_FETCH_DB_SOURCE="${db_source}"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains "[ OK ] Skipped database push as VORTEX_FETCH_DB_STORE and VORTEX_PUSH_DB_DESTINATIONS are empty."
+ assert_output_not_contains "Pushed to"
+ assert_output_not_contains "Finished database push."
+ done
+
+ popd >/dev/null
+}
+
+@test "push-db: Use the source from .env by default" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ unset VORTEX_FETCH_DB_SOURCE VORTEX_PUSH_DB_DESTINATIONS
+ export VORTEX_PUSH_DB_PROCEED=1
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_success
+ assert_output_contains '[ OK ] Skipped database push as VORTEX_FETCH_DB_STORE and VORTEX_PUSH_DB_DESTINATIONS are empty.'
+ assert_output_not_contains "Pushed to"
+
+ popd >/dev/null
+}
+
+@test "push-db: Fail with an unsupported destination" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp,gdrive"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_failure
+ assert_output_contains '[FAIL] Unsupported database push destination "gdrive" in VORTEX_FETCH_DB_STORE or VORTEX_PUSH_DB_DESTINATIONS. Use one or more of: ftp, s3.'
+ # Every destination is checked before the first push.
+ assert_output_not_contains "Pushed to"
+
+ popd >/dev/null
+}
+
+@test "push-db: Refuse to push to the fetch source" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="ftp"
+ export VORTEX_PUSH_DB_DESTINATIONS="s3,ftp"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_failure
+ assert_output_contains '[FAIL] Refused to push the database to the "ftp" fetch source, as the push would replace the dump the database was fetched from.'
+ assert_output_not_contains "Pushed to"
+
+ popd >/dev/null
+}
+
+@test "push-db: Refuse to push a database that is not sanitized" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp"
+ export VORTEX_PROVISION_SANITIZE_DB_SKIP=1
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_failure
+ assert_output_contains "[FAIL] Refused to push the database as VORTEX_PROVISION_SANITIZE_DB_SKIP is set to 1 and the database dump is not sanitized."
+ assert_output_not_contains "Pushed to"
+ assert_output_not_contains "Finished database push."
+
+ popd >/dev/null
+}
+
+@test "push-db: Stop at the first destination that fails" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ stub_push_scripts
+ printf '#!/usr/bin/env bash\necho "Failed to push to ftp."\nexit 1\n' >.vortex/tooling/src/vortex-push-db-ftp
+ chmod +x .vortex/tooling/src/vortex-push-db-ftp
+
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp,s3"
+
+ run .vortex/tooling/src/vortex-push-db
+ assert_failure
+ assert_output_contains "Failed to push to ftp."
+ assert_output_not_contains "Pushed to s3"
+ assert_output_not_contains "Finished database push."
+
+ popd >/dev/null
+}
diff --git a/.vortex/tooling/tests/unit/refresh-db.bats b/.vortex/tooling/tests/unit/refresh-db.bats
index 091c08d083..e0e6996abd 100644
--- a/.vortex/tooling/tests/unit/refresh-db.bats
+++ b/.vortex/tooling/tests/unit/refresh-db.bats
@@ -246,6 +246,183 @@ load ../_helper.bash
popd >/dev/null
}
+@test "refresh-db: Sanitizes the database for a store with a push requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "upstream" >.data/db.sql
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE
+ export VORTEX_PUSH_DB_PROCEED=1
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+ stub_sibling "vortex-fetch-db" "Fetched the dump file."
+ stub_sibling "vortex-export-db" 'Exported the database to ${1}.'
+
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="ftp"
+
+ mock_command "sleep" >/dev/null
+ mock_docker=$(mock_command "docker")
+ mock_set_output "${mock_docker}" "Started the stack." 1
+ mock_set_output "${mock_docker}" "Created the directory." 2
+ mock_set_output "${mock_docker}" "Copied the dump file." 3
+ mock_set_output "${mock_docker}" "Provisioned the site." 4
+ mock_set_output "${mock_docker}" "Sanitized the database." 5
+ mock_set_output "${mock_docker}" "Copied the dump file back." 6
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_success
+ # The fetch step already fetched the dump from the source.
+ assert_output_not_contains "Fetched the dump file."
+ assert_output_contains "[ OK ] Copied database dump file ./.data/db.sql into the cli container."
+ assert_output_contains "Sanitized the database."
+ assert_output_contains "Exported the database to db.sql."
+ assert_output_contains "[ OK ] Finished database refresh."
+
+ # The store holds no database image, so the provisioning imports the dump.
+ assert_string_contains "$(mock_get_call_args "${mock_docker}" 4)" "-e VORTEX_DB_IMAGE= -e VORTEX_PROVISION_POST_OPERATIONS_SKIP=1 -T cli ./vendor/bin/vortex-provision"
+ # The provisioning skips the sanitization, so it runs before the export.
+ assert_string_contains "$(mock_get_call_args "${mock_docker}" 5)" "-T cli ./vendor/drevops/vortex-tooling/src/vortex-provision-sanitize-db"
+ assert_string_contains "$(mock_get_call_args "${mock_docker}" 6)" "compose --progress quiet cp -L cli:/app/.data/db.sql ./.data/db.sql"
+ assert_equal "6" "$(mock_get_call_num "${mock_docker}")"
+
+ popd >/dev/null
+}
+
+@test "refresh-db: Exports the store database unsanitized when a push is not requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "store" >.data/db.sql
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE VORTEX_PUSH_DB_PROCEED
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="ftp"
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+ stub_sibling "vortex-export-db" 'Exported the database to ${1}.'
+
+ mock_command "sleep" >/dev/null
+ mock_docker=$(mock_command "docker")
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_success
+ assert_output_contains "Exported the database to db.sql."
+ assert_output_contains "[ OK ] Finished database refresh."
+
+ # The dump from the store is already sanitized.
+ assert_string_contains "$(mock_get_call_args "${mock_docker}" 5)" "compose --progress quiet cp -L cli:/app/.data/db.sql ./.data/db.sql"
+ assert_equal "5" "$(mock_get_call_num "${mock_docker}")"
+
+ popd >/dev/null
+}
+
+@test "refresh-db: Sanitizes the database for push destinations from any fetch source" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "upstream" >.data/db.sql
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE VORTEX_FETCH_DB_STORE
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_PUSH_DB_DESTINATIONS="ftp,s3"
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+ stub_sibling "vortex-export-db" 'Exported the database to ${1}.'
+
+ mock_command "sleep" >/dev/null
+ mock_docker=$(mock_command "docker")
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_success
+ assert_output_contains "[ OK ] Finished database refresh."
+
+ assert_string_contains "$(mock_get_call_args "${mock_docker}" 5)" "-T cli ./vendor/drevops/vortex-tooling/src/vortex-provision-sanitize-db"
+ assert_equal "6" "$(mock_get_call_num "${mock_docker}")"
+
+ popd >/dev/null
+}
+
+@test "refresh-db: Exports the database unsanitized without a store or destinations" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "upstream" >.data/db.sql
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE VORTEX_FETCH_DB_STORE VORTEX_PUSH_DB_DESTINATIONS
+ export VORTEX_FETCH_DB_SOURCE="ftp"
+ export VORTEX_PUSH_DB_PROCEED=1
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+ stub_sibling "vortex-export-db" 'Exported the database to ${1}.'
+
+ mock_command "sleep" >/dev/null
+ mock_docker=$(mock_command "docker")
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_success
+ assert_output_contains "[ OK ] Finished database refresh."
+
+ # Nothing is pushed, so the database is not sanitized.
+ assert_equal "5" "$(mock_get_call_num "${mock_docker}")"
+
+ popd >/dev/null
+}
+
+@test "refresh-db: Fails when the sanitization is skipped for a store with a push requested" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="ftp"
+ export VORTEX_PUSH_DB_PROCEED=1
+ export VORTEX_PROVISION_SANITIZE_DB_SKIP=1
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+
+ mock_docker=$(mock_command "docker")
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_failure
+ assert_output_contains "[FAIL] The pushed database dump file must be sanitized, but VORTEX_PROVISION_SANITIZE_DB_SKIP is set to 1."
+ assert_output_not_contains "Logged in to the registry."
+ assert_equal "0" "$(mock_get_call_num "${mock_docker}")"
+
+ popd >/dev/null
+}
+
+@test "refresh-db: Fails when the sanitization fails for a store" {
+ pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1
+
+ mkdir -p .data
+ echo "upstream" >.data/db.sql
+
+ unset VORTEX_DB_IMAGE VORTEX_DB_IMAGE_BASE
+ export VORTEX_FETCH_DB_SOURCE="lagoon"
+ export VORTEX_FETCH_DB_STORE="s3"
+ export VORTEX_PUSH_DB_PROCEED=1
+
+ stub_sibling "vortex-login-container-registry" "Logged in to the registry."
+ stub_sibling "vortex-export-db" 'Exported the database to ${1}.'
+
+ mock_command "sleep" >/dev/null
+ mock_docker=$(mock_command "docker")
+ mock_set_output "${mock_docker}" "Started the stack." 1
+ mock_set_output "${mock_docker}" "Created the directory." 2
+ mock_set_output "${mock_docker}" "Copied the dump file." 3
+ mock_set_output "${mock_docker}" "Provisioned the site." 4
+ mock_set_status "${mock_docker}" 1 5
+
+ run .vortex/tooling/src/vortex-refresh-db
+ assert_failure
+ assert_output_contains "[FAIL] Unable to sanitize the database."
+ assert_output_not_contains "Exported the database to db.sql."
+
+ popd >/dev/null
+}
+
@test "refresh-db: Fails when the exported dump file cannot be copied from the cli container" {
pushd "${LOCAL_REPO_DIR}" >/dev/null || exit 1