Commit graph

18 commits

Author SHA1 Message Date
Oliver Davies 2fb52df7c8 Add --no-interaction argument 2020-12-12 12:29:02 +00:00
Oliver Davies ed98118652 Run database updates before importing config
References 
2020-10-08 18:29:00 +01:00
Oliver Davies 1781a2cf01 Add Ansible role to fix Drupal file permissions
Add a new `drupal-permissions` Ansible role that resets the file and
directory permissions to match the ones described in
https://www.drupal.org/node/244924.

This will later be released to Ansible Galaxy, but for now it will
remain in this repository until the required changes are made and the
appropriate documentation is added.

Fixes 
2020-09-04 20:23:07 +01:00
Oliver Davies 4e8c464dc8 Re-order deployment steps
Ensure that the configuration import is run before the database updates,
so that any new fields are created that are needed within the update
steps such as `field_type` on the talk node type.
2020-08-21 12:06:24 +01:00
Oliver Davies 8761f9c4cc Revert "Build talk slides during deploy"
This reverts commit 5ae79ffa6e.
2020-08-12 21:16:44 +01:00
Oliver Davies 5ae79ffa6e Build talk slides during deploy 2020-08-12 18:19:04 +01:00
Oliver Davies 9dbcf903f4 Ansible: Extract an include for building theme assets 2020-06-17 01:36:06 +01:00
Oliver Davies e874475c32 Ansible: Re-organise deployment steps 2020-06-17 01:23:31 +01:00
Oliver Davies b83baa4c26 Ansible: prevent showing changed status when not changed 2020-06-17 00:12:31 +01:00
Oliver Davies 922ac14e6b Ansible: Optimise the autoloader 2020-06-16 23:45:46 +01:00
Oliver Davies 5ec999e3f2 Re-order deploy steps
Run database changes before importing configuration.

References 
2020-06-12 02:15:52 +01:00
Oliver Davies cee084092b Re-order deployment steps
Re-order the deployment steps, ensuring that the Drupal cache is rebuilt
before trying to run the custom Drush command to ensure that it is
found.

References .
2020-05-20 12:22:45 +01:00
Oliver Davies ab5849ae5b Run the command during deployment
Run the new command automatically during the deployment, prior to
generating the production CSS.

References 
2020-05-20 11:59:13 +01:00
Oliver Davies a2c1c99058 Build theme CSS during deployment
Fixes 
2020-05-14 22:21:58 +01:00
Oliver Davies 75652fe560 Split args onto separate lines 2020-02-19 00:58:41 +00:00
Oliver Davies e9baad51d8 Use Ansible Galaxy for settings role
Now that the Drupal settings role is on Ansible Galaxy, it can be added as a requirement and installed from there rather than having a local copy in the codebase.

Fixes 
2020-02-19 00:55:32 +00:00
Oliver Davies 526f567da1 Run more Drush commands during deployment 2020-02-08 00:32:11 +00:00
Oliver Davies f2e458ca13 Add Ansible playbook for deployments 2020-02-07 22:32:25 +00:00