From ea68cdc1491980a4198c908aa2e8f1449008e8b0 Mon Sep 17 00:00:00 2001 From: Sajia Zafreen <42818305+zafs23@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:09:28 -0800 Subject: [PATCH] Update CNI-plugin unit tests triggers (#567) * Update CNI-plugin unit tests triggers * add golang trigger --- jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml | 2 +- .../jobs/presubmit/eks-distro/cni-1-X-test-presubmits.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml index f9252a7f4..8b48515cd 100644 --- a/jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: aws/eks-distro: - name: cni-plugins-1-24-test-presubmit always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-24)" + run_if_changed: "projects/containernetworking/plugins/1-24/(GIT_TAG|patches|GOLANG_VERSION)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false diff --git a/jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml index 11db021a6..5a1851bc8 100644 --- a/jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: aws/eks-distro: - name: cni-plugins-1-25-test-presubmit always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-25)" + run_if_changed: "projects/containernetworking/plugins/1-25/(GIT_TAG|patches|GOLANG_VERSION)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false diff --git a/jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml index 799d8e844..f22003b00 100644 --- a/jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: aws/eks-distro: - name: cni-plugins-1-26-test-presubmit always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-26)" + run_if_changed: "projects/containernetworking/plugins/1-26/(GIT_TAG|patches|GOLANG_VERSION)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false diff --git a/jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml index 490e3d1df..901d09ba9 100644 --- a/jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: aws/eks-distro: - name: cni-plugins-1-27-test-presubmit always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-27)" + run_if_changed: "projects/containernetworking/plugins/1-27/(GIT_TAG|patches|GOLANG_VERSION)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false diff --git a/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml index 83d3917fd..ef8f3614c 100644 --- a/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: aws/eks-distro: - name: cni-plugins-1-28-test-presubmit always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-28)" + run_if_changed: "projects/containernetworking/plugins/1-28/(GIT_TAG|patches|GOLANG_VERSION)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false diff --git a/templater/jobs/presubmit/eks-distro/cni-1-X-test-presubmits.yaml b/templater/jobs/presubmit/eks-distro/cni-1-X-test-presubmits.yaml index 37364763d..176de80a7 100644 --- a/templater/jobs/presubmit/eks-distro/cni-1-X-test-presubmits.yaml +++ b/templater/jobs/presubmit/eks-distro/cni-1-X-test-presubmits.yaml @@ -1,5 +1,5 @@ jobName: cni-plugins-{{ .releaseBranch }}-test-presubmit -runIfChanged: ^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|{{ .releaseBranch }}) +runIfChanged: projects/containernetworking/plugins/{{ .releaseBranch }}/(GIT_TAG|patches|GOLANG_VERSION) commands: - make test -C $PROJECT_PATH projectPath: projects/containernetworking/plugins