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

Set ACLI_DB env vars #56

Merged
merged 5 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## v0.8.0 - [May 17, 2023](https://github.com/lando/acquia/releases/tag/v0.8.0)

* Added ACLI_DB env vars [#56](https://github.com/lando/acquia/pull/56)
* Updated to PHP 8.1 in the engagedemo app.

## v0.7.0 - [December 12, 2022](https://github.com/lando/acquia/releases/tag/v0.7.0)
* Added bundle-dependencies to release process.
* Fixed bug in plugin dogfooding test.
* Added bundle-dependencies to release process.
* Fixed bug in plugin dogfooding test.

## v0.6.0 - [September 7, 2022](https://github.com/lando/acquia/releases/tag/v0.6.0)

Expand Down
9 changes: 7 additions & 2 deletions examples/drupal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lando poweroff
# Should initialize the lando acquia test drupal9 site
rm -rf drupal9 && mkdir -p drupal9 && cd drupal9
lando init --source acquia --acquia-key "$ACQUIA_API_KEY" --acquia-secret "$ACQUIA_API_SECRET" --acquia-app "53fd24cf-803f-4024-afac-c457cfc5c273" --acquia-key-name "$RUN_ID"
echo -e "\nplugins:\n \"@lando/acquia/\": ./../../" >> .lando.yml
echo -e "\nplugins:\n \"@lando/acquia/\": ./../../../" >> .lando.yml
git stash

# Should start up our drupal9 site successfully
Expand Down Expand Up @@ -64,7 +64,7 @@ lando ssh -c "/usr/local/bin/composer --version" | grep Composer | grep "2.0.11"

# Should use php version 7.4 by default
cd drupal9
lando php -v | grep "PHP 7.4"
lando php -v | grep "PHP 8.1"

# Should be able to bootstrap drupal9
cd drupal9
Expand All @@ -75,6 +75,11 @@ cd drupal9
lando ssh -c "env" | grep AH_SITE_ENVIRONMENT | grep LANDO
lando ssh -c "env" | grep AH_SITE_GROUP | grep engagedemo
lando ssh -c "env" | grep AH_SITE_UUID | grep 53fd24cf-803f-4024-afac-c457cfc5c273
lando ssh -c "env" | grep ACLI_DB_HOST | grep database
lando ssh -c "env" | grep ACLI_DB_USER | grep acquia
lando ssh -c "env" | grep ACLI_DB_PASSWORD | grep acquia
lando ssh -c "env" | grep ACLI_DB_NAME | grep acquia


# Should be running from the docroot directory
cd drupal9
Expand Down
4 changes: 4 additions & 0 deletions recipes/acquia/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ module.exports = {
AH_SITE_UUID: appUuid,
AH_SITE_GROUP: group,
AH_SITE_ENVIRONMENT: 'LANDO',
ACLI_DB_HOST: 'database',
ACLI_DB_USER: 'acquia',
ACLI_DB_PASSWORD: 'acquia',
ACLI_DB_NAME: 'acquia',
};

// Mount the acquia settings.php file for auto service "discovery"
Expand Down