Skip to content

Commit e484058

Browse files
committed
fixed errors in bash
1 parent 24c3627 commit e484058

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.pipelines/npm/npm-conformance-tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ stages:
166166
chmod +x kubectl
167167
echo Cluster $(AZURE_CLUSTER)
168168
echo Resource $(RESOURCE_GROUP)
169+
echo Public IP $(PUBLIC_IP_NAME)
170+
export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $(PUBLIC_IP_NAME) --query id -o tsv)
171+
echo Public IP ID $PUBLIC_IP_ID
169172
170173
if [[ $(AZURE_CLUSTER) == *ws22 ]] # * is used for pattern matching
171174
then
@@ -183,7 +186,7 @@ stages:
183186
--vm-set-type VirtualMachineScaleSets \
184187
--node-vm-size Standard_D4s_v3 \
185188
--node-count 1 \
186-
--load-balancer-outbound-ips $(PUBLIC_IP_ID)
189+
--load-balancer-outbound-ips $PUBLIC_IP_ID
187190
188191
if [ $? != 0 ]
189192
then
@@ -231,7 +234,7 @@ stages:
231234
--resource-group $(RESOURCE_GROUP) \
232235
--name $(AZURE_CLUSTER) \
233236
--network-plugin azure \
234-
--load-balancer-outbound-ips $(PUBLIC_IP_ID)
237+
--load-balancer-outbound-ips $PUBLIC_IP_ID
235238
236239
if [ $? != 0 ]
237240
then

.pipelines/npm/npm-scale-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
--ip-tags 'FirstPartyUsage=/DelegatedNetworkControllerTest' \
149149
--location $(LOCATION) --sku Standard --tier Regional \
150150
--version IPv4
151-
export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $(PUBLIC_IP_NAME) --query id -o tsv)
151+
export PUBLIC_IP_ID=$(az network public-ip show -g $(RESOURCE_GROUP) -n $PUBLIC_IP_NAME --query id -o tsv)
152152
153153
export CLUSTER_NAME=$(RESOURCE_GROUP)-$(PROFILE)
154154
echo "Creating cluster named $CLUSTER_NAME"

0 commit comments

Comments
 (0)