mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-21 13:36:41 +00:00
* fix(controller): use typed structs for watches Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore(dep): bump controller-gen Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore(ci): support kubernetes 1.31 and fix linting * chore: resolve conflicts --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: e2e
|
|
permissions: {}
|
|
|
|
on:
|
|
push:
|
|
branches: [ "*" ]
|
|
paths:
|
|
- '.github/workflows/e2e.yml'
|
|
- 'api/**'
|
|
- 'controllers/**'
|
|
- 'pkg/**'
|
|
- 'e2e/*'
|
|
- 'Dockerfile'
|
|
- 'go.*'
|
|
- 'main.go'
|
|
- 'Makefile'
|
|
pull_request:
|
|
branches: [ "*" ]
|
|
paths:
|
|
- '.github/workflows/e2e.yml'
|
|
- 'api/**'
|
|
- 'controllers/**'
|
|
- 'pkg/**'
|
|
- 'e2e/*'
|
|
- 'Dockerfile'
|
|
- 'go.*'
|
|
- 'main.go'
|
|
- 'Makefile'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
kind:
|
|
name: Kubernetes
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
k8s-version: [ 'v1.24.7', 'v1.25.3', 'v1.26.3', 'v1.27.2', 'v1.28.0', 'v1.29.0', 'v1.30.0', 'v1.31.0' ]
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0
|
|
with:
|
|
skipClusterCreation: true
|
|
version: v0.14.0
|
|
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v3
|
|
with:
|
|
version: v3.14.2
|
|
- name: e2e testing
|
|
run: make e2e/${{ matrix.k8s-version }}
|