Skip to content

Commit

Permalink
Add Go version check in kubernetes Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zafs23 committed Nov 16, 2023
1 parent ea68cdc commit b59b4c0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ presubmits:
aws/eks-distro:
- name: kubernetes-1-23-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-23/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/1-23/(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/kubernetes-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: kubernetes-1-24-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-24/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/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/kubernetes-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: kubernetes-1-25-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-25/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/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/kubernetes-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: kubernetes-1-26-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-26/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/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/kubernetes-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: kubernetes-1-27-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-27/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/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/kubernetes-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: kubernetes-1-28-test-presubmit
always_run: false
run_if_changed: "projects/kubernetes/kubernetes/1-28/(GIT_TAG|patches)"
run_if_changed: "projects/kubernetes/kubernetes/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: kubernetes-{{ .releaseBranch }}-test-presubmit
runIfChanged: projects/kubernetes/kubernetes/{{ .releaseBranch }}/(GIT_TAG|patches)
runIfChanged: projects/kubernetes/kubernetes/{{ .releaseBranch }}/(GIT_TAG|patches|GOLANG_VERSION)
commands:
- make test -C $PROJECT_PATH
projectPath: projects/kubernetes/kubernetes
Expand Down

0 comments on commit b59b4c0

Please sign in to comment.