Skip to content

Commit

Permalink
resolved deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
okankoAMZ committed Nov 7, 2024
1 parent 92eeb56 commit 4ec7d26
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/e2e-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
name: Build End-to-End Test Artifacts
env:
OPERATOR_GITHUB_REPO_NAME: "aws/amazon-cloudwatch-agent-operator"
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref_name }}
# cancel-in-progress: true
on:
push:
branches:
Expand Down Expand Up @@ -50,17 +50,21 @@ jobs:
latest_sha=$(git rev-parse HEAD)
echo "::set-output name=LATEST_SHA::$latest_sha"
BuildAgent:
needs: [GetLatestCommitSHAs]
uses: ./.github/workflows/build-test-artifacts.yml
secrets: inherit
concurrency:
group: ${{ github.workflow }}-${{inputs.agent-branch}}
group: "Build-Test-Artifacts-${{ inputs.agent-branch}}"
cancel-in-progress: true
secrets: inherit
permissions:
id-token: write
contents: read
BuildOperator:
needs: [GetLatestCommitSHAs]
uses: aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload-release.yml@main
concurrency:
group: ${{ github.workflow }}-operator-${{ inputs.operator-branch}}
cancel-in-progress: true
secrets: inherit
with:
tag: ${{needs.GetLatestCommitSHAs.outputs.LATEST_SHA}}
Expand Down

0 comments on commit 4ec7d26

Please sign in to comment.