Skip to content

Commit

Permalink
Use lightweight chart for Helm OCI tests
Browse files Browse the repository at this point in the history
This may reduce the load on CI runners by using a test chart containing
only a config map, instead of a more heavyweight setup with a front-end
server and a Redis instance.
  • Loading branch information
weyfonk committed Oct 18, 2023
1 parent 1c37b59 commit 6f87a90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions e2e/assets/single-cluster/helm-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: helm
spec:
repo: https://github.com/rancher/fleet-test-data
branch: helm-oci-configmap-chart
paths:
- helm-oci
targets:
Expand Down
4 changes: 2 additions & 2 deletions e2e/single-cluster/single_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ var _ = Describe("Single Cluster Deployments", func() {

It("deploys the helm chart", func() {
Eventually(func() string {
out, _ := k.Namespace("fleet-helm-oci-example").Get("pods")
out, _ := k.Namespace("fleet-helm-oci-example").Get("configmaps")
return out
}).Should(ContainSubstring("frontend-"))
}).Should(ContainSubstring("fleet-test-configmap"))
})
})

Expand Down

0 comments on commit 6f87a90

Please sign in to comment.