[FIX] ci: Update AzCLI task to v2 (#2922)

* ci: Update AzCLI task to v2

* ci: add scriptType: "bash"
This commit is contained in:
John Payne 2024-08-19 09:51:26 -07:00 коммит произвёл GitHub
Родитель 4902139f48
Коммит 68ede66cfa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
32 изменённых файлов: 89 добавлений и 82 удалений

Просмотреть файл

@ -69,7 +69,7 @@ stages:
- job: deploy_cilium_components
displayName: Deploy Cilium
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Install Cilium, CNS, and ip-masq-agent"
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
@ -124,7 +124,7 @@ stages:
- job: deploy_cilium_components
displayName: Deploy Cilium with Hubble
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Install Cilium, CNS, and ip-masq-agent"
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
@ -205,7 +205,7 @@ stages:
dependsOn: restart_cns
steps:
- template: ../../templates/cilium-cli.yaml
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -9,7 +9,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -27,12 +27,12 @@ stages:
kubectl apply -f test/integration/manifests/cilium/cilium-operator
echo "Keep CNS version up to date, grabbing pipeline parameter"
CNS_IMAGE=${CNS_IMAGE}
sed -i '/containers:/{n;n;s/\(image\).*/\1: '"${CNS_IMAGE//\//\\/}"'/}' test/integration/manifests/cns/daemonset.yaml
kubectl apply -f test/integration/manifests/cns/daemonset.yaml
sed -i '/containers:/{n;n;s/\(image\).*/\1: '"${CNS_IMAGE//\//\\/}"'/}' test/integration/manifests/cns/daemonset.yaml
kubectl apply -f test/integration/manifests/cns/daemonset.yaml
for val in $(az vmss list -g MC_${clusterName}_${clusterName}_$(REGION_AKS_CLUSTER_TEST) --query "[].name" -o tsv); do
make -C ./hack/aks restart-vmss AZCLI=az CLUSTER=${clusterName} REGION=$(REGION_AKS_CLUSTER_TEST) VMSS_NAME=${val}
done
kubectl get node
kubectl get node
kubectl get pod -A
name: "UpdateCiliumandCNSVersion"
displayName: "Update Cilium and CNS Version"
@ -43,7 +43,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -63,7 +63,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -72,7 +72,7 @@ stages:
inlineScript: |
echo "Set node label scale-test=true and connectivity-test=true for testing"
az aks get-credentials --resource-group ${CLUSTER} --name ${CLUSTER}
cd test/scale
cd test/scale
chmod +x label-nodes.sh
./label-nodes.sh
name: "LabelNodes"
@ -84,7 +84,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -95,14 +95,14 @@ stages:
echo "collect cpu and memory usage before scaling for network policies"
mkdir test1_1_netpol_cpu_and_mem_before
cd test1_1_netpol_cpu_and_mem_before
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_before_netpol_scale.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_before_netpol_scale.log"
echo "Logs will be available as a build artifact"
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_1_netpol_cpu_and_mem_before/
echo $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo mkdir $ARTIFACT_DIR
cd ..
sudo cp ./test1_1_netpol_cpu_and_mem_before/* $ARTIFACT_DIR
@ -113,7 +113,7 @@ stages:
echo "collect cpu and mem results after scaling"
mkdir test1_2_netpol_cpu_and_mem_scale
cd test1_2_netpol_cpu_and_mem_scale
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_netpol_scale.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_netpol_scale.log"
@ -148,7 +148,7 @@ stages:
name: "$(BUILD_POOL_NAME_DEFAULT)"
timeoutInMinutes: 120
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -163,14 +163,14 @@ stages:
echo "collect cpu and mem results after connectivity tests"
mkdir test1_3_netpol_cpu_and_mem_after
cd test1_3_netpol_cpu_and_mem_after
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_after_netpol_tests.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_after_netpol_tests.log"
echo "Logs will be available as a build artifact"
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_3_netpol_cpu_and_mem_after/
echo $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo mkdir $ARTIFACT_DIR
cd ..
sudo cp ./test1_3_netpol_cpu_and_mem_after/* $ARTIFACT_DIR
@ -190,7 +190,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -201,14 +201,14 @@ stages:
echo "collect cpu and mem results before scale for lb tests"
mkdir test2_1_lb_cpu_and_mem_before
cd test2_1_lb_cpu_and_mem_before
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_before_lb_scale.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_before_lb_scale.log"
echo "Logs will be available as a build artifact"
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test2_1_lb_cpu_and_mem_before/
echo $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR
sudo mkdir $ARTIFACT_DIR
cd ..
sudo cp ./test2_1_lb_cpu_and_mem_before/* $ARTIFACT_DIR
@ -218,7 +218,7 @@ stages:
echo "collect cpu and mem results after scaling"
mkdir test2_2_lb_cpu_and_mem_scale
cd test2_2_lb_cpu_and_mem_scale
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_lb_scale.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_lb_scale.log"
@ -252,7 +252,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -274,7 +274,7 @@ stages:
cd ..
mkdir test2_3_lb_cpu_and_mem_after
cd test2_3_lb_cpu_and_mem_after
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_after_lb_tests.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_after_lb_tests.log"
@ -312,7 +312,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -328,7 +328,7 @@ stages:
echo "collect cpu and mem results after netperf tests"
mkdir test3_netperf_cpu_and_mem
cd test3_netperf_cpu_and_mem
echo "running k top node"
echo "running k top node"
kubectl top node >> "node_netperf.log"
echo "running k top pod"
kubectl top pod -A | grep cilium >> "pod_netperf.log"
@ -337,8 +337,8 @@ stages:
ARTIFACT_DIR2=$(Build.ArtifactStagingDirectory)/test3_netperf/
echo $ARTIFACT_DIR
echo $ARTIFACT_DIR2
sudo rm -rf $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR2
sudo rm -rf $ARTIFACT_DIR
sudo rm -rf $ARTIFACT_DIR2
sudo mkdir $ARTIFACT_DIR
sudo mkdir $ARTIFACT_DIR2
cd ..
@ -367,7 +367,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -389,7 +389,7 @@ stages:
pool:
name: "$(BUILD_POOL_NAME_DEFAULT)"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -68,28 +68,31 @@ stages:
make $(type)
name: BuildCiliumImage
displayName: "Build Cilium Image"
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Login"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
az acr login -n $(ACR)
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
set -ex
docker tag quay.io/cilium/$(image):$(DOCKER_IMAGE_TAG) $(ACR).azurecr.io/cilium/$(image):$(DOCKER_IMAGE_TAG)
docker push $(ACR).azurecr.io/cilium/$(image):$(DOCKER_IMAGE_TAG)
name: "PushCiliumImage"
displayName: "Push Cilium Image"
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Logout"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
docker logout

Просмотреть файл

@ -14,7 +14,7 @@ jobs:
pool:
name: $(BUILD_POOL_NAME_DEFAULT)
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: ${{ parameters.sub }}
scriptLocation: "inlineScript"

Просмотреть файл

@ -10,7 +10,7 @@ parameters:
nodeCountWin: 2
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -8,7 +8,7 @@ parameters:
jobName: "deploy_pods"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Pod Deployment"
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)

Просмотреть файл

@ -7,7 +7,7 @@ parameters:
jobName: "restart_cns"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -3,7 +3,7 @@ parameters:
cni: "cniv1"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -6,7 +6,7 @@ parameters:
region: ""
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -5,7 +5,7 @@ parameters:
cni: "cilium"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -2,7 +2,7 @@ parameters:
clusterName: ""
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -21,7 +21,7 @@ stages:
jobs:
- job: create_aks_cluster_with_${{ parameters.name }}
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -55,7 +55,7 @@ stages:
- job: integration
displayName: "Integration Test - ${{ parameters.name }}"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -77,7 +77,7 @@ stages:
- job: integration
displayName: "Deploy Cilium Components"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Install Cilium, CNS, and ip-masq-agent"
retryCountOnTaskFailure: 2
inputs:
@ -166,7 +166,7 @@ stages:
displayName: "Recover Resources"
dependsOn: restart_cns
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -205,7 +205,7 @@ stages:
cilium version
name: "InstallCiliumCli"
displayName: "Install Cilium CLI"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -373,7 +373,7 @@ stages:
arch: amd64
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
cni: "cilium_dualstack"
- template: cilium/cilium-overlay-load-test-template.yaml
parameters:
name: cilium_ds_arm
@ -396,7 +396,7 @@ stages:
osSKU: AzureLinux
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
cni: "cilium_dualstack"
- template: cilium/cilium-overlay-load-test-template.yaml
parameters:
name: cilium_ds_rdma
@ -501,7 +501,7 @@ stages:
name: windows19_overlay
clusterName: w19-amd-ov
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -116,7 +116,7 @@ stages:
jobs:
- job: update_cni
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -193,7 +193,7 @@ stages:
displayName: "Recover Resources"
dependsOn: restart_nodes
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -305,7 +305,7 @@ stages:
displayName: "Recover Resources"
dependsOn: restart_nodesHNS
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -125,7 +125,7 @@ stages:
displayName: "Integration Test - ${{ parameters.name }}"
steps:
- ${{ if contains(parameters.clusterType, 'overlay') }}:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -144,7 +144,7 @@ stages:
name: "overlaye2e"
displayName: "Overlay Integration"
- ${{ if contains(parameters.clusterType, 'swift') }}:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -248,7 +248,7 @@ stages:
displayName: "Recover Resources"
dependsOn: restart_cns
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -371,7 +371,7 @@ stages:
displayName: "Recover Resources"
dependsOn: restart_cns
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -5,11 +5,12 @@ parameters:
os_version: ""
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Login"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
az acr login -n $(ACR)
@ -21,10 +22,11 @@ steps:
displayName: Image Build
retryCountOnTaskFailure: 3
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Logout"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
docker logout

Просмотреть файл

@ -5,11 +5,12 @@ parameters:
steps:
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Login"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
az acr login -n $(ACR)
@ -36,11 +37,12 @@ steps:
displayName: Manifest Push
retryCountOnTaskFailure: 3
- task: AzureCLI@1
- task: AzureCLI@2
displayName: "Logout"
inputs:
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
scriptType: "bash"
inlineScript: |
docker logout

Просмотреть файл

@ -19,7 +19,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -47,7 +47,7 @@ stages:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -70,7 +70,7 @@ stages:
name: "installCiliumCLI"
displayName: "Install Cilium CLI"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -131,10 +131,10 @@ stages:
retryCountOnTaskFailure: 3
name: "HubbleConnectivityTests"
displayName: "Run Hubble Connectivity Tests"
- stage: deleteCluster
condition: always()
dependsOn:
dependsOn:
- createCluster
- setupCluster
jobs:

Просмотреть файл

@ -243,7 +243,7 @@ stages:
FQDN=`az aks show -n $(AZURE_CLUSTER) -g $(RESOURCE_GROUP) --query fqdn -o tsv`
echo "##vso[task.setvariable variable=FQDN]$FQDN"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -26,7 +26,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -20,7 +20,7 @@ steps:
- task: KubectlInstaller@0
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -49,7 +49,7 @@ steps:
fi
name: "deployCNI"
displayName: "Deploy CNI"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -71,7 +71,7 @@ steps:
cd ../../..
make test-validate-state OS_TYPE=${{ parameters.os }} CNI_TYPE=cniv1
kubectl delete ns load-test
displayName: "Validate State"
retryCountOnTaskFailure: 3

Просмотреть файл

@ -20,7 +20,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -41,7 +41,7 @@ steps:
name: "integrationTest"
displayName: "Run CNS Integration Tests on AKS Overlay"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -57,7 +57,7 @@ steps:
done
displayName: "Restart Nodes"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -20,7 +20,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -27,7 +27,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -28,7 +28,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -26,7 +26,7 @@ steps:
inputs:
kubectlVersion: latest
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -55,7 +55,7 @@ steps:
name: "DualStack_Overlay_Linux_Tests"
displayName: "DualStack Overlay Linux Tests"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"
@ -70,7 +70,7 @@ steps:
done
displayName: "Restart Nodes"
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -6,7 +6,7 @@ jobs:
- job: ${{ parameters.name }}
displayName: Cluster - ${{ parameters.name }}
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -15,7 +15,7 @@ jobs:
- job: ${{ parameters.name }}
displayName: Cluster - ${{ parameters.name }}
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -4,7 +4,7 @@ parameters:
region: ""
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"

Просмотреть файл

@ -23,7 +23,7 @@ parameters:
jobName: "FailedE2ELogs"
steps:
- task: AzureCLI@1
- task: AzureCLI@2
inputs:
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
scriptLocation: "inlineScript"