[FIX] ci: Update AzCLI task to v2 (#2922)
* ci: Update AzCLI task to v2 * ci: add scriptType: "bash"
This commit is contained in:
Родитель
4902139f48
Коммит
68ede66cfa
|
@ -69,7 +69,7 @@ stages:
|
||||||
- job: deploy_cilium_components
|
- job: deploy_cilium_components
|
||||||
displayName: Deploy Cilium
|
displayName: Deploy Cilium
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
|
@ -124,7 +124,7 @@ stages:
|
||||||
- job: deploy_cilium_components
|
- job: deploy_cilium_components
|
||||||
displayName: Deploy Cilium with Hubble
|
displayName: Deploy Cilium with Hubble
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
|
@ -205,7 +205,7 @@ stages:
|
||||||
dependsOn: restart_cns
|
dependsOn: restart_cns
|
||||||
steps:
|
steps:
|
||||||
- template: ../../templates/cilium-cli.yaml
|
- template: ../../templates/cilium-cli.yaml
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -9,7 +9,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -27,12 +27,12 @@ stages:
|
||||||
kubectl apply -f test/integration/manifests/cilium/cilium-operator
|
kubectl apply -f test/integration/manifests/cilium/cilium-operator
|
||||||
echo "Keep CNS version up to date, grabbing pipeline parameter"
|
echo "Keep CNS version up to date, grabbing pipeline parameter"
|
||||||
CNS_IMAGE=${CNS_IMAGE}
|
CNS_IMAGE=${CNS_IMAGE}
|
||||||
sed -i '/containers:/{n;n;s/\(image\).*/\1: '"${CNS_IMAGE//\//\\/}"'/}' 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
|
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
|
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}
|
make -C ./hack/aks restart-vmss AZCLI=az CLUSTER=${clusterName} REGION=$(REGION_AKS_CLUSTER_TEST) VMSS_NAME=${val}
|
||||||
done
|
done
|
||||||
kubectl get node
|
kubectl get node
|
||||||
kubectl get pod -A
|
kubectl get pod -A
|
||||||
name: "UpdateCiliumandCNSVersion"
|
name: "UpdateCiliumandCNSVersion"
|
||||||
displayName: "Update Cilium and CNS Version"
|
displayName: "Update Cilium and CNS Version"
|
||||||
|
@ -43,7 +43,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -63,7 +63,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -72,7 +72,7 @@ stages:
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
echo "Set node label scale-test=true and connectivity-test=true for testing"
|
echo "Set node label scale-test=true and connectivity-test=true for testing"
|
||||||
az aks get-credentials --resource-group ${CLUSTER} --name ${CLUSTER}
|
az aks get-credentials --resource-group ${CLUSTER} --name ${CLUSTER}
|
||||||
cd test/scale
|
cd test/scale
|
||||||
chmod +x label-nodes.sh
|
chmod +x label-nodes.sh
|
||||||
./label-nodes.sh
|
./label-nodes.sh
|
||||||
name: "LabelNodes"
|
name: "LabelNodes"
|
||||||
|
@ -84,7 +84,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -95,14 +95,14 @@ stages:
|
||||||
echo "collect cpu and memory usage before scaling for network policies"
|
echo "collect cpu and memory usage before scaling for network policies"
|
||||||
mkdir test1_1_netpol_cpu_and_mem_before
|
mkdir test1_1_netpol_cpu_and_mem_before
|
||||||
cd 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"
|
kubectl top node >> "node_before_netpol_scale.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_before_netpol_scale.log"
|
kubectl top pod -A | grep cilium >> "pod_before_netpol_scale.log"
|
||||||
echo "Logs will be available as a build artifact"
|
echo "Logs will be available as a build artifact"
|
||||||
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_1_netpol_cpu_and_mem_before/
|
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_1_netpol_cpu_and_mem_before/
|
||||||
echo $ARTIFACT_DIR
|
echo $ARTIFACT_DIR
|
||||||
sudo rm -rf $ARTIFACT_DIR
|
sudo rm -rf $ARTIFACT_DIR
|
||||||
sudo mkdir $ARTIFACT_DIR
|
sudo mkdir $ARTIFACT_DIR
|
||||||
cd ..
|
cd ..
|
||||||
sudo cp ./test1_1_netpol_cpu_and_mem_before/* $ARTIFACT_DIR
|
sudo cp ./test1_1_netpol_cpu_and_mem_before/* $ARTIFACT_DIR
|
||||||
|
@ -113,7 +113,7 @@ stages:
|
||||||
echo "collect cpu and mem results after scaling"
|
echo "collect cpu and mem results after scaling"
|
||||||
mkdir test1_2_netpol_cpu_and_mem_scale
|
mkdir test1_2_netpol_cpu_and_mem_scale
|
||||||
cd 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"
|
kubectl top node >> "node_netpol_scale.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_netpol_scale.log"
|
kubectl top pod -A | grep cilium >> "pod_netpol_scale.log"
|
||||||
|
@ -148,7 +148,7 @@ stages:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -163,14 +163,14 @@ stages:
|
||||||
echo "collect cpu and mem results after connectivity tests"
|
echo "collect cpu and mem results after connectivity tests"
|
||||||
mkdir test1_3_netpol_cpu_and_mem_after
|
mkdir test1_3_netpol_cpu_and_mem_after
|
||||||
cd 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"
|
kubectl top node >> "node_after_netpol_tests.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_after_netpol_tests.log"
|
kubectl top pod -A | grep cilium >> "pod_after_netpol_tests.log"
|
||||||
echo "Logs will be available as a build artifact"
|
echo "Logs will be available as a build artifact"
|
||||||
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_3_netpol_cpu_and_mem_after/
|
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test1_3_netpol_cpu_and_mem_after/
|
||||||
echo $ARTIFACT_DIR
|
echo $ARTIFACT_DIR
|
||||||
sudo rm -rf $ARTIFACT_DIR
|
sudo rm -rf $ARTIFACT_DIR
|
||||||
sudo mkdir $ARTIFACT_DIR
|
sudo mkdir $ARTIFACT_DIR
|
||||||
cd ..
|
cd ..
|
||||||
sudo cp ./test1_3_netpol_cpu_and_mem_after/* $ARTIFACT_DIR
|
sudo cp ./test1_3_netpol_cpu_and_mem_after/* $ARTIFACT_DIR
|
||||||
|
@ -190,7 +190,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -201,14 +201,14 @@ stages:
|
||||||
echo "collect cpu and mem results before scale for lb tests"
|
echo "collect cpu and mem results before scale for lb tests"
|
||||||
mkdir test2_1_lb_cpu_and_mem_before
|
mkdir test2_1_lb_cpu_and_mem_before
|
||||||
cd 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"
|
kubectl top node >> "node_before_lb_scale.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_before_lb_scale.log"
|
kubectl top pod -A | grep cilium >> "pod_before_lb_scale.log"
|
||||||
echo "Logs will be available as a build artifact"
|
echo "Logs will be available as a build artifact"
|
||||||
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test2_1_lb_cpu_and_mem_before/
|
ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/test2_1_lb_cpu_and_mem_before/
|
||||||
echo $ARTIFACT_DIR
|
echo $ARTIFACT_DIR
|
||||||
sudo rm -rf $ARTIFACT_DIR
|
sudo rm -rf $ARTIFACT_DIR
|
||||||
sudo mkdir $ARTIFACT_DIR
|
sudo mkdir $ARTIFACT_DIR
|
||||||
cd ..
|
cd ..
|
||||||
sudo cp ./test2_1_lb_cpu_and_mem_before/* $ARTIFACT_DIR
|
sudo cp ./test2_1_lb_cpu_and_mem_before/* $ARTIFACT_DIR
|
||||||
|
@ -218,7 +218,7 @@ stages:
|
||||||
echo "collect cpu and mem results after scaling"
|
echo "collect cpu and mem results after scaling"
|
||||||
mkdir test2_2_lb_cpu_and_mem_scale
|
mkdir test2_2_lb_cpu_and_mem_scale
|
||||||
cd 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"
|
kubectl top node >> "node_lb_scale.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_lb_scale.log"
|
kubectl top pod -A | grep cilium >> "pod_lb_scale.log"
|
||||||
|
@ -252,7 +252,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -274,7 +274,7 @@ stages:
|
||||||
cd ..
|
cd ..
|
||||||
mkdir test2_3_lb_cpu_and_mem_after
|
mkdir test2_3_lb_cpu_and_mem_after
|
||||||
cd 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"
|
kubectl top node >> "node_after_lb_tests.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_after_lb_tests.log"
|
kubectl top pod -A | grep cilium >> "pod_after_lb_tests.log"
|
||||||
|
@ -312,7 +312,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -328,7 +328,7 @@ stages:
|
||||||
echo "collect cpu and mem results after netperf tests"
|
echo "collect cpu and mem results after netperf tests"
|
||||||
mkdir test3_netperf_cpu_and_mem
|
mkdir test3_netperf_cpu_and_mem
|
||||||
cd 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"
|
kubectl top node >> "node_netperf.log"
|
||||||
echo "running k top pod"
|
echo "running k top pod"
|
||||||
kubectl top pod -A | grep cilium >> "pod_netperf.log"
|
kubectl top pod -A | grep cilium >> "pod_netperf.log"
|
||||||
|
@ -337,8 +337,8 @@ stages:
|
||||||
ARTIFACT_DIR2=$(Build.ArtifactStagingDirectory)/test3_netperf/
|
ARTIFACT_DIR2=$(Build.ArtifactStagingDirectory)/test3_netperf/
|
||||||
echo $ARTIFACT_DIR
|
echo $ARTIFACT_DIR
|
||||||
echo $ARTIFACT_DIR2
|
echo $ARTIFACT_DIR2
|
||||||
sudo rm -rf $ARTIFACT_DIR
|
sudo rm -rf $ARTIFACT_DIR
|
||||||
sudo rm -rf $ARTIFACT_DIR2
|
sudo rm -rf $ARTIFACT_DIR2
|
||||||
sudo mkdir $ARTIFACT_DIR
|
sudo mkdir $ARTIFACT_DIR
|
||||||
sudo mkdir $ARTIFACT_DIR2
|
sudo mkdir $ARTIFACT_DIR2
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -367,7 +367,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -389,7 +389,7 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
name: "$(BUILD_POOL_NAME_DEFAULT)"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -68,28 +68,31 @@ stages:
|
||||||
make $(type)
|
make $(type)
|
||||||
name: BuildCiliumImage
|
name: BuildCiliumImage
|
||||||
displayName: "Build Cilium Image"
|
displayName: "Build Cilium Image"
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Login"
|
displayName: "Login"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
az acr login -n $(ACR)
|
az acr login -n $(ACR)
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
azureSubscription: $(TEST_SUB_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
set -ex
|
set -ex
|
||||||
docker tag quay.io/cilium/$(image):$(DOCKER_IMAGE_TAG) $(ACR).azurecr.io/cilium/$(image):$(DOCKER_IMAGE_TAG)
|
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)
|
docker push $(ACR).azurecr.io/cilium/$(image):$(DOCKER_IMAGE_TAG)
|
||||||
name: "PushCiliumImage"
|
name: "PushCiliumImage"
|
||||||
displayName: "Push Cilium Image"
|
displayName: "Push Cilium Image"
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Logout"
|
displayName: "Logout"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
docker logout
|
docker logout
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
name: $(BUILD_POOL_NAME_DEFAULT)
|
name: $(BUILD_POOL_NAME_DEFAULT)
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: ${{ parameters.sub }}
|
azureSubscription: ${{ parameters.sub }}
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -10,7 +10,7 @@ parameters:
|
||||||
nodeCountWin: 2
|
nodeCountWin: 2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -8,7 +8,7 @@ parameters:
|
||||||
jobName: "deploy_pods"
|
jobName: "deploy_pods"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Pod Deployment"
|
displayName: "Pod Deployment"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
|
|
|
@ -7,7 +7,7 @@ parameters:
|
||||||
jobName: "restart_cns"
|
jobName: "restart_cns"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -3,7 +3,7 @@ parameters:
|
||||||
cni: "cniv1"
|
cni: "cniv1"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -6,7 +6,7 @@ parameters:
|
||||||
region: ""
|
region: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -5,7 +5,7 @@ parameters:
|
||||||
cni: "cilium"
|
cni: "cilium"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -2,7 +2,7 @@ parameters:
|
||||||
clusterName: ""
|
clusterName: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -21,7 +21,7 @@ stages:
|
||||||
jobs:
|
jobs:
|
||||||
- job: create_aks_cluster_with_${{ parameters.name }}
|
- job: create_aks_cluster_with_${{ parameters.name }}
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -55,7 +55,7 @@ stages:
|
||||||
- job: integration
|
- job: integration
|
||||||
displayName: "Integration Test - ${{ parameters.name }}"
|
displayName: "Integration Test - ${{ parameters.name }}"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -77,7 +77,7 @@ stages:
|
||||||
- job: integration
|
- job: integration
|
||||||
displayName: "Deploy Cilium Components"
|
displayName: "Deploy Cilium Components"
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
displayName: "Install Cilium, CNS, and ip-masq-agent"
|
||||||
retryCountOnTaskFailure: 2
|
retryCountOnTaskFailure: 2
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -166,7 +166,7 @@ stages:
|
||||||
displayName: "Recover Resources"
|
displayName: "Recover Resources"
|
||||||
dependsOn: restart_cns
|
dependsOn: restart_cns
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -205,7 +205,7 @@ stages:
|
||||||
cilium version
|
cilium version
|
||||||
name: "InstallCiliumCli"
|
name: "InstallCiliumCli"
|
||||||
displayName: "Install Cilium CLI"
|
displayName: "Install Cilium CLI"
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -373,7 +373,7 @@ stages:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
|
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
|
||||||
cni: "cilium_dualstack"
|
cni: "cilium_dualstack"
|
||||||
|
|
||||||
- template: cilium/cilium-overlay-load-test-template.yaml
|
- template: cilium/cilium-overlay-load-test-template.yaml
|
||||||
parameters:
|
parameters:
|
||||||
name: cilium_ds_arm
|
name: cilium_ds_arm
|
||||||
|
@ -396,7 +396,7 @@ stages:
|
||||||
osSKU: AzureLinux
|
osSKU: AzureLinux
|
||||||
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
|
dualstackVersion: ${CILIUM_DUALSTACK_VERSION}
|
||||||
cni: "cilium_dualstack"
|
cni: "cilium_dualstack"
|
||||||
|
|
||||||
- template: cilium/cilium-overlay-load-test-template.yaml
|
- template: cilium/cilium-overlay-load-test-template.yaml
|
||||||
parameters:
|
parameters:
|
||||||
name: cilium_ds_rdma
|
name: cilium_ds_rdma
|
||||||
|
@ -501,7 +501,7 @@ stages:
|
||||||
name: windows19_overlay
|
name: windows19_overlay
|
||||||
clusterName: w19-amd-ov
|
clusterName: w19-amd-ov
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -116,7 +116,7 @@ stages:
|
||||||
jobs:
|
jobs:
|
||||||
- job: update_cni
|
- job: update_cni
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -193,7 +193,7 @@ stages:
|
||||||
displayName: "Recover Resources"
|
displayName: "Recover Resources"
|
||||||
dependsOn: restart_nodes
|
dependsOn: restart_nodes
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -305,7 +305,7 @@ stages:
|
||||||
displayName: "Recover Resources"
|
displayName: "Recover Resources"
|
||||||
dependsOn: restart_nodesHNS
|
dependsOn: restart_nodesHNS
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -125,7 +125,7 @@ stages:
|
||||||
displayName: "Integration Test - ${{ parameters.name }}"
|
displayName: "Integration Test - ${{ parameters.name }}"
|
||||||
steps:
|
steps:
|
||||||
- ${{ if contains(parameters.clusterType, 'overlay') }}:
|
- ${{ if contains(parameters.clusterType, 'overlay') }}:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -144,7 +144,7 @@ stages:
|
||||||
name: "overlaye2e"
|
name: "overlaye2e"
|
||||||
displayName: "Overlay Integration"
|
displayName: "Overlay Integration"
|
||||||
- ${{ if contains(parameters.clusterType, 'swift') }}:
|
- ${{ if contains(parameters.clusterType, 'swift') }}:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -248,7 +248,7 @@ stages:
|
||||||
displayName: "Recover Resources"
|
displayName: "Recover Resources"
|
||||||
dependsOn: restart_cns
|
dependsOn: restart_cns
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -371,7 +371,7 @@ stages:
|
||||||
displayName: "Recover Resources"
|
displayName: "Recover Resources"
|
||||||
dependsOn: restart_cns
|
dependsOn: restart_cns
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -5,11 +5,12 @@ parameters:
|
||||||
os_version: ""
|
os_version: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Login"
|
displayName: "Login"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
az acr login -n $(ACR)
|
az acr login -n $(ACR)
|
||||||
|
|
||||||
|
@ -21,10 +22,11 @@ steps:
|
||||||
displayName: Image Build
|
displayName: Image Build
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Logout"
|
displayName: "Logout"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
docker logout
|
docker logout
|
||||||
|
|
|
@ -5,11 +5,12 @@ parameters:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Login"
|
displayName: "Login"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
az acr login -n $(ACR)
|
az acr login -n $(ACR)
|
||||||
|
|
||||||
|
@ -36,11 +37,12 @@ steps:
|
||||||
displayName: Manifest Push
|
displayName: Manifest Push
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
displayName: "Logout"
|
displayName: "Logout"
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
azureSubscription: $(ACR_ARM_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
scriptType: "bash"
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
docker logout
|
docker logout
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
|
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -47,7 +47,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -70,7 +70,7 @@ stages:
|
||||||
name: "installCiliumCLI"
|
name: "installCiliumCLI"
|
||||||
displayName: "Install Cilium CLI"
|
displayName: "Install Cilium CLI"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -131,10 +131,10 @@ stages:
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
name: "HubbleConnectivityTests"
|
name: "HubbleConnectivityTests"
|
||||||
displayName: "Run Hubble Connectivity Tests"
|
displayName: "Run Hubble Connectivity Tests"
|
||||||
|
|
||||||
- stage: deleteCluster
|
- stage: deleteCluster
|
||||||
condition: always()
|
condition: always()
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- createCluster
|
- createCluster
|
||||||
- setupCluster
|
- setupCluster
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -243,7 +243,7 @@ stages:
|
||||||
FQDN=`az aks show -n $(AZURE_CLUSTER) -g $(RESOURCE_GROUP) --query fqdn -o tsv`
|
FQDN=`az aks show -n $(AZURE_CLUSTER) -g $(RESOURCE_GROUP) --query fqdn -o tsv`
|
||||||
echo "##vso[task.setvariable variable=FQDN]$FQDN"
|
echo "##vso[task.setvariable variable=FQDN]$FQDN"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -26,7 +26,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -20,7 +20,7 @@ steps:
|
||||||
- task: KubectlInstaller@0
|
- task: KubectlInstaller@0
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -49,7 +49,7 @@ steps:
|
||||||
fi
|
fi
|
||||||
name: "deployCNI"
|
name: "deployCNI"
|
||||||
displayName: "Deploy CNI"
|
displayName: "Deploy CNI"
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -71,7 +71,7 @@ steps:
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|
||||||
make test-validate-state OS_TYPE=${{ parameters.os }} CNI_TYPE=cniv1
|
make test-validate-state OS_TYPE=${{ parameters.os }} CNI_TYPE=cniv1
|
||||||
|
|
||||||
kubectl delete ns load-test
|
kubectl delete ns load-test
|
||||||
displayName: "Validate State"
|
displayName: "Validate State"
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
|
|
|
@ -20,7 +20,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -41,7 +41,7 @@ steps:
|
||||||
name: "integrationTest"
|
name: "integrationTest"
|
||||||
displayName: "Run CNS Integration Tests on AKS Overlay"
|
displayName: "Run CNS Integration Tests on AKS Overlay"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -57,7 +57,7 @@ steps:
|
||||||
done
|
done
|
||||||
displayName: "Restart Nodes"
|
displayName: "Restart Nodes"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -20,7 +20,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -27,7 +27,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -28,7 +28,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -26,7 +26,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
kubectlVersion: latest
|
kubectlVersion: latest
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -55,7 +55,7 @@ steps:
|
||||||
name: "DualStack_Overlay_Linux_Tests"
|
name: "DualStack_Overlay_Linux_Tests"
|
||||||
displayName: "DualStack Overlay Linux Tests"
|
displayName: "DualStack Overlay Linux Tests"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
@ -70,7 +70,7 @@ steps:
|
||||||
done
|
done
|
||||||
displayName: "Restart Nodes"
|
displayName: "Restart Nodes"
|
||||||
|
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -6,7 +6,7 @@ jobs:
|
||||||
- job: ${{ parameters.name }}
|
- job: ${{ parameters.name }}
|
||||||
displayName: Cluster - ${{ parameters.name }}
|
displayName: Cluster - ${{ parameters.name }}
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
|
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- job: ${{ parameters.name }}
|
- job: ${{ parameters.name }}
|
||||||
displayName: Cluster - ${{ parameters.name }}
|
displayName: Cluster - ${{ parameters.name }}
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -4,7 +4,7 @@ parameters:
|
||||||
region: ""
|
region: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
|
@ -23,7 +23,7 @@ parameters:
|
||||||
jobName: "FailedE2ELogs"
|
jobName: "FailedE2ELogs"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: AzureCLI@1
|
- task: AzureCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
|
||||||
scriptLocation: "inlineScript"
|
scriptLocation: "inlineScript"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче