Skip to content

Commit 95e7812

Browse files
Merge pull request #2855 from Nordix/add/skip-image-prepull-capm3-e2e-1.10
🌱 Add SKIP_NODE_IMAGE_PREPULL var in ci-e2e.sh
2 parents 5978d8e + 39da3e5 commit 95e7812

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/ci-e2e.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ M3_DEV_ENV_PATH="${M3_DEV_ENV_PATH:-${WORKING_DIR}/metal3-dev-env}"
3636
clone_repo "${M3_DEV_ENV_REPO}" "${M3_DEV_ENV_BRANCH}" "${M3_DEV_ENV_PATH}"
3737

3838
# Config devenv
39+
# SKIP_NODE_IMAGE_PREPULL is set to true to avoid dev-env downloading the node
40+
# image
3941
cat <<-EOF >"${M3_DEV_ENV_PATH}/config_${USER}.sh"
4042
export CAPI_VERSION=${CAPI_VERSION:-"v1beta1"}
4143
export CAPM3_VERSION=${CAPM3_VERSION:-"v1beta1"}
@@ -44,6 +46,7 @@ export KUBERNETES_VERSION=${KUBERNETES_VERSION}
4446
export IMAGE_OS=${IMAGE_OS}
4547
export FORCE_REPO_UPDATE="false"
4648
export USE_IRSO="${USE_IRSO:-false}"
49+
export SKIP_NODE_IMAGE_PREPULL="true"
4750
EOF
4851
# if running a scalability test skip apply bmhs in dev-env and run fakeIPA
4952
if [[ ${GINKGO_FOCUS:-} == "clusterctl-upgrade" ]]; then

0 commit comments

Comments
 (0)