Skip to content

Commit

Permalink
Pin rancher backend image version for e2e tests (#10859)
Browse files Browse the repository at this point in the history
* Pin rancher backend image version for e2e tests

* Try older image
  • Loading branch information
nwmac committed Apr 22, 2024
1 parent 2c6711b commit c4c7d9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/e2e-docker-start
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ DIR=$(cd $(dirname $0)/..; pwd)
DASHBOARD_DIST=${DIR}/dist
EMBER_DIST=${DIR}/dist_ember

# Image version
RANCHER_IMG_VERSION=v2.9-c9be13b09329bbee60a5f6419d500198f83c44d1-head

docker run -d --restart=unless-stopped -p 80:80 -p 443:443 \
-v ${DASHBOARD_DIST}:/usr/share/rancher/ui-dashboard/dashboard \
-v ${EMBER_DIST}:/usr/share/rancher/ui \
Expand All @@ -14,7 +17,7 @@ docker run -d --restart=unless-stopped -p 80:80 -p 443:443 \
-e CATTLE_PASSWORD_MIN_LENGTH=3 \
--name cypress \
--privileged \
rancher/rancher:v2.9-head
rancher/rancher:${RANCHER_IMG_VERSION}

docker ps

Expand Down

0 comments on commit c4c7d9e

Please sign in to comment.