-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified variables to use a single DREVOPS_DB_DOWNLOAD_ENVIRONMENT …
…variable.
- Loading branch information
1 parent
6602606
commit e3ffbfc
Showing
5 changed files
with
35 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,36 +112,39 @@ DREVOPS_PROVISION_USE_MAINTENANCE_MODE=1 | |
# Defaults to importing from a file. | ||
# @see https://docs.drevops.com/workflows/database | ||
|
||
# Name of the pre-built Docker image. | ||
# Uncomment to use an image with a DB data loaded into it. | ||
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image. | ||
# DREVOPS_DB_DOCKER_IMAGE=your_org/your_site:latest | ||
|
||
# Database dump directory. | ||
DREVOPS_DB_DIR=./.data | ||
|
||
# Database dump file name. | ||
DREVOPS_DB_FILE=db.sql | ||
|
||
# Name of the pre-built Docker image. | ||
# Uncomment to use an image with a DB data loaded into it. | ||
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image. | ||
# DREVOPS_DB_DOCKER_IMAGE=your_org/your_site:latest | ||
|
||
#;< !PROVISION_USE_PROFILE | ||
# Database can be sourced from one of the following locations: | ||
# | ||
# - `url` - directly from URL as a file using CURL. | ||
# - `curl` - directly from URL as a file using CURL. | ||
# - `ftp` - directly from FTP as a file using CURL. | ||
# - `acquia` - from the latest Acquia backup via Cloud API as a file. | ||
# - `lagoon` - from Lagoon main environment as a file. | ||
# - `docker_registry` - from the docker registry as a docker image. | ||
# - `none` - not downloaded, site is freshly installed for every build. | ||
# | ||
|
||
# Note that "docker_registry" works only for database-in-Docker-image | ||
# database storage (when $DREVOPS_DB_DOCKER_IMAGE variable has a value). | ||
DREVOPS_DB_DOWNLOAD_SOURCE=curl | ||
|
||
#;< !DREVOPS_DB_DOWNLOAD_SOURCE_DOCKER_REGISTRY | ||
#;< DREVOPS_DB_DOWNLOAD_SOURCE_CURL | ||
# Database dump file sourced from CURL, with optional HTTP Basic Authentication | ||
# credentials embedded into the value. | ||
DREVOPS_DB_DOWNLOAD_CURL_URL= | ||
#;> !DREVOPS_DB_DOWNLOAD_SOURCE_DOCKER_REGISTRY | ||
#;> DREVOPS_DB_DOWNLOAD_SOURCE_CURL | ||
|
||
# Environment to download the database from. | ||
DREVOPS_DB_DOWNLOAD_ENVIRONMENT=prod | ||
#;> !PROVISION_USE_PROFILE | ||
|
||
#;< FTP | ||
|
@@ -158,29 +161,16 @@ DREVOPS_DB_DOWNLOAD_FTP_FILE=db.sql | |
#;> FTP | ||
|
||
#;< ACQUIA | ||
# Database dump file sourced from Acquia. | ||
|
||
# Acquia application name to download the database from. | ||
DREVOPS_ACQUIA_APP_NAME= | ||
|
||
# Acquia environment to download the database from. | ||
DREVOPS_DB_DOWNLOAD_ACQUIA_ENV=prod | ||
|
||
# Acquia database name to download the database from. | ||
DREVOPS_DB_DOWNLOAD_ACQUIA_DB_NAME=your_site | ||
#;> ACQUIA | ||
|
||
#;< LAGOON | ||
# Database dump file sourced from Lagoon. | ||
|
||
# Lagoon project name. May be different from $DREVOPS_PROJECT. | ||
LAGOON_PROJECT=your_site | ||
|
||
#;< !PROVISION_USE_PROFILE | ||
# Lagoon environment to download the database from. | ||
DREVOPS_DB_DOWNLOAD_LAGOON_BRANCH=main | ||
#;> !PROVISION_USE_PROFILE | ||
|
||
#;> LAGOON | ||
|
||
#;< DEPLOYMENT | ||
|
@@ -245,11 +235,11 @@ DREVOPS_NOTIFY_EMAIL_RECIPIENTS="[email protected]" | |
# is finished. | ||
#------------------------------------------------------------------------------- | ||
|
||
#;< !DREVOPS_DB_DOWNLOAD_SOURCE_DOCKER_REGISTRY | ||
#;< DREVOPS_DB_DOWNLOAD_SOURCE_CURL | ||
# URL of the demo database used for demonstration with CURL database | ||
# dump as a type of file source. | ||
DREVOPS_DB_DOWNLOAD_CURL_URL=https://github.com/drevops/drevops/releases/download/1.18.0/db_d10.demo.sql | ||
#;> !DREVOPS_DB_DOWNLOAD_SOURCE_DOCKER_REGISTRY | ||
#;> DREVOPS_DB_DOWNLOAD_SOURCE_CURL | ||
|
||
#;< DREVOPS_DB_DOCKER_IMAGE | ||
# The name of the demo database image used for demonstration only for | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters