Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLT doesn't support additional environments on ACSF #2929

Closed
andrechun opened this issue Jul 4, 2018 · 1 comment
Closed

BLT doesn't support additional environments on ACSF #2929

andrechun opened this issue Jul 4, 2018 · 1 comment

Comments

@andrechun
Copy link

My system information:

  • Acquia ACSF hosting
  • BLT version: 8.9.14

We recently requested Acquia to add additional environments for testing purposes for our ACSF sites (01test2 and 01test3). An error occurred when Acquia engineers were testing it. The problem were caused by scripts/cloud-hooks/functions.sh not able to support environments that are not named "01dev or 01test or 01live". So is it possible to update BLT to support additional environments i.e. (01test2 and 01test3 etc...)?

@lcatlett lcatlett added the acsf label Jul 5, 2018
@lcatlett
Copy link
Contributor

lcatlett commented Jul 5, 2018

@andrechun - to preface this response, Acquia only supports and recommends the Cloud Hooks listed in the ACSF documentation (see https://docs.acquia.com/site-factory/extend/hooks). The scripts/cloud-hooks/functions.sh script you are currently using is deprecated and should never been run in your production environment. The BLT update below deliberately removed some of this functionality in favor of Factory Hooks and BLT 9 removes the functions.sh Cloud Hooks approach completely.

This functionality was added in #2685 in addition to disabling execution of Cloud Hooks on production ACSF environments and in the post-code-deploy hook. After updating to the latest BLT 8.9.x release, you will also need to regenerate both your Cloud Hooks and ACSF Factory Hooks to apply the updates. You can regenerate the files by deleting your factory-hooks and hooks directories in your repo root, then running blt acsf:init and blt setup:cloud-hooks. Note that any customizations or overrides will need to be re-added.

@lcatlett lcatlett closed this as completed Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants