File tree Expand file tree Collapse file tree 1 file changed +39
-3
lines changed Expand file tree Collapse file tree 1 file changed +39
-3
lines changed Original file line number Diff line number Diff line change 9090 driver : docker
9191 platforms : ${{ matrix.architecture }}
9292
93-
9493 - name : Deploy AOT Stack
9594 run : |
9695 cd libraries/tests/e2e/infra-aot
@@ -146,8 +145,45 @@ jobs:
146145 cd libraries/tests/e2e/infra
147146 cdk destroy --force
148147
148+ destroy-aot-stack :
149+ runs-on : ubuntu-latest
150+ needs : run-tests
151+ if : always()
152+ strategy :
153+ fail-fast : false
154+ matrix :
155+ architecture : [ x86_64, arm64 ]
156+ steps :
157+ - name : Checkout code
158+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
159+
160+ - name : Configure AWS credentials
161+ uses : aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502
162+ with :
163+ role-to-assume : ${{ secrets.E2E_DEPLOY_ROLE }}
164+ aws-region : us-east-1
165+ mask-aws-account-id : true
166+
167+ - name : Install CDK
168+ run : npm install -g aws-cdk
169+
170+ - name : Install AWS Lambda .NET CLI Tools
171+ run : dotnet tool install -g Amazon.Lambda.Tools
172+
173+ - name : Set up QEMU
174+ uses : docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a
175+ with :
176+ platforms : ${{ matrix.architecture }}
177+
178+ - name : Set up Docker Buildx
179+ id : builder
180+ uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
181+ with :
182+ install : true
183+ driver : docker
184+ platforms : ${{ matrix.architecture }}
185+
149186 - name : Destroy Core AOT Stack
150187 run : |
151188 cd libraries/tests/e2e/infra-aot
152- cdk destroy -c architecture=arm64 --force
153- cdk destroy -c architecture=x86_64 --force
189+ cdk destroy -c architecture=${{ matrix.architecture }} --force
You can’t perform that action at this time.
0 commit comments