Skip to content

Commit

Permalink
Use specific Rancher Manager chart version instead of latest
Browse files Browse the repository at this point in the history
The test checks of the /dashboard/auth/login page includes the
substring "Rancher Dashboard". This is no longer true in the
2.7.5 release. To have predictable test results we need to pin
the version.

Signed-off-by: Jan Dubois <[email protected]>
  • Loading branch information
jandubois committed Jul 6, 2023
1 parent 120c0a1 commit 03e98ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bats/tests/k8s/helm-install-rancher.bats
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ get_host() {
--create-namespace
helm upgrade \
--install rancher rancher-latest/rancher \
--version "${RD_RANCHER_IMAGE_TAG#v}" \
--namespace cattle-system \
--set hostname="$(get_host)" \
--wait \
Expand Down

0 comments on commit 03e98ad

Please sign in to comment.