This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
Release 1.2.0
Further consolidation efforts to bring SaaS and PaaS closer together when projects are created. This is a preliminary release for the scaffold consolidation work and will aim to move the deployment process to testable scripts provided by the https://github.com/govCMS/scaffold-tooling package.
Whats new?
- Consolidated .lagoon.yml deployment process using scripts provided by scaffold-tooling
What does this mean?
- Improved visibility as to how sites are being deployed
- Better centralised control with environment variable flags to toggle deploy stages
New environment variables
Variable | Description | Default |
---|---|---|
GOVCMS_BACKUP_DIR | The location where deployment backups will be kept | /app/web/sites/default/files/private/backups |
GOVCMS_SKIP_CACHE_REBUILD | Skip rebuilding cache on deploy | |
GOVCMS_CONFIG_BACKUP | File name for the configuration backup | pre-deploy-config |
GOVCMS_DEPLOY_WORKFLOW_CONFIG | What the configuration workflow should be, only supports import currently | import |
GOVCMS_DEPLOY_WORKFLOW_CONTENT | What workflow the site should use when building non-production environments, if set to import - will reimport the database every deployment | retain |
GOVCMS_SITE_ALIAS | The site alias to use when extracting a database | govcms.prod |
GOVCMS_SITE_ALIAS_PATH | The drush alias path | /app/drush/sites |
GOVCMS_DEPLOY_UPDB | Perform database updates automatically | true |
GOVCMS_DEPLOY_PRE_UPDB | Flag to allow a database updates before other steps in the automated deployment process | false |
GOVCMS_DEPLOY_ENABLE_MODULES | Ensure govCMS modules are enabled on deployment | true |