@@ -87,7 +87,6 @@ stages:
87
87
variables :
88
88
commitID : $[ stagedependencies.setup.env.outputs['SetEnvVars.commitID'] ]
89
89
npmVersion : $[ stagedependencies.setup.env.outputs['SetEnvVars.npmVersion'] ]
90
- dropgzVersion : $[ stagedependencies.setup.env.outputs['SetEnvVars.dropgzVersion'] ]
91
90
pool :
92
91
name : $(BUILD_POOL_NAME_DEFAULT)
93
92
dependsOn :
@@ -110,24 +109,24 @@ stages:
110
109
echo "Upload CNI"
111
110
echo "Deploying on Linux nodes"
112
111
if [ "${{parameters.os}}" == "windows" ]; then
113
- export DROP_GZ_URL =$( make cni-dropgz-test- image-name-and-tag OS='linux' ARCH=${{ parameters.arch }} CNI_DROPGZ_TEST_VERSION =$(dropgzVersion ))
114
- echo "Dropgz image: $DROP_GZ_URL "
112
+ export CNI_IMAGE =$(make cni-image-name-and-tag OS='linux' ARCH=${{ parameters.arch }} CNI_VERSION =$(make cni-version ))
113
+ echo "CNI image: $CNI_IMAGE "
115
114
envsubst < ./test/integration/manifests/cni/cni-installer-v1.yaml | kubectl apply -f -
116
115
kubectl rollout status daemonset/azure-cni -n kube-system
117
116
echo "Deploying on windows nodes"
118
- export DROP_GZ_URL =$( make cni-dropgz-test- image-name-and-tag OS='windows' ARCH=${{ parameters.arch }} OS_VERSION=${{ parameters.os_version }} CNI_DROPGZ_TEST_VERSION =$(dropgzVersion ))
119
- echo "Dropgz image: $DROP_GZ_URL "
117
+ export CNI_IMAGE =$(make cni-image-name-and-tag OS='windows' ARCH=${{ parameters.arch }} OS_VERSION=${{ parameters.os_version }} CNI_VERSION =$(make cni-version ))
118
+ echo "CNI image: $CNI_IMAGE "
120
119
envsubst < ./test/integration/manifests/cni/cni-installer-v1-windows.yaml | kubectl apply -f -
121
120
kubectl rollout status daemonset/azure-cni-windows -n kube-system
122
121
else
123
- export DROP_GZ_URL =$( make cni-dropgz-test- image-name-and-tag OS=${{ parameters.os }} ARCH=${{ parameters.arch }} CNI_DROPGZ_TEST_VERSION =$(dropgzVersion ))
124
- echo "Dropgz image: $DROP_GZ_URL "
122
+ export CNI_IMAGE =$(make cni-image-name-and-tag OS=${{ parameters.os }} ARCH=${{ parameters.arch }} CNI_VERSION =$(make cni-version ))
123
+ echo "CNI image: $CNI_IMAGE "
125
124
envsubst < ./test/integration/manifests/cni/cni-installer-v1.yaml | kubectl apply -f -
126
125
kubectl rollout status daemonset/azure-cni -n kube-system
127
126
fi
128
127
kubectl get pods -A -owide
129
- name : " UploadCNI "
130
- displayName : " Upload CNI"
128
+ name : " deployCNI "
129
+ displayName : " Deploy CNI"
131
130
- template : ../../npm/npm-cni-integration-test.yaml
132
131
parameters :
133
132
clusterName : ${{ parameters.clusterName }}-$(commitID)
@@ -227,7 +226,6 @@ stages:
227
226
variables :
228
227
commitID : $[ stagedependencies.setup.env.outputs['SetEnvVars.commitID'] ]
229
228
npmVersion : $[ stagedependencies.setup.env.outputs['SetEnvVars.npmVersion'] ]
230
- dropgzVersion : $[ stagedependencies.setup.env.outputs['SetEnvVars.dropgzVersion'] ]
231
229
pool :
232
230
name : $(BUILD_POOL_NAME_DEFAULT)
233
231
dependsOn :
0 commit comments