Skip to content

Commit 92f811c

Browse files
committed
Remove unnecessary export for SKIP_NODE_IMAGE_PREPULL
exporting it at the top once should be enough, inside the condition is not neede. This is mainly code cleanup Signed-off-by: Kashif Khan <[email protected]>
1 parent a940c34 commit 92f811c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/ci-e2e.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,19 @@ case "${GINKGO_FOCUS:-}" in
6868
clusterctl-upgrade|k8s-upgrade|basic|integration|remediation|k8s-conformance|capi-md-tests)
6969
# if running basic, integration, k8s upgrade, clusterctl-upgrade, remediation, k8s conformance or capi-md tests, skip apply bmhs in dev-env
7070
echo 'export SKIP_APPLY_BMH="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
71-
echo 'export SKIP_NODE_IMAGE_PREPULL="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
7271
;;
7372

7473
features)
7574
mkdir -p "${CAPI_CONFIG_FOLDER}"
7675
echo "ENABLE_BMH_NAME_BASED_PREALLOCATION: true" >"${CAPI_CONFIG_FOLDER}/clusterctl.yaml"
7776
echo 'export SKIP_APPLY_BMH="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
78-
echo 'export SKIP_NODE_IMAGE_PREPULL="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
7977
;;
8078

8179
scalability)
8280
# if running a scalability tests, configure dev-env with fakeIPA
8381
export NUM_NODES="${NUM_NODES:-50}"
8482
echo 'export NODES_PLATFORM="fake"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
8583
echo 'export SKIP_APPLY_BMH="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
86-
echo 'export SKIP_NODE_IMAGE_PREPULL="true"' >>"${M3_DEV_ENV_PATH}/config_${USER}.sh"
8784
sed -i "s/^export NUM_NODES=.*/export NUM_NODES=${NUM_NODES:-50}/" "${M3_DEV_ENV_PATH}/config_${USER}.sh"
8885
mkdir -p "${CAPI_CONFIG_FOLDER}"
8986
echo 'CLUSTER_TOPOLOGY: true' >"${CAPI_CONFIG_FOLDER}/clusterctl.yaml"

0 commit comments

Comments
 (0)