| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- name: "e2e"
- description: "runs our e2e test suite"
- runs:
- using: composite
- steps:
- - name: Configure AWS Credentials
- uses: aws-actions/configure-aws-credentials@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@v3
- 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
- uses: engineerd/setup-kind@v0.5.0
- with:
- version: ${{ env.KIND_VERSION }}
- wait: 10m
- image: ${{ env.KIND_IMAGE }}
- name: external-secrets
- - name: Setup Docker Buildx
- uses: docker/setup-buildx-action@v2
- with:
- version: ${{ env.DOCKER_BUILDX_VERSION }}
- install: true
- - name: Run e2e Tests
- shell: bash
- env:
- DOCKER_BUILD_ARGS: --load
- run: make test.e2e
|