diff --git a/.pipelines/npm/npm-conformance-tests-latest-release.yaml b/.pipelines/npm/npm-conformance-tests-latest-release.yaml index fefacaab24..3e52f897b0 100644 --- a/.pipelines/npm/npm-conformance-tests-latest-release.yaml +++ b/.pipelines/npm/npm-conformance-tests-latest-release.yaml @@ -1,5 +1,10 @@ trigger: - - master + branches: + include: + - master + tags: + include: + - "*" variables: - name: VNET_NAME @@ -113,7 +118,7 @@ jobs: scriptLocation: "inlineScript" failOnStderr: true inlineScript: | - # get kubectl + # get kubectl curl -LO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl chmod +x kubectl echo Cluster $(AZURE_CLUSTER) @@ -177,7 +182,7 @@ jobs: ./kubectl --kubeconfig=./kubeconfig set image daemonset/azure-npm-win -n kube-system azure-npm=$IMAGE_REGISTRY/azure-npm:windows-amd64-ltsc2022-$(TAG) else - echo "Creating Linux Cluster"; + echo "Creating Linux Cluster"; az aks create --no-ssh-key \ --resource-group $(RESOURCE_GROUP) \ --name $(AZURE_CLUSTER) \ @@ -261,7 +266,7 @@ jobs: declare -a conformancePIDs for round in $(seq 1 $NUM_PARALLEL_JOBS_FOR_STRESS_TEST); do # for each iteration, run the conformance test and echos in the background, and write the output of the conformance test to a file - + # run the conformance test in the foreground and write the output to stdout and a file if [[ $(AZURE_CLUSTER) == *ws22 ]] # * is used for pattern matching then diff --git a/.pipelines/npm/npm-conformance-tests.yaml b/.pipelines/npm/npm-conformance-tests.yaml index d2b1219791..9c127e17db 100644 --- a/.pipelines/npm/npm-conformance-tests.yaml +++ b/.pipelines/npm/npm-conformance-tests.yaml @@ -1,5 +1,20 @@ +pr: + branches: + include: + - master + - release/* + paths: + include: + - npm/* + - .pipelines/npm/* + trigger: - - master + branches: + include: + - master + tags: + include: + - "*" variables: - name: VNET_NAME diff --git a/.pipelines/npm/npm-scale-test.yaml b/.pipelines/npm/npm-scale-test.yaml index 866b887d18..ceb8099f7e 100644 --- a/.pipelines/npm/npm-scale-test.yaml +++ b/.pipelines/npm/npm-scale-test.yaml @@ -1,5 +1,22 @@ +pr: + branches: + include: + - master + - release/* + paths: + include: + - npm/* + - .pipelines/npm/* + - test/scale/* + + trigger: - - master + branches: + include: + - master + tags: + include: + - "*" variables: - name: VNET_NAME