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

DAT-19298 DevOps :: Refactor test.yml to use ephemeral RedShift infra #280

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

jandroav
Copy link
Contributor

This pull request includes significant updates to the GitHub Actions workflow configuration in .github/workflows/test.yml. The changes introduce a new job for deploying and destroying ephemeral cloud infrastructure, update existing steps for better dependency management, and improve the setup and initialization processes for testing with AWS Redshift.

Key changes include:

New Jobs and Workflow Enhancements:

  • Added a new job deploy-ephemeral-cloud-infra to deploy ephemeral cloud infrastructure using liquibase/build-logic/.github/workflows/ephemeral-cloud-infra.yml.
  • Introduced a destroy-ephemeral-cloud-infra job to ensure the cleanup of ephemeral cloud infrastructure after the tests are run.

Dependency Management and Setup:

  • Updated the prepare-database job to include additional steps for artifact extraction, Liquibase installation, and AWS credential configuration.
  • Changed the actions/checkout and actions/download-artifact to use newer versions (v4 for checkout and v4 for download-artifact).

AWS Redshift Database Initialization:

  • Added steps to extract the Liquibase Redshift artifacts version and install Liquibase from a secure source.
  • Updated the steps for downloading and setting up the AWS Redshift driver and initializing the database, ensuring the correct classpath and credentials are used.

Sayali M and others added 30 commits December 20, 2024 16:00
Sayali M and others added 3 commits January 8, 2025 15:06
…uction

✨ (test.yml): update database preparation steps to use new environment variables
♻️ (test.yml): refactor Redshift database setup to use AWS Secrets Manager for credentials
Copy link
Contributor

Label error: This PR is being prevented from merging because you have not added one of the labels: breakingChanges, newContributors, notableChanges, sdou, skipReleaseNotes, TypeBug, TypeEnhancement, TypeTest. You'll need to add it before this PR can be merged.

structure by renaming jobs and consolidating steps for better
maintenance and readability.

✨ (test.yml): add new steps for AWS credentials configuration and
database initialization to enhance integration testing capabilities.

📝 (test.yml): update comments and remove deprecated steps to keep
the workflow clean and relevant.
…curity and access control in GitHub Actions workflows
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.

2 participants