-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSUE-204: remove debugging commands
- Loading branch information
1 parent
65594c1
commit 5ce6c01
Showing
2 changed files
with
3 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,40 +40,15 @@ runs: | |
drainpipe_exec "ACQUIA_API_KEY=${{ inputs.api-key }} ACQUIA_API_SECRET=${{ inputs.api-secret }} ./vendor/bin/task acquia:auth" | ||
ENVIRONMENT="${{ inputs.environment }}" | ||
APPLICATION=${ENVIRONMENT%.*} | ||
drainpipe_exec "acli remote:aliases:download --no-interaction $APPLICATION" | ||
# - name: debug lullabotsandbox.site.yml before | ||
# shell: bash | ||
# run: drainpipe_exec "cat /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
|
||
- name: continue | ||
shell: bash | ||
run: | | ||
source .github/actions/drainpipe/set-env/bash_aliases | ||
echo "BEFORE" | ||
drainpipe_exec "cat /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
# Avoid using drush9 | ||
# drainpipe_exec "sed -i.bak 's|drush9|/var/www/html/lullabotsandbox.dev/vendor/bin/drush|g' /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
# Avoid using drush9, it seems to be an Acquia issue. | ||
# https://docs.acquia.com/acquia-cloud-platform/manage-apps/command-line/drush#section-specifying-a-version-of-drush-in-commands | ||
# Removes *.paths where drush9 is specified. | ||
drainpipe_exec "yq eval '(.** | .paths) = {}' -i /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
echo "AFTER" | ||
drainpipe_exec "cat /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
drainpipe_exec "echo \"StrictHostKeyChecking no\" >> ~/.ssh/config" | ||
drainpipe_exec "task drupal:maintenance:on [email protected]" | ||
# - name: debug lullabotsandbox.site.yml after | ||
# shell: bash | ||
# run: drainpipe_exec "cat /var/www/html/drush/sites/lullabotsandbox.site.yml" | ||
|
||
|
||
- name: Push to Acquia | ||
uses: ./drainpipe/scaffold/github/actions/acquia/push | ||
with: | ||
|