Skip to content

[104] Simple e2e test case #422

[104] Simple e2e test case

[104] Simple e2e test case #422

Workflow file for this run

name: Make run tests e2e
on:
pull_request:
types:
- opened
- labeled
- synchronize
jobs:
test-e2e:
name: test-e2e on k8s ${{ matrix.k8s.attribute }} version
# Pull request has label 'ok-to-test' or the author is a member of the organization
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(fromJSON('["COLLABORATOR", "MEMBER", "OWNER"]'), github.event.pull_request.author_association)
strategy:
matrix:
k8s:
- version: 1.27.1
attribute: penultimate
- version: 1.28.0
attribute: previous
- version: 1.29.0
attribute: latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.2
- uses: docker/setup-buildx-action@v3.3.0
- uses: tale/kubectl-action@v1.4.0
with:
kubectl-version: v1.29.3
# Empty kubeconfig file
base64-kube-config: "YXBpVmVyc2lvbjogdjEKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQo="
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s.version }} make test-e2e