Skip to content

Adding branch option to operator build workflow. #270

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 17 commits into from
Dec 11, 2024
Merged

Conversation

okankoAMZ
Copy link
Contributor

@okankoAMZ okankoAMZ commented Nov 8, 2024

Issue #, if available:
1 ) Currently, operator determine what branch to build on using github.sha and github.repo however, we want to have the option specify what branch and repo to build.
2) We want to skip some test if we are just building the operator.
Description of changes:
Added three new input fields. Two of them determine what branch to checkout that default to github.sha and gitub.repo, addressing issue 1. The third field determines if tests should be ran before upload and is enabled by default.
Testing
https://github.com/aws/amazon-cloudwatch-agent-operator/actions/runs/11748848783
newer: https://github.com/aws/amazon-cloudwatch-agent-operator/actions/runs/12283648904

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@okankoAMZ okankoAMZ marked this pull request as ready for review November 8, 2024 20:04
musa-asad
musa-asad previously approved these changes Nov 8, 2024
musa-asad
musa-asad previously approved these changes Nov 8, 2024
lisguo
lisguo previously approved these changes Nov 12, 2024
dricross
dricross previously approved these changes Nov 12, 2024
lisguo
lisguo previously approved these changes Nov 12, 2024
Co-authored-by: Lisa Guo <lguo25@gmail.com>
@okankoAMZ okankoAMZ dismissed stale reviews from lisguo and dricross via 19a8a9f November 29, 2024 19:11
okankoAMZ and others added 7 commits December 11, 2024 14:03
Co-authored-by: Musa <musaasad@amazon.com>
Co-authored-by: Musa <musaasad@amazon.com>
Co-authored-by: Musa <musaasad@amazon.com>
Co-authored-by: Musa <musaasad@amazon.com>
Co-authored-by: Musa <musaasad@amazon.com>
Copy link
Contributor

@musa-asad musa-asad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now.

@okankoAMZ okankoAMZ merged commit 271c60a into main Dec 11, 2024
20 checks passed
@okankoAMZ okankoAMZ deleted the e2e-testing branch December 11, 2024 21:52
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.

6 participants