Skip to content

Commit

Permalink
Update CNI-plugin unit tests triggers (#567)
Browse files Browse the repository at this point in the history
* Update CNI-plugin unit tests triggers

* add golang trigger
  • Loading branch information
zafs23 authored Nov 16, 2023
1 parent e787028 commit ea68cdc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-24-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-25-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-26-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-27-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ea68cdc

Please sign in to comment.