Skip to content

Commit 4c535bd

Browse files
Test SAR BETA Deploy
1 parent 69cd4d2 commit 4c535bd

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/workflows/publish_v3_layer.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -187,22 +187,22 @@ jobs:
187187
# source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
188188
# source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}
189189

190-
#sar-beta:
191-
# needs: beta # canaries run on Layer Beta env
192-
# permissions:
193-
# # lower privilege propagated from parent workflow (release.yml)
194-
# id-token: write
195-
# contents: read
196-
# pull-requests: none
197-
# pages: none
198-
# uses: ./.github/workflows/reusable_deploy_v3_sar.yml
199-
# secrets: inherit
200-
# with:
201-
# stage: "BETA"
202-
# environment: "layer-beta"
203-
# package-version: ${{ inputs.latest_published_version }}
204-
# source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
205-
# source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}
190+
sar-beta:
191+
needs: beta # canaries run on Layer Beta env
192+
permissions:
193+
# lower privilege propagated from parent workflow (release.yml)
194+
id-token: write
195+
contents: read
196+
pull-requests: none
197+
pages: none
198+
uses: ./.github/workflows/reusable_deploy_v3_sar.yml
199+
secrets: inherit
200+
with:
201+
stage: "BETA"
202+
environment: "layer-beta"
203+
package-version: ${{ inputs.latest_published_version }}
204+
source_code_artifact_name: ${{ inputs.source_code_artifact_name }}
205+
source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }}
206206

207207
# UNCOMMENT sar-prod JOB
208208
#sar-prod:

.github/workflows/reusable_deploy_v3_sar.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
# From the generated LayerStack cdk.out artifact, find the layer asset path for the correct architecture.
146146
# We'll use this as the source directory of our SAR. This way we are re-using the same layer asset for our SAR.
147147
PYTHON_VERSION=$(echo ${{ matrix.python-version }} | tr -d '.')
148-
asset=$(jq -jc '.Resources[] | select(.Properties.CompatibleArchitectures == ["${{ matrix.architecture }}"]) | .Metadata."aws:asset:path"' "cdk.out/LayerV3Stack-${PYTHON_VERSION}.template.json")
148+
asset=$(jq -jc '.Resources[] | select(.Properties.CompatibleArchitectures == ["${{ matrix.architecture }}"]) | .Metadata."aws:asset:path"' "cdk.out/LayerV3Stack-python${PYTHON_VERSION}.template.json")
149149
150150
# fill in the SAR SAM template
151151
sed \

0 commit comments

Comments
 (0)