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

Run the 'Release Airbyte' workflow on EC2 runners #9361

Merged
merged 2 commits into from
Jan 11, 2022

Conversation

pmossman
Copy link
Contributor

@pmossman pmossman commented Jan 7, 2022

What

The platform team discussed frustratingly-long release time in our last retrospective. By running the release workflow on self-hosted EC2 runners, we should be able to speed things up quite a bit.

How

Add steps to start and stop ec2 runners to the release-airbyte-os.yaml workflow definition, like we do for other intensive github workflows.

@davinchia let me know how this looks, and if you have any pointers for testing this out!

@davinchia
Copy link
Contributor

davinchia commented Jan 10, 2022

This seems right!

Kinda jenky - the easiest way to test this is to comment out the gradle publish and the docker push steps in the release_version script. Then navigate to the release workflow and trigger this based off your branch. As long as we see an EC2 workflow spin up and build successfully, we are good!

Remember to close the created PR and leave a comment saying you were testing things out.

@pmossman pmossman temporarily deployed to more-secrets January 10, 2022 17:10 Inactive
@pmossman pmossman temporarily deployed to more-secrets January 10, 2022 21:20 Inactive
@pmossman
Copy link
Contributor Author

@davinchia it looks like the ec2 runner that spins up doesn't have pip installed, so I added actions/setup-python@v2 in order to get it installed.

Does that look alright to you?

@davinchia
Copy link
Contributor

yeap!

@pmossman pmossman force-pushed the parker/release-os-on-ec2-runner branch from 9dfeb99 to 6b8ec7a Compare January 11, 2022 18:10
@pmossman pmossman temporarily deployed to more-secrets January 11, 2022 18:11 Inactive
@pmossman pmossman temporarily deployed to more-secrets January 11, 2022 18:34 Inactive
@pmossman pmossman temporarily deployed to more-secrets January 11, 2022 18:58 Inactive
@pmossman pmossman merged commit 9cff110 into master Jan 11, 2022
@pmossman pmossman deleted the parker/release-os-on-ec2-runner branch January 11, 2022 21:48
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.

None yet

2 participants