| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- name: "e2e"
- description: "runs our e2e test suite"
- runs:
- using: composite
- steps:
- - name: Configure AWS Credentials
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v1
- with:
- role-to-assume: ${{ env.AWS_OIDC_ROLE_ARN }}
- aws-region: ${{ env.AWS_REGION }}
- - name: Setup Go
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
- with:
- go-version-file: go.mod
- - name: Find the Go Cache
- id: go
- shell: bash
- run: |
- echo "build-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
- echo "mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
- - name: Cache the Go Build Cache
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
- with:
- path: ${{ steps.go.outputs.build-cache }}
- key: ${{ runner.os }}-build-unit-tests-${{ github.sha }}-${{ hashFiles('**/go.sum') }}
- restore-keys: ${{ runner.os }}-build-unit-tests-${{ github.sha }}-
- - name: Cache Go Dependencies
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
- with:
- path: ${{ steps.go.outputs.mod-cache }}
- key: ${{ runner.os }}-pkg-${{ github.sha }}-${{ hashFiles('**/go.sum') }}
- restore-keys: ${{ runner.os }}-pkg-${{ github.sha }}-
- - name: Setup kind
- # https://github.com/engineerd/setup-kind/releases/tag/v0.5.0
- uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0
- with:
- version: ${{ env.KIND_VERSION }}
- wait: 10m
- image: ${{ env.KIND_IMAGE }}
- name: external-secrets
- - name: Setup Docker Buildx
- # https://github.com/docker/setup-buildx-action/releases/tag/v3.12.0
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- with:
- install: true
- - name: Run e2e Tests
- shell: bash
- env:
- DOCKER_BUILD_ARGS: --load
- run: make test.e2e
|