Skip to content

Commit 305fb1e

Browse files
committed
update azure cli to v2
1 parent 0929cdb commit 305fb1e

17 files changed

+29
-29
lines changed

.pipelines/cni/cilium/cilium-cni-load-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ stages:
77
jobs:
88
- job: create_aks_cluster_with_cilium
99
steps:
10-
- task: AzureCLI@1
10+
- task: AzureCLI@2
1111
inputs:
1212
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
1313
scriptLocation: "inlineScript"
@@ -25,7 +25,7 @@ stages:
2525
jobs:
2626
- job: deploy_cilium_components
2727
steps:
28-
- task: AzureCLI@1
28+
- task: AzureCLI@2
2929
displayName: "Install Cilium, CNS, and ip-masq-agent"
3030
inputs:
3131
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
@@ -76,7 +76,7 @@ stages:
7676
jobs:
7777
- job: validate_state
7878
steps:
79-
- task: AzureCLI@1
79+
- task: AzureCLI@2
8080
inputs:
8181
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
8282
scriptLocation: "inlineScript"
@@ -95,7 +95,7 @@ stages:
9595
jobs:
9696
- job: restart_nodes
9797
steps:
98-
- task: AzureCLI@1
98+
- task: AzureCLI@2
9999
inputs:
100100
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
101101
scriptLocation: "inlineScript"
@@ -138,7 +138,7 @@ stages:
138138
rm cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}
139139
name: "InstallCiliumCli"
140140
displayName: "Install Cilium CLI"
141-
- task: AzureCLI@1
141+
- task: AzureCLI@2
142142
inputs:
143143
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
144144
scriptLocation: "inlineScript"
@@ -162,7 +162,7 @@ stages:
162162
jobs:
163163
- job: delete_resources
164164
steps:
165-
- task: AzureCLI@1
165+
- task: AzureCLI@2
166166
inputs:
167167
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
168168
scriptLocation: "inlineScript"

.pipelines/cni/cilium/nightly-release-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ stages:
1616
make docker-operator-generic-image
1717
name: BuildCiliumImage
1818
displayName: "Build Cilium Image"
19-
- task: AzureCLI@1
19+
- task: AzureCLI@2
2020
displayName: "Login"
2121
inputs:
2222
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
2323
scriptLocation: "inlineScript"
2424
inlineScript: |
2525
az acr login -n $(ACR)
26-
- task: AzureCLI@1
26+
- task: AzureCLI@2
2727
inputs:
2828
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
2929
scriptLocation: "inlineScript"
@@ -35,7 +35,7 @@ stages:
3535
docker push $(ACR).azurecr.io/cilium/operator-generic:$(DOCKER_IMAGE_TAG)
3636
name: "PushCiliumImage"
3737
displayName: "Push Cilium Image"
38-
- task: AzureCLI@1
38+
- task: AzureCLI@2
3939
displayName: "Logout"
4040
inputs:
4141
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)

.pipelines/cni/load-test-templates/create-cluster-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parameters:
66
windowsVMSize: ""
77

88
steps:
9-
- task: AzureCLI@1
9+
- task: AzureCLI@2
1010
inputs:
1111
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
1212
scriptLocation: "inlineScript"

.pipelines/cni/load-test-templates/pod-deployment-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
iterations: 4
66

77
steps:
8-
- task: AzureCLI@1
8+
- task: AzureCLI@2
99
displayName: "Pod Deployment"
1010
inputs:
1111
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)

.pipelines/cni/load-test-templates/restart-node-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
clusterName: ""
33

44
steps:
5-
- task: AzureCLI@1
5+
- task: AzureCLI@2
66
inputs:
77
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
88
scriptLocation: "inlineScript"

.pipelines/cni/load-test-templates/validate-state-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
restartCase: "false"
55

66
steps:
7-
- task: AzureCLI@1
7+
- task: AzureCLI@2
88
inputs:
99
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
1010
scriptLocation: "inlineScript"

.pipelines/cni/singletenancy/windows-cni-load-test-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ stages:
6262
arch: amd64
6363
os_version: ltsc2022
6464
steps:
65-
- task: AzureCLI@1
65+
- task: AzureCLI@2
6666
inputs:
6767
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
6868
scriptLocation: "inlineScript"
@@ -155,7 +155,7 @@ stages:
155155
pool:
156156
name: "$(BUILD_POOL_NAME_DEFAULT)"
157157
steps:
158-
- task: AzureCLI@1
158+
- task: AzureCLI@2
159159
inputs:
160160
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
161161
scriptLocation: "inlineScript"

.pipelines/containers/container-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
os_version: ""
66

77
steps:
8-
- task: AzureCLI@1
8+
- task: AzureCLI@2
99
displayName: "Login"
1010
inputs:
1111
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
@@ -21,7 +21,7 @@ steps:
2121
displayName: Image Build
2222
retryCountOnTaskFailure: 3
2323

24-
- task: AzureCLI@1
24+
- task: AzureCLI@2
2525
displayName: "Logout"
2626
inputs:
2727
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)

.pipelines/containers/manifest-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55

66
steps:
77

8-
- task: AzureCLI@1
8+
- task: AzureCLI@2
99
displayName: "Login"
1010
inputs:
1111
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
@@ -36,7 +36,7 @@ steps:
3636
displayName: Manifest Push
3737
retryCountOnTaskFailure: 3
3838
39-
- task: AzureCLI@1
39+
- task: AzureCLI@2
4040
displayName: "Logout"
4141
inputs:
4242
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)

.pipelines/singletenancy/aks-swift/e2e-step-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
inputs:
2626
kubectlVersion: latest
2727

28-
- task: AzureCLI@1
28+
- task: AzureCLI@2
2929
inputs:
3030
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
3131
scriptLocation: "inlineScript"

0 commit comments

Comments
 (0)