Skip to content

Commit bd6e35b

Browse files
Skip launching ironic in case of capm3 e2e tests
Signed-off-by: Muhammad Adil Ghaffar <[email protected]>
1 parent f22ad46 commit bd6e35b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

03_launch_mgmt_cluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ else
849849
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
850850
fi
851851

852+
852853
# Tests might want to apply bmh inside the test scipt
853854
# then dev-env will create the bmh files but do not apply them
854855
if [[ "${SKIP_APPLY_BMH:-false}" = "true" ]]; then

03_launch_mgmt_cluster_pre_1_10.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -751,19 +751,19 @@ if [[ "${USE_IRSO}" = true ]]; then
751751
else
752752
launch_ironic
753753
fi
754-
755754
if [[ "${BMO_RUN_LOCAL}" != true ]]; then
756755
if ! kubectl rollout status deployment "${BMO_NAME_PREFIX}"-controller-manager -n "${IRONIC_NAMESPACE}" --timeout="${BMO_ROLLOUT_WAIT}"m; then
757756
echo "baremetal-operator-controller-manager deployment can not be rollout"
758757
exit 1
759758
fi
760759
else
761-
# There is no certificate to run validation webhook on local.
762-
# Thus we are deleting validatingwebhookconfiguration resource if exists
763-
# to let BMO is working properly on local runs.
764-
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
760+
# There is no certificate to run validation webhook on local.
761+
# Thus we are deleting validatingwebhookconfiguration resource if exists
762+
# to let BMO is working properly on local runs.
763+
kubectl delete validatingwebhookconfiguration/"${BMO_NAME_PREFIX}"-validating-webhook-configuration --ignore-not-found=true
765764
fi
766765

766+
767767
# Tests might want to apply bmh inside the test scipt
768768
# then dev-env will create the bmh files but do not apply them
769769
if [[ "${SKIP_APPLY_BMH:-false}" = "true" ]]; then

0 commit comments

Comments
 (0)