File tree Expand file tree Collapse file tree 3 files changed +22
-18
lines changed Expand file tree Collapse file tree 3 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ jobs:
18
18
runs-on : aws-powertools_ubuntu-latest_8-core
19
19
steps :
20
20
- name : Checkout code
21
- uses : actions/checkout@v4
21
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
22
22
23
23
- name : Configure AWS credentials
24
- uses : aws-actions/configure-aws-credentials@v2
24
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
25
25
with :
26
26
role-to-assume : ${{ secrets.E2E_DEPLOY_ROLE }}
27
- aws-region : us-east-1
27
+ aws-region : ${{ secrets.E2E_DEPLOY_REGION }}
28
28
29
29
- name : Set up .NET
30
- uses : actions/setup-dotnet@v4
30
+ uses : actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3
31
31
with :
32
32
dotnet-version : ' 8.x'
33
33
@@ -48,16 +48,16 @@ jobs:
48
48
image : public.ecr.aws/sam/build-dotnet8:latest
49
49
steps :
50
50
- name : Checkout code
51
- uses : actions/checkout@v4
51
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
52
52
53
53
- name : Configure AWS credentials
54
- uses : aws-actions/configure-aws-credentials@v2
54
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
55
55
with :
56
56
role-to-assume : ${{ secrets.E2E_DEPLOY_ROLE }}
57
- aws-region : us-east-1
57
+ aws-region : ${{ secrets.E2E_DEPLOY_REGION }}
58
58
59
59
- name : Set up .NET
60
- uses : actions/setup-dotnet@v4
60
+ uses : actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3
61
61
with :
62
62
dotnet-version : ' 8.x'
63
63
Original file line number Diff line number Diff line change @@ -14,21 +14,17 @@ permissions:
14
14
contents : read
15
15
16
16
jobs :
17
- run-tests :
18
- uses : ./.github/workflows/e2e-tests.yml
19
-
20
17
destroy-stacks :
21
18
runs-on : aws-powertools_ubuntu-latest_8-core
22
- needs : [run-tests]
23
19
steps :
24
20
- name : Checkout code
25
- uses : actions/checkout@v4
21
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
26
22
27
23
- name : Configure AWS credentials
28
- uses : aws-actions/configure-aws-credentials@v2
24
+ uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
29
25
with :
30
26
role-to-assume : ${{ secrets.E2E_DEPLOY_ROLE }}
31
- aws-region : us-east-1
27
+ aws-region : ${{ secrets.E2E_DEPLOY_REGION }}
32
28
33
29
- name : Install CDK
34
30
run : npm install -g aws-cdk
Original file line number Diff line number Diff line change @@ -33,14 +33,22 @@ jobs:
33
33
needs : [deploy-core-stack]
34
34
steps :
35
35
- name : Checkout code
36
- uses : actions/checkout@v4
36
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
37
37
38
38
- name : Set up .NET
39
- uses : actions/setup-dotnet@v4
39
+ uses : actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3
40
40
with :
41
41
dotnet-version : ' 8.x'
42
42
43
43
- name : Run Core Tests
44
44
run : |
45
45
cd libraries/tests/e2e/functions/core
46
- dotnet test
46
+ dotnet test
47
+
48
+ - name : Destroy Core Stack
49
+ if : always()
50
+ uses : ./.github/workflows/e2e-infra-destroy.yml
51
+
52
+ # destroy-core-stack:
53
+ # needs: run-tests
54
+ # uses: ./.github/workflows/e2e-infra-destroy.yml
You can’t perform that action at this time.
0 commit comments