Skip to content

Commit 0e35558

Browse files
author
Fabiana Severin
committed
fix: changing to precreated bucket
1 parent 9610b52 commit 0e35558

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/build-integration-test.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
MATRIX=$(jq -c '.' .github/test-matrix.json)
3737
echo "matrix=${MATRIX}" >> "$GITHUB_OUTPUT"
3838
39-
build:
39+
build-arch:
4040
needs: load-matrix
4141
runs-on: ${{ matrix.arch.runner }}
4242
strategy:
@@ -72,3 +72,15 @@ jobs:
7272
run: |
7373
export JAVA_HOME=$JAVA_HOME_21_X64
7474
mvn -B package --file lambda-integration-tests/log4j2-test-function/pom.xml
75+
76+
build:
77+
needs: build-arch
78+
if: always()
79+
runs-on: ubuntu-latest
80+
steps:
81+
- name: Check build results
82+
run: |
83+
if [ "${{ needs.build-arch.result }}" != "success" ]; then
84+
echo "Build failed on one or more architectures"
85+
exit 1
86+
fi

.github/workflows/run-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
--parameter-overrides "ParameterKey=LambdaRole,ParameterValue=${{ secrets.AWS_LAMBDA_ROLE }} ParameterKey=Architecture,ParameterValue=${{ matrix.arch.sam_arch }}" \
9999
--no-confirm-changeset \
100100
--no-progressbar \
101-
--resolve-s3 \
101+
--s3-bucket "${{ secrets.S3_BUCKET }}" \
102102
--capabilities CAPABILITY_IAM \
103103
2>&1 | tee /tmp/sam-deploy.log | tail -n 20
104104
LOG4J2_TEST_FUNCTION=$(sam list stack-outputs --stack-name "${stackName}" --output json | jq -r '.[] | select(.OutputKey=="Log4j2TestFunction") | .OutputValue')

0 commit comments

Comments
 (0)