Skip to content

Commit 346024d

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

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

03_launch_mgmt_cluster.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,10 @@ launch_cluster_api_provider_metal3
831831
BMO_NAME_PREFIX="${NAMEPREFIX}"
832832
launch_baremetal_operator
833833
if [[ "${USE_IRSO}" = true ]]; then
834-
launch_ironic_standalone_operator
835-
launch_ironic_via_irso
834+
if [[ "${SKIP_APPLY_BMH:-false}" = "false" ]]; then
835+
launch_ironic_standalone_operator
836+
launch_ironic_via_irso
837+
fi
836838
else
837839
launch_ironic
838840
fi

03_launch_mgmt_cluster_pre_1_10.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,10 @@ launch_cluster_api_provider_metal3
746746
BMO_NAME_PREFIX="${NAMEPREFIX}"
747747
launch_baremetal_operator
748748
if [[ "${USE_IRSO}" = true ]]; then
749-
launch_ironic_standalone_operator
750-
launch_ironic_via_irso
749+
if [[ "${SKIP_APPLY_BMH:-false}" = "false" ]]; then
750+
launch_ironic_standalone_operator
751+
launch_ironic_via_irso
752+
fi
751753
else
752754
launch_ironic
753755
fi

0 commit comments

Comments
 (0)