-
Notifications
You must be signed in to change notification settings - Fork 208
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
End-to-End Build Workflow #1416
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Musa <[email protected]>
This PR was marked stale due to lack of activity. |
@@ -96,7 +103,7 @@ jobs: | |||
StartApplicationSignalsE2ETests: | |||
needs: [ BuildAndUploadPackages, BuildAndUploadITAR, BuildAndUploadCN, BuildDocker ] | |||
# Workflow only runs against main | |||
if: ${{ contains(github.ref_name, 'main') }} | |||
if: ${{ contains(github.ref_name, 'main') && inputs.test-image-before-upload}} |
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.
What happens if the workflow is started via workflow_dispatch
which doesn't have the test-image-before-upload
field defined?
workflow_call: | ||
inputs: | ||
operator-branch: | ||
required: true |
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.
If we have a default, does it need to be required?
ECR_TARGET_ALLOCATOR_STAGING_REPO: ${{ vars.ECR_TARGET_ALLOCATOR_STAGING_REPO}} | ||
ECR_OPERATOR_RELEASE_IMAGE: ${{ vars.ECR_TARGET_ALLOCATOR_TEST_OPERATOR_REPO}} |
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.
Are these going to be used?
secrets: inherit | ||
with: | ||
tag: ${{needs.GetLatestOperatorCommitSHA.outputs.operator_commit_sha}} | ||
target-branch: ${{needs.GetLatestOperatorCommitSHA.outputs.operator_commit_sha}} |
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.
target-branch: ${{needs.GetLatestOperatorCommitSHA.outputs.operator_commit_sha}} | |
target-sha: ${{needs.GetLatestOperatorCommitSHA.outputs.operator_commit_sha}} |
Description of the issue
Allows us to build and test with operator for full end-to-end testing
Description of changes
Added new workflow to build agent and operator together
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/11748578760
Requirements
Before commit the code, please do the following steps.
make fmt
andmake fmt-sh
make lint