Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update triggers for NPM pipelines #2867

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .pipelines/npm/npm-conformance-tests-latest-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
trigger:
- master
branches:
include:
- master
tags:
include:
- "*"

variables:
- name: VNET_NAME
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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) \
Expand Down Expand Up @@ -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
Expand Down
17 changes: 16 additions & 1 deletion .pipelines/npm/npm-conformance-tests.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
19 changes: 18 additions & 1 deletion .pipelines/npm/npm-scale-test.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading