Deployment (2019)
Deployment practice and workflows from March 2019.
Last updated
Was this helpful?
Deployment practice and workflows from March 2019.
Last updated
Was this helpful?
The following is a table showing the various stages of a deploy to production.
Developer checks out the develop
branch of the main repository.
Developer builds local docker container, and builds Drupal site in container.
Developer creates new working branch e.g. my-branch
.
Developer makes necessary changes to website and/or to PHP code.
Developer tests changes locally.
==========================================================================
The automated deploy process follows continuous deploy (CD) principles whereby:
The deploy workflow is engineered so that all developers are able and enabled to perform a deployment,
Wherever possible, the workflow is automated to remove the need for manual tasks and testing.
The primary tools used by City of Boston in the CD workflow process are:
Docker to manage local development environments.
GitHub for code storage and deploy initiation.
Travis for automated testing, building and packaging.
Acquia Cloud (acapi and cloud webhooks) for deployment.
Secondary tools used by City of Boston in the CD process are:
Phing to abstract scripting processes used in build, test and packaging.
PHPUnit and behat to perform automated testing.
Overall the engineering workflow is as follows:
Reviewers are assigned ():