Skip to content

Commit 7e55624

Browse files
author
sivakami
committed
test changes.
1 parent 33c7be4 commit 7e55624

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pipelines/swiftv2-long-running/scripts/create_aks.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ CLUSTER_PREFIX="aks"
1212
DEFAULT_NODE_COUNT=1
1313
COMMON_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+
1518
wait_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

7374
done

.pipelines/swiftv2-long-running/scripts/datapath_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ VN_SUB_MAP["vnet_b1"]="s1"
2222
PN_PREFIX="pn-${BUILD_ID}"
2323
PNI_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
2829
create_pn() {

0 commit comments

Comments
 (0)