File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
.pipelines/swiftv2-long-running/scripts Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ CLUSTER_PREFIX="aks"
1212DEFAULT_NODE_COUNT=1
1313COMMON_TAGS=" fastpathenabled=true RGOwner=LongRunningTestPipelines stampcreatorserviceinfo=true"
1414
15+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
16+ source " $SCRIPT_DIR /get_vnet_data.sh"
17+
1518wait_for_provisioning () { # Helper for safe retry/wait for provisioning states (basic)
1619 local rg=" $1 " clusterName=" $2 "
1720 echo " Waiting for AKS '$clusterName ' in RG '$rg ' to reach Succeeded/Failed (polling)..."
@@ -49,7 +52,6 @@ for i in $(seq 1 "$CLUSTER_COUNT"); do
4952 echo " - waiting for AKS provisioning state..."
5053 wait_for_provisioning " $RG " " $CLUSTER_NAME "
5154
52-
5355 echo " Adding multi-tenant nodepool ' to '$CLUSTER_NAME '"
5456 make -C ./hack/aks linux-swiftv2-nodepool-up \
5557 AZCLI=az REGION=$LOCATION \
@@ -67,7 +69,6 @@ for i in $(seq 1 "$CLUSTER_COUNT"); do
6769 --overwrite-existing \
6870 --admin \
6971 --file " $KUBECONFIG_PATH "
70-
7172 echo " Kubeconfig saved: ${KUBECONFIG_PATH} "
7273
7374done
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ VN_SUB_MAP["vnet_b1"]="s1"
2222PN_PREFIX=" pn-${BUILD_ID} "
2323PNI_PREFIX=" pni-${BUILD_ID} "
2424
25- source ./get_vnet_data.sh
25+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
26+ source " $SCRIPT_DIR /get_vnet_data.sh"
2627
2728# Create PodNetwork in a specific cluster
2829create_pn () {
You can’t perform that action at this time.
0 commit comments