Skip to content

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

Merged
merged 274 commits into from
Apr 17, 2025

Conversation

beto-aveiga
Copy link
Collaborator

@beto-aveiga beto-aveiga commented Nov 25, 2024

Adds a Deploy to Acquia Github workflow (with documentation).

@github-actions github-actions bot had a problem deploying to pantheon-pr-740 November 25, 2024 19:13 Failure
@github-actions github-actions bot requested a deployment to pantheon-pr-740 November 25, 2024 19:27 In progress
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 16, 2025 19:54 Destroyed
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 16, 2025 20:00 Inactive
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 13:20 Destroyed
@github-actions github-actions bot temporarily deployed to lullabotsandbox.dev April 17, 2025 13:21 Inactive
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 13:30 Destroyed
@github-actions github-actions bot deployed to lullabotsandbox.dev April 17, 2025 13:31 Active
Although this is not Drainpipe itself, the change makes sense. (suggested by Copilot)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 13:55 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 14:04 Destroyed
@beto-aveiga beto-aveiga force-pushed the justafish/issue-204-acquia-integration--v3 branch from 8601499 to 16e825a Compare April 17, 2025 14:37
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 14:40 Destroyed
@mrdavidburns mrdavidburns requested a review from Copilot April 17, 2025 14:55
Copy link
Contributor

@Copilot Copilot AI left a 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

mrdavidburns and others added 2 commits April 17, 2025 11:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 15:22 Destroyed
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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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.

@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 16:01 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 16:23 Destroyed
@beto-aveiga beto-aveiga force-pushed the justafish/issue-204-acquia-integration--v3 branch from 31d708d to 6995581 Compare April 17, 2025 16:32
@github-actions github-actions bot temporarily deployed to pantheon-pr-740 April 17, 2025 16:34 Destroyed
@mrdavidburns mrdavidburns merged commit 914c64b into main Apr 17, 2025
104 checks passed
@mrdavidburns mrdavidburns deleted the justafish/issue-204-acquia-integration--v3 branch April 17, 2025 18:32
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

Successfully merging this pull request may close these issues.

4 participants