Skip to content

Commit c8952a8

Browse files
committed
fix(e2e): hardcode ubuntu-latest for e2e-kind, fix go-version, add local run docs
1 parent 7b53629 commit c8952a8

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ jobs:
108108

109109
e2e-kind:
110110
name: E2E (Kind)
111-
runs-on: ${{ vars.E2E_RUNNER_LABEL || 'ubuntu-latest' }}
111+
runs-on: ubuntu-latest
112112
needs: [lint, build]
113113
steps:
114114
- uses: actions/checkout@v4
115115

116116
- uses: actions/setup-go@v5
117117
with:
118-
go-version-file: go.mod
118+
go-version: ${{ env.GO_VERSION }}
119119

120120
- uses: helm/kind-action@v1
121121
with:

test/e2e/e2e_suite_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ const (
3535
helmCRDRelease = "imp-crds"
3636
)
3737

38+
// Note: the Kind cluster itself is managed by the CI workflow (helm/kind-action@v1) or
39+
// must be created manually before running these tests locally:
40+
//
41+
// kind create cluster --name imp-e2e
42+
// go test -tags e2e ./test/e2e/... -v -timeout 15m
43+
// kind delete cluster --name imp-e2e
44+
3845
var _ = BeforeSuite(func() {
3946
By("creating namespace")
4047
nsCmd := exec.Command("kubectl", "create", "ns", namespace)

0 commit comments

Comments
 (0)