From e3065784ee84ace2c734d7a565e76fb4aa223d4f Mon Sep 17 00:00:00 2001 From: Arvinderpal Wander Date: Tue, 6 Oct 2020 06:57:54 -0700 Subject: [PATCH] Changes gating scripts to use the `airshipctl move` command. Change-Id: I383343f4cde3aa3d431844f5792ee75d305d5210 --- tools/deployment/33_cluster_move_target_node.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/deployment/33_cluster_move_target_node.sh b/tools/deployment/33_cluster_move_target_node.sh index 0638cfbe6..f7f4a2239 100755 --- a/tools/deployment/33_cluster_move_target_node.sh +++ b/tools/deployment/33_cluster_move_target_node.sh @@ -26,9 +26,8 @@ kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT get clu echo "Annotate BMH for target node" kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT annotate bmh node01 baremetalhost.metal3.io/paused=true -# Switch to airshipctl phase clusterctl-move when it is working echo "Move Cluster Object to Target Cluster" -clusterctl --v 20 move --kubeconfig $KUBECONFIG --kubeconfig-context $KUBECONFIG_EPHEMERAL_CONTEXT --to-kubeconfig $KUBECONFIG --to-kubeconfig-context $KUBECONFIG_TARGET_CONTEXT +airshipctl phase run clusterctl-move echo "Waiting for pods to be ready" kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_TARGET_CONTEXT wait --all-namespaces --for=condition=Ready pods --all --timeout=3000s