Skip to content

Commit ae68fe6

Browse files
authored
test(e2e): update e2e tests to use specific helm values and image tag (#62)
Signed-off-by: Yi Chen <github@chenyicn.net>
1 parent 61cf389 commit ae68fe6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
make manifests generate
7070
git diff --exit-code
71-
71+
7272
- name: Check Helm docs
7373
run: |
7474
make helm-docs
@@ -116,9 +116,6 @@ jobs:
116116
go-version-file: go.mod
117117
cache: true
118118

119-
- name: Create k8s Kind Cluster
120-
uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0
121-
122119
- name: Running e2e tests
123120
run: |
124-
make test-e2e
121+
make test-e2e IMAGE_TAG=latest KIND_KUBE_CONFIG=${HOME}/.kube/config

test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ var _ = Describe("Manager", Ordered, func() {
7777
cmd = exec.Command("make", "helm-upgrade",
7878
fmt.Sprintf("RELEASE_NAME=%s", name),
7979
fmt.Sprintf("RELEASE_NAMESPACE=%s", namespace),
80+
fmt.Sprintf("VALUES=%s", filepath.Join("charts", "cron-operator", "ci", "values.yaml")),
8081
)
8182
_, err = utils.Run(cmd)
8283
Expect(err).NotTo(HaveOccurred(), "Failed to deploy the controller-manager via helm")

0 commit comments

Comments
 (0)