Skip to content

Implement Bypass Test Mechanism for Emergent Release #273

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 13 commits into from
Dec 5, 2024
14 changes: 13 additions & 1 deletion .github/workflows/build-and-upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: false
default: false
type: boolean
bypass-e2e-test:
description: "Bypass E2E Test"
required: false
default: false
type: boolean
tag:
description: 'Staging Artifact Tag'
required: false
Expand All @@ -30,6 +35,11 @@ on:
required: false
default: false
type: boolean
bypass-e2e-test:
description: "Bypass E2E Test"
required: false
default: false
type: boolean
tag:
description: 'Staging Artifact Tag'
required: false
Expand Down Expand Up @@ -124,6 +134,7 @@ jobs:
go mod download
export GOARCH=arm64 && make targetallocator
export GOARCH=amd64 && make targetallocator

- name: Build Cloudwatch Agent Target Allocator Image and push to ECR
uses: docker/build-push-action@v4
if: steps.cached_binaries.outputs.cache-hit == false
Expand All @@ -135,6 +146,7 @@ jobs:
platforms: linux/amd64, linux/arm64

e2e-test:
if: ${{ !inputs.bypass-e2e-test }}
name: "Application Signals E2E Test"
needs: [MakeBinary]
uses: ./.github/workflows/application-signals-e2e-test.yml
Expand All @@ -147,7 +159,7 @@ jobs:

push-release-ecr:
if: ${{ inputs.release }}
needs: e2e-test
needs: [MakeTABinary, e2e-test]
permissions:
id-token: write
contents: read
Expand Down
Loading