@@ -63,10 +63,11 @@ Chains that can be reused on various environments
6363 - site:drush: alias
6464
6565- drupal ** site: update ** Used to run updates and import configuration
66- - drush cr (Clear caches)
67- - drush site-set @site (Set default drush alias)
68- - drush updb (Runs updates)
69- - drush cim (Imports configuration)
66+ - drush site-set @site (Set default drush alias)
67+ - drush sset system.maintenance_mode 1 (Enable maintenance mode)
68+ - drush cr (Clear caches)
69+ - drush updb -y (Runs updates)
70+ - drush sset system.maintenance_mode 0 (Disable maintenance mode)
7071 - drush cr (Clear caches)
7172
7273- drupal ** site:test: setup ** Sets the test suites
@@ -75,8 +76,8 @@ Chains that can be reused on various environments
7576
7677- drupal ** site: test ** Runs test suites
7778 - site:test: setup
78- - behat (Runs behat tests)
79- - phpunit (Runs phpunit tests)
79+ - ./ behat %s' (Runs behat tests)
80+ - ./vendor/bin/ phpunit (Runs phpunit tests)
8081
8182## Environment specific chains
8283Each environment will have its own chain that executes the relevant commands and chains
@@ -107,21 +108,18 @@ Each environment will have its own chain that executes the relevant commands and
107108
108109### CI
109110- drupal ** site:build: ci ** Builds a site for CI
110- - site: configure (chain)
111111 - site:db: import
112112 - site: update (chain)
113113 - site: test (chain)
114114
115115### QA
116116- drupal ** site:build: qa ** Builds a site for QA
117- - site: configure (chain)
118117 - site:db: import
119118 - site: update (chain)
120119 - site: test (chain)
121120
122121### Staging
123122- drupal ** site:build: staging ** Builds a site for Staging
124- - site: configure (chain)
125123 - site:db: import
126124 - site: update (chain)
127125
0 commit comments