-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Migrate MA/MR pipeline from CircleCI to GH Actions #12579
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
Conversation
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.
LGTM! Awesome that we can have it so clean now. Might be a good choice to go this way for the other MA/MR pipelines in the future as well.
|
||
env: | ||
IMAGE_NAME: "localstack/localstack" | ||
TINYBIRD_DATASOURCE: "community_tests_circleci_ma_mr" |
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.
nit: Would change this to simply community_tests_ma_mar
but this will be handled by me either way in the PR handling tinybird upload
pull_request: | ||
paths: | ||
- '.github/workflows/aws-tests-mamr.yml' | ||
- '.github/workflows/aws-tests.yml' |
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.
praise: nice idea :)
Motivation
This PR is part of the ongoing initiative to migrate our CI/CD workflows from CircleCI to GitHub Actions.
Specifically, it introduces a multi-region and multi-account test execution workflow. It reuses the full-run test suite introduced in #12545 and enhances it by generating randomized AWS Account IDs and Regions.
Changes
.github/workflows/aws-tests-mamr.yml
for executing full-run tests with randomised AWS credentials.TEST_AWS_ACCOUNT_ID
,TEST_AWS_ACCESS_KEY_ID
andTEST_AWS_REGION_NAME
.Prepare Local Test Environment
..github/workflows/aws-tests.yml
to add values for region, account id and access key id and set the defaults from config.py.Testing
Successful Workflow: https://github.com/sannya-singal/localstack/actions/runs/14856442816/job/41711348012.
Note: This skips docker client tests in class
TestDockerClient
: here andtest_create_with_exposed_ports
: here)Screenshots
Random credentials being used for the testing of the workflow:
Successful Workflow Run: