-
Notifications
You must be signed in to change notification settings - Fork 14
Justafish/issue 204 acquia integration v3 #740
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
Justafish/issue 204 acquia integration v3 #740
Conversation
…d deployment task instructions
Although this is not Drainpipe itself, the change makes sense. (suggested by Copilot) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8601499
to
16e825a
Compare
…ssue-204-acquia-integration--v3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces Acquia integration by adding a deploy workflow and related actions along with documentation updates. Key changes include:
- A new Acquia workflow file and supporting GitHub Actions to deploy and manage Acquia environments.
- Additional composite actions for authentication, environment cloning, deployment status, and site updates.
- Updates to the README for integration instructions.
Reviewed Changes
Copilot reviewed 11 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
tasks/acquia.yml | Defines Acquia tasks including authentication and database fetching |
scaffold/github/workflows/AcquiaDeploy.yml | Sets up the GitHub Actions workflow for deploying to Acquia |
scaffold/github/actions/common/set-env/action.yml | Updates environment variable settings for downstream actions |
scaffold/github/actions/common/deployment-status/action.yml | Provides a composite action for setting deployment status |
scaffold/github/actions/common/deployment-create/action.yml | Creates a deployment and registers its ID with GitHub |
scaffold/github/actions/acquia/update/action.yml | Runs site updates or installer based on input condition |
scaffold/github/actions/acquia/push/action.yml | Pushes code to an Acquia environment with proper SSH and VCS checks |
scaffold/github/actions/acquia/deploy/action.yml | Implements the core deployment to Acquia with setup, build, and post-deploy steps |
scaffold/github/actions/acquia/clone-env/action.yml | Clones one Acquia environment to another |
README.md | Documents the Acquia integration and required repository configuration |
.github/workflows/TestAcquia.yml | Provides a test workflow for Acquia integration |
Files not reviewed (5)
- composer.json: Language not supported
- scaffold/acquia/.drainpipeignore: Language not supported
- scaffold/acquia/settings.acquia.php: Language not supported
- src/ScaffoldInstallerPlugin.php: Language not supported
- tests/local-test.sh: Language not supported
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@@ -12,6 +12,15 @@ runs: | |||
steps: | |||
- run: | | |||
echo "Setting Drainpipe environment variables:" | |||
echo "DRAINPIPE_PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')" >> $GITHUB_ENV | |||
echo "DRAINPIPE_SHA=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.sha)" >> $GITHUB_ENV | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try to revert this one after/if all tests pass now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To revert the entire file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted. I will try a deploy to DEV on a real site to see if deploying still works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The deployment didn´t work when I restored the file.
The changes in this PR are needed.
31d708d
to
6995581
Compare
Adds a Deploy to Acquia Github workflow (with documentation).