Skip to content

Commit

Permalink
chore(ci): allow sar beta app (#5109)
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro Damascena <lcdama@amazon.pt>
  • Loading branch information
sthulb and leandrodamascena committed Sep 5, 2024
1 parent fa75696 commit c2a2f86
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/publish_v3_layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,28 +187,28 @@ jobs:
# source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
# source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}

#sar-beta:
# needs: beta # canaries run on Layer Beta env
# permissions:
# # lower privilege propagated from parent workflow (release.yml)
# id-token: write
# contents: read
# pull-requests: none
# pages: none
# uses: ./.github/workflows/reusable_deploy_v3_sar.yml
# secrets: inherit
# with:
# stage: "BETA"
# environment: "layer-beta"
# package-version: ${{ inputs.latest_published_version }}
# source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
# source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}
sar-beta:
needs: beta # canaries run on Layer Beta env
permissions:
# lower privilege propagated from parent workflow (release.yml)
id-token: write
contents: read
pull-requests: none
pages: none
uses: ./.github/workflows/reusable_deploy_v3_sar.yml
secrets: inherit
with:
stage: "BETA"
environment: "layer-beta"
package-version: ${{ inputs.latest_published_version }}
source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}

# UNCOMMENT sar-prod JOB
#sar-prod:
# sar-prod:
# needs: sar-beta
# permissions:
# lower privilege propagated from parent workflow (release.yml)
# lower privilege propagated from parent workflow (release.yml)
# id-token: write
# contents: read
# pull-requests: none
Expand Down

0 comments on commit c2a2f86

Please sign in to comment.