@@ -19,29 +19,12 @@ jobs:
1919 e2e :
2020 if : contains(github.event.pull_request.labels.*.name, 'run-e2e-tests')
2121 runs-on : ubuntu-latest
22- env :
23- E2E_EXTRA : ${{ secrets.E2E_EXTRA }}
2422 steps :
2523 - name : Checkout
2624 id : checkout
27- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2826 with :
2927 ref : ${{ github.event.pull_request.head.sha }}
30-
31- - name : Export project-specific environment variables
32- if : env.E2E_EXTRA != ''
33- run : |
34- echo "$E2E_EXTRA" | jq -r 'to_entries[] | "\(.key)=\(.value)"' >> $GITHUB_ENV
35-
36- - name : Verify AWS_REGION_NAME is set
37- if : env.E2E_EXTRA != ''
38- run : |
39- if [ -n "$AWS_REGION_NAME" ]; then
40- echo "✓ AWS_REGION_NAME is set: $AWS_REGION_NAME"
41- else
42- echo "✗ AWS_REGION_NAME is NOT set"
43- exit 1
44- fi
4528
4629 - name : Install and login with up
4730 if : env.UP_API_TOKEN != '' && env.UP_ORG != ''
5235
5336 # doesn't work with plain token when pushing otherwise
5437 - name : Login to xpkg with robot
55- uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
38+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
5639 with :
5740 registry : xpkg.upbound.io
5841 username : ${{ env.UP_ROBOT_ID }}
6548 run : up ctx ${{ env.UP_ORG }}/upbound-gcp-us-central-1/${{ env.UP_GROUP }}
6649
6750 - name : Run e2e tests
68- run : up test run tests/* --e2e
51+ run : up test run tests/* --e2e
0 commit comments