Skip to content

Commit 7d698ec

Browse files
gregharveytymofiisobchenkomatej5Matej Stajduharphilipnorton42
authored
Bug fixes pr devel (#529)
* Fix cachetool removal pr 1.x (#229) * fix_cachetool_removal_step * fix task name * fix_cachetool_removal_task * fix_cachetool_removal_task * Documentation enhancements pr 1.x (#218) * Better deploy_code role docs. * roles path error in docs. * roles path error in docs. * Adding a note about deploy_previous handling for squashfs. * Reference incorrect role for deploy user sudo perms. * Minor edits to frontpage README. * Rebuilt docs. * Accidentally overwrote docs change. * Drush refactor pr 1.x (#231) * Fixing sync jobs. * Fixing bad task title. * Drush refactor pr 1.x (#234) * Fixing sync jobs. * Fixing bad task title. * Trying to fix D7 drush issues with chdir. * Drush refactor pr 1.x (#236) * Fixing sync jobs. * Fixing bad task title. * Trying to fix D7 drush issues with chdir. * Moving D7 drush commands back to 'shell'. * Change php detection for fastcgi and cachetool pr 1.x (#238) * change_php_detection_for_fastcgi_and_cachetool * fix_typo * change_php_detection_for_fastcgi_and_cachetool_no_sudo * Cachetool bin per site pr 1.x (#243) * cachetool_bin_per_project * cachetool_bin_per_site_fix * cachetool_bin_per_site_fix2 * apcu no longer has an 'all' option. (#245) * Refactoring cachetool path setting to match other squashfs vars. (#247) * Cachetool pr 1.x (#249) * Refactoring cachetool path setting to match other squashfs vars. * Refactoring cachetool_bin handling. * Ensuring we can prevent features and ctools deployments in Drupal 7. (#240) * Cachetool pr 1.x (#251) * Refactoring cachetool path setting to match other squashfs vars. * Refactoring cachetool_bin handling. * Forgot to remove the default() filter from squashfs var setting. * Refactoring clauses slightly to simplify. * improving_old_builds_cleanup (#254) * improving_old_builds_cleanup * improving_old_builds_cleanup_fix * Adding escaped backticks to db names to be safe. (#256) * Mysql db name pr 1.x (#258) * Adding escaped backticks to db names to be safe. * Looks like Ansible auto-escapes backticks. * Mysql db name pr 1.x (#260) * Adding escaped backticks to db names to be safe. * Looks like Ansible auto-escapes backticks. * Adding backticks to database names for creating MySQL users too. * Mysql db name pr 1.x (#262) * Adding escaped backticks to db names to be safe. * Looks like Ansible auto-escapes backticks. * Adding backticks to database names for creating MySQL users too. * Adding extra mysqldump flags to stop restores failing on RDS. * Mysql db name pr 1.x (#264) * Adding escaped backticks to db names to be safe. * Looks like Ansible auto-escapes backticks. * Adding backticks to database names for creating MySQL users too. * Adding extra mysqldump flags to stop restores failing on RDS. * Removing ignore_errors. * Updating mysqldump query. * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Bug fixes pr 1.x (#266) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Bug fixes pr 1.x (#268) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Making sync paths build unique. * Adding --host parameter to build.sh for pre-deploy host checking with Ansible. (#271) * Making syncs safer and more efficient. (#273) * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Bug fixes pr 1.x (#278) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Bug fixes pr 1.x (#282) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Bug fixes pr 1.x (#284) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Bug fixes pr 1.x (#287) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Adding verbose output for drush. (#289) * Fixing linting errors around white space. * Adding container push and build code. (#300) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Ecs deployments pr 1.x (#314) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * db_import_speed_up (#291) * db_import_speed_up * db_import_speed_up_fixed * db_import_speed_up_fix2 * db_import_speed_up_fix3 * db_import_speed_up_fix4 * db_import_speed_up_fix5_and_gzip * db_import_speed_up_fix6 * db_import_speed_up_fix7 * db_import_speed_up_fix_typo * db_import_speed_up_fix8 * db_import_speed_up_fix9 * db_import_speed_up_refactoring * Ecs deployments pr 1.x (#317) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * fix_typo (#320) * fix_typo * fix_typo * Ecs deployments pr 1.x (#322) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * Improving docs for deploy_container role. * Ecs deployments pr 1.x (#325) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * Improving docs for deploy_container role. * Providing container description example for ECS. * Adding 'force' option to docker builds. * Revert "Adding 'force' option to docker builds." This reverts commit 5574faa182f023c20ec34ae6dc7125c92b4c7dcb. * Adding options to force ECS component refreshes. * Ecs deployments pr 1.x (#329) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * Improving docs for deploy_container role. * Providing container description example for ECS. * Adding 'force' option to docker builds. * Revert "Adding 'force' option to docker builds." This reverts commit 5574faa182f023c20ec34ae6dc7125c92b4c7dcb. * Adding options to force ECS component refreshes. * Allowing users to toggle public IP and execute command mode. * Ecs deployments pr 1.x (#331) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * Improving docs for deploy_container role. * Providing container description example for ECS. * Adding 'force' option to docker builds. * Revert "Adding 'force' option to docker builds." This reverts commit 5574faa182f023c20ec34ae6dc7125c92b4c7dcb. * Adding options to force ECS component refreshes. * Allowing users to toggle public IP and execute command mode. * The ALB needs to be on public subnets, not the same private ones as the cluster. * Updating documentation. * Updating ECS docs. * The unarchive module requires 'dest' to be a directory. * Bug fixes pr 1.x (#334) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Bug fixes pr 1.x (#336) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * default_to_gzip (#338) * update_for_database_names_handling (#340) * update_for_database_names_handling_fix (#342) * Clearing stat and apcu cache for PHP by default. * Adding syncing for feature branches. (#346) * Feature branching pr 1.x (#348) * Adding syncing for feature branches. * Cannot loop over import_role, changing for include_role. * Feature branching pr 1.x (#350) * Adding syncing for feature branches. * Cannot loop over import_role, changing for include_role. * Adding ability to specify an exact filename for a settings template for Drupal 8 and above. * Improving db handling and fixing adding databases later. (#358) * Improving db handling and fixing adding databases later. * Bad spacing caught by linter. * Making an explicit debug entry if we skip database population. * Allowing override of 'handling' on a database-by-database basis. * Tab spacing errors caught by linter. * Syntax error in my debug. * Being more verbose in task naming. * Enforcing bash as the interpretor for shell. * Adding new database handling to dump and none types. * Accidentally doubled the args key on a task. * Variable naming error. * Add -w flag to grep to match only the whole database name when checking for db existence. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Bug fixes pr 1.x (#366) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Bug fixes pr 1.x (#368) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Bug fixes pr 1.x (#372) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Bug fixes pr 1.x (#374) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Bug fixes pr 1.x (#375) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * r66858-adding-variable-to-skip-long-running-tasks (#352) Co-authored-by: Matej Stajduhar <matej.stajduhar@codeenigma.com> * Fixing documentation for opcache role. (#354) * r67016-changing-path-for-database_backup-task (#356) * r67016-changing-path-for-database_backup-task * Slight refactor to use a directory we can safelist with rkhunter. * Docs update. * Removing rogue extra line. --------- Co-authored-by: Matej Stajduhar <matej.stajduhar@codeenigma.com> Co-authored-by: gregharvey <greg.harvey@gmail.com> * 67412 callback plugin fail no hosts pr 1.x (#377) * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Removing obsolete SOPS plugin and adding new callback to fail when no hosts match. * Forgot the constants import in plugin. * Bug fixes pr 1.x (#379) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Bug fixes pr 1.x (#381) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * Bug fixes pr 1.x (#383) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Bug fixes pr 1.x (#386) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Bug fixes pr 1.x (#388) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Bug fixes pr 1.x (#391) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Bug fixes pr 1.x (#393) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Ecs deployments pr 1.x (#397) * Adding container push and build code. * Fixing some minor issues. * Docs updates and template flexibility improvement. * Creating separate registry name for handling docker push. * Trying to get the registry name right. * Adding AWS stack components to ECS builds. * Force a docker logout. * Need to delegate docker commands to the controller. * Trying deleting the credentials file instead. * Fixing var name in subnet.yml. * Missing some ACM variables. * Allowing us to set wait timeout for TG creation. * Uncommenting cpu and memory vars for ECS with Fargate. * Missed a variable in ELB creation. * Couple of linting fixes. * Force building and tagging of containers as an option. * Improving docs for deploy_container role. * Providing container description example for ECS. * Adding 'force' option to docker builds. * Revert "Adding 'force' option to docker builds." This reverts commit 5574faa182f023c20ec34ae6dc7125c92b4c7dcb. * Adding options to force ECS component refreshes. * Allowing users to toggle public IP and execute command mode. * The ALB needs to be on public subnets, not the same private ones as the cluster. * Updating documentation. * Updating ECS docs. * New deploy_container destroy action. * Documentation update. * Adding a note to docs about the container destroy action. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Bug fixes pr 1.x (#400) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * Bug fixes pr 1.x (#402) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * r67637-terminate-sessions-keeping-loop-device-busy (#405) * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * r67637-terminate-sessions-keeping-loop-device-busy * Avoiding-cache-clear-warning-for-site-variable (#415) Co-authored-by: Matej Stajduhar <matej.stajduhar@codeenigma.com> * additional check and debug task (#417) * additional check and debug task * additional check and debug task * additional check and debug task * additional_checks_and_moving_debug_task_to_simplify_diagnostics * r65896-cache-clear-path (#422) * r65896-cache-clear-dir * r65896-cache-clear-dir * grouping squashfs tasks * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-clear-dir * r65896-cache-container-table-truncate (#434) * r65896-cache-container-table-truncate * r65896-cache-container-table-truncate * r65896-cache-container-table-truncate * roles/_init/defaults/main.yml * r65896-cache-container-table-truncate-change-tasks-order (#439) * Moving installation of cachetool to application includes, where they are PHP apps. * Bug fixes pr 1.x (#441) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * Moving installation of cachetool to application includes, where they are PHP apps. * Adding a pause if a replica is declared, so the replica can catch up with the writer. (#443) * Db replica support pr 1.x (#445) * Adding a pause if a replica is declared, so the replica can catch up with the writer. * Making read replica support more robust. * Db replica support pr 1.x (#447) * Adding a pause if a replica is declared, so the replica can catch up with the writer. * Making read replica support more robust. * Ensuring mysql backup takes no action on replicas. * Suppressing backup jobs for replica databases. * Minor docs update. * 448: Drupal 10 default.settings.php for multi-site MR 1.x (#449) * 448: Added setup for the Drupal default.settings.php file, when used in a multi-site context. * 448: Corrected linting issue. * 448: Corrected code style issue. * 448: Added a Drupal default.settings.php file to the templates directory, for use with multi-site Drupal setups. * 448: Added a .j2 to the end of the default.settings.php template reference. --------- Co-authored-by: Philip Norton <phil.norton@codeenigma.com> * New StatusCake check handling role. (#454) * New StatusCake check handling role. * Updating maintenance mode defaults and options. * Following StatusCake task naming conventions. * Statuscake maintenance role pr 1.x (#456) * New StatusCake check handling role. * Updating maintenance mode defaults and options. * Following StatusCake task naming conventions. * Missed the body_format param in StatusCake URI call. * Statuscake maintenance role pr 1.x (#458) * New StatusCake check handling role. * Updating maintenance mode defaults and options. * Following StatusCake task naming conventions. * Missed the body_format param in StatusCake URI call. * Ensuring we pass the test ID as a string to the StatusCake URI call. * Fixing namespaces. * Stashing the original deploy_path in initial_deploy_path for squashfs builds. * Adding a double online step for Drupal builds using SquashFS so both the new site and the currently live site come out of maintenance mode. * We need the path to the previous build for maintenance mode online. * Changing order of tasks so previous_build_number is set earlier. * We also need a previous_drush_bin. * Adding extra healthcheck options for ECS services. (#463) * Adding behaviour to suspend autoscaling on deploy. (#465) * Ecs healthcheck vars pr 1.x (#467) * Adding extra healthcheck options for ECS services. * Renaming scale up/down to in/out to avoid confusion. * Spotted annoying typo. * Fixing MySQL servers with unix socket. * Bad var name. * Extending MySQL Unix socket support. * Fixing minor typo. * Bug fixes pr 1.x (#469) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * Moving installation of cachetool to application includes, where they are PHP apps. * Fixing minor typo. * Lock file pr 1.x (#471) * Adding pre-flight checks and lock file behaviour to ce-deploy. * Moving lock file paths to variables. * Cleaning up namespacing. * Making quotes consistent. * Making quotes consistent. * Making quotes consistent. * Allowing for Drupal cron rollback on revert. * Only running maintenance mode enable on deploy. * Bug fixes pr 1.x (#476) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * Moving installation of cachetool to application includes, where they are PHP apps. * Fixing minor typo. * Cleaning up namespacing. * Making quotes consistent. * Making quotes consistent. * Making quotes consistent. * Allowing for Drupal cron rollback on revert. * Only running maintenance mode enable on deploy. * Adding a new Drupal 10 meta role. (#478) * Adding a new Drupal 10 meta role. * Bad copy/paste in docs. * r69347-db-import-from-deploy-server (#480) * r69347-db-import-from-deploy-server * r69347-db-import-from-deploy-server * r69347-db-import-from-deploy-server * typo fixes and tidying up * Moving previous_deploy_path out of the squashfs block. * Committed installer by accident. * Bug fixes pr 1.x (#486) * Fixing linting so CI can work. * More linting fixes. * Downgrading Ubuntu due to Docker issues with ce-dev and latest. * Making pipefail shell commands use /bin/bash. * Adding pipefail code to cachetool installer block. * Adding executable for drush install checker. * Fixing D7 ctools behaviour to match features handling. * Jinja2 template looking for settings.php using wrong path. * Fixing config_generate for Drupal. * Making host checking more robust. * Removing variable declaration that will break host check. * Allow us to use deploy_code with a completely custom build and do nothing. * Make PHP cachetool install optional. * Fixing bug introduced by failed_when - need to check for return code on mount points. * Moving where opcache clears get called so they can be excluded if necessary. * Fixing linting errors around white space. * The unarchive module requires 'dest' to be a directory. * Fixing Drupal example templates. * Logically splitting tests and removing LGD because it's broken. * Adding extra plugin LGD needs. * Clearing stat and apcu cache for PHP by default. * Adding some perms handling for Drupal 8+ config sync where deploy and web user are different. * Rolling back APCu cache by default as the package must be installed. * Making the remount squashfs code more defensive by using a block. * Trying with 'throttle' keyword to restrict to one machine at a time. * Sadly 'throttle' seems to work on a task level only, not a block level. * Adding hash salt generation for Drupal 8+. * Trying a different syntax for passing params to the password plugin. * Forgot the constants import in plugin. * Reinstating the SOPS plugin - we *do* need it. * Making online/offline tasks use current live code/database. * We need build paths to bring the site back online if it's a squashfs build. * Ensuring _common.sh includes /etc/profile.d for Python venv path. * Making linter happy. * Using the drush_live_bin var in sync jobs for Drupal 8+. * Fixing database dump revert. * Fixing gunzip command. * Having to do a double step to unpack SQL file in /tmp. * Load bash profiles before executing a build. * Fixing linting error, use -n instead of ! -z. * Adding support for specifying path to Ansible and path to Python interpreter. * Moving installation of cachetool to application includes, where they are PHP apps. * Fixing minor typo. * Cleaning up namespacing. * Making quotes consistent. * Making quotes consistent. * Making quotes consistent. * Allowing for Drupal cron rollback on revert. * Only running maintenance mode enable on deploy. * Moving previous_deploy_path out of the squashfs block. * Committed installer by accident. * 472 Cache clearing for Symfony based projects (#473) * 472 Ensure Mautic cache is cleared on every host * 472 Add Symfony cache clear task * 472 Make console path configurable * 472 Fix command variable * Feature branching pr 1.x (#488) * Adding syncing for feature branches. * Cannot loop over import_role, changing for include_role. * Adding ability to specify an exact filename for a settings template for Drupal 8 and above. * First pass at NGINX vhost handling in ce-deploy. * Adding in the SSL role from ce-provision. * Fixing role paths and ensuring NGINX ssl.yml is available. * Fixing NGINX role location. * Tweaking location of domain.yml so it loads the templates correctly. * additional_symlink_task_fix_for_squashfs (#494) * additional_symlink_task_fix_for_squashfs * additional_symlink_task_fix_for_squashfs * additional_symlink_task_fix_for_squashfs * additional_symlink_task_fixes * additional_symlink_task_fixes * fix cachetool url (#500) * strip sandbox mode line from sqldump (#502) * Updating-crons-mailto (#506) * Updating-crons-mailto * Forgot-variable-drupal8 * Updating-cron-path-fixing-mailto (#508) * Updating-cron-path-fixing-mailto * Adding-md * Using-cronvar-module * Fixing-linting-condition * Adding-mailto-dynamically-for-specific-jobs * Fixing-incorrect-crontab-entries * Updating-condition-for-crons * Updating-condition-for-crons * Updating-condition-for-crons * Updating-condition-for-crons * Updating-condition-for-crons * Updating-condition-for-crons * Updating-cron-path-fixing-mailto * Updating-cron-path-fixing-mailto * Updating-cron-path-fixing-mailto * Mailto-filtering * Polishing-cron-output * Fixing-syntax * Filtering-test-crons-mailto * Testing-trim-jinja * Cronjob-path-fix * Reverting * Trying to fix CI. * Ensuring ASG handling only runs once per…
1 parent 505fce9 commit 7d698ec

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

.github/workflows/ce-deploy-test-drupal8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
sudo mv ./mkcert /usr/local/bin && cd ../
3030
sudo chmod +x /usr/local/bin/mkcert
3131
rm -Rf mkcert
32-
curl -sL https://raw.githubusercontent.com/codeenigma/ce-dev/1.x/install.sh | /bin/sh -s -- linux
32+
curl -sL https://raw.githubusercontent.com/codeenigma/ce-dev/2.x/install.sh | /bin/sh -s -- --platform linux
3333
3434
# Uses the ce-dev stack to run a test Drupal deploy
3535
- name: Run a test ce-dev deploy with Drupal 8

.github/workflows/ce-deploy-test-drupal9.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
sudo mv ./mkcert /usr/local/bin && cd ../
3030
sudo chmod +x /usr/local/bin/mkcert
3131
rm -Rf mkcert
32-
curl -sL https://raw.githubusercontent.com/codeenigma/ce-dev/1.x/install.sh | /bin/sh -s -- linux
32+
curl -sL https://raw.githubusercontent.com/codeenigma/ce-dev/2.x/install.sh | /bin/sh -s -- --platform linux
3333
3434
# Uses the ce-dev stack to run a test Drupal deploy
3535
- name: Run a test ce-dev deploy with Drupal 9

ce-dev/ce-dev.compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111
x-ce_dev: {}
1212
volumes:
1313
- ../:/home/ce-dev/ce-deploy
14+
platform: linux/amd64
15+
cgroup: host
1416
web:
1517
image: codeenigma/ce-dev-1.x
1618
x-ce_dev:
@@ -21,7 +23,11 @@ services:
2123
- 443
2224
volumes:
2325
- ../ce-dev/build/:/home/ce-dev/deploy/live.local:delegated
26+
platform: linux/amd64
27+
cgroup: host
2428
db:
2529
image: mariadb
2630
environment:
2731
MYSQL_ROOT_PASSWORD: ce-dev
32+
platform: linux/amd64
33+
cgroup: host

roles/_exit/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
ansible.builtin.command: >
55
aws autoscaling resume-processes --auto-scaling-group-name {{ aws_asg.name }} --region {{ aws_asg.region }}
66
delegate_to: localhost
7+
run_once: true
78
when:
89
- aws_asg.name is defined
910
- aws_asg.name | length > 0

roles/_init/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@
160160
ansible.builtin.command: >
161161
aws autoscaling suspend-processes --auto-scaling-group-name {{ aws_asg.name }} --scaling-processes {{ aws_asg.suspend_processes }} --region {{ aws_asg.region }}
162162
delegate_to: localhost
163+
run_once: true
163164
when:
164165
- aws_asg.name is defined
165166
- aws_asg.name | length > 0

roles/deploy_code/tasks/cleanup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
ansible.builtin.stat:
8585
path: "{{ build_base_path }}/deploy.sqsh"
8686
register: _deploy_code_mount_image
87+
run_once: true
8788

8889
- name: Copy previous SquashFS image to shared mount point in case of rollback.
8990
ansible.builtin.copy:

roles/npm/tasks/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Perform NPM steps.
3-
command:
3+
ansible.builtin.command:
44
cmd: "{{ npm.executor }} {{ npm_command }}"
55
chdir: "{{ npm.working_dir }}"
66
with_items: "{{ npm.commands }}"
@@ -9,7 +9,7 @@
99
when: deploy_operation == 'deploy'
1010

1111
- name: Generate additional templates.
12-
template:
12+
ansible.builtin.template:
1313
src: "{{ template.src }}"
1414
dest: "{{ deploy_path }}/{{ template.dest }}"
1515
with_items: "{{ npm.templates }}"
@@ -20,7 +20,7 @@
2020
- deploy_operation == 'deploy'
2121

2222
- name: Create additional symlinks.
23-
file:
23+
ansible.builtin.file:
2424
src: "{{ link.src }}"
2525
dest: "{{ deploy_path }}/{{ link.dest }}"
2626
state: link
@@ -30,4 +30,4 @@
3030
loop_var: link
3131
when:
3232
- npm.symlinks | length
33-
- deploy_operation == 'deploy'
33+
- deploy_operation == 'deploy'

roles/sync/database_sync/database_sync-mysql/tasks/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
- not database.source.fresh_db
9999

100100
- name: Register source database host.
101-
set_fact:
101+
ansible.builtin.set_fact:
102102
mysql_sync_source_database_host: "{{ mysql_host_info_grep.stdout.split('=')[1] }}"
103103
when:
104104
- not database.source.fresh_db

0 commit comments

Comments
 (0)