Skip to content

Commit

Permalink
only run packges presubmits on main
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn committed Jul 8, 2024
1 parent 3989fbc commit c5b8f4a
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: autoscaler-1-26-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: autoscaler-1-27-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: autoscaler-1-28-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: autoscaler-1-29-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: autoscaler-1-30-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: aws-otel-collector-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/aws-observability/aws-otel-collector/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: distribution-tooling-presubmit
always_run: false
run_if_changed: "^build/lib/.*|Common.mk|projects/distribution/distribution/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
2 changes: 2 additions & 0 deletions jobs/aws/eks-anywhere-build-tooling/emissary-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: emissary-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_PYTHON_3.9_AL2023_TAG_FILE|^build/lib/.*|Common.mk|projects/emissary-ingress/emissary/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
2 changes: 2 additions & 0 deletions jobs/aws/eks-anywhere-build-tooling/harbor-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: harbor-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_NGINX_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_GLIBC_TAG_FILE|^build/lib/.*|Common.mk|projects/goharbor/harbor/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: harbor-scanner-trivy-tooling-presubmit
always_run: false
run_if_changed: "^build/lib/.*|Common.mk|projects/aquasecurity/harbor-scanner-trivy/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: hello-eks-anywhere-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_NGINX_TAG_FILE|^build/lib/.*|Common.mk|projects/aws-containers/hello-eks-anywhere/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
2 changes: 2 additions & 0 deletions jobs/aws/eks-anywhere-build-tooling/metallb-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: metallb-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/metallb/metallb/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: metrics-server-presubmit
always_run: false
run_if_changed: "^build/lib/.*|Common.mk|projects/kubernetes-sigs/metrics-server/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: prometheus-node-exporter-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/prometheus/node_exporter/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: prometheus-prometheus-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/prometheus/prometheus/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
2 changes: 2 additions & 0 deletions jobs/aws/eks-anywhere-build-tooling/redis-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: redis-tooling-presubmit
always_run: false
run_if_changed: "EKS_DISTRO_MINIMAL_BASE_GLIBC_TAG_FILE|^build/lib/.*|Common.mk|projects/redis/redis/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
2 changes: 2 additions & 0 deletions jobs/aws/eks-anywhere-build-tooling/trivy-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ presubmits:
- name: trivy-tooling-presubmit
always_run: false
run_if_changed: "^build/lib/.*|Common.mk|projects/aquasecurity/trivy/.*"
branches:
- ^main$
cluster: "prow-presubmits-cluster"
error_on_eviction: true
max_concurrency: 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: autoscaler-{{ .releaseBranch }}-presubmit
runIfChanged: EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/autoscaler/.*
branches:
- ^main$
imageBuild: true
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: aws-otel-collector-tooling-presubmit
runIfChanged: EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/aws-observability/aws-otel-collector/.*
branches:
- ^main$
imageBuild: true
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: distribution-tooling-presubmit
runIfChanged: ^build/lib/.*|Common.mk|projects/distribution/distribution/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/distribution/distribution
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: emissary-tooling-presubmit
runIfChanged: EKS_DISTRO_MINIMAL_BASE_PYTHON_3.9_AL2023_TAG_FILE|^build/lib/.*|Common.mk|projects/emissary-ingress/emissary/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/emissary-ingress/emissary
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: harbor-tooling-presubmit
runIfChanged: EKS_DISTRO_BASE_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_NGINX_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_GLIBC_TAG_FILE|^build/lib/.*|Common.mk|projects/goharbor/harbor/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/goharbor/harbor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: harbor-scanner-trivy-tooling-presubmit
runIfChanged: ^build/lib/.*|Common.mk|projects/aquasecurity/harbor-scanner-trivy/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/aquasecurity/harbor-scanner-trivy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: hello-eks-anywhere-tooling-presubmit
runIfChanged: EKS_DISTRO_MINIMAL_BASE_NGINX_TAG_FILE|^build/lib/.*|Common.mk|projects/aws-containers/hello-eks-anywhere/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/aws-containers/hello-eks-anywhere
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: metallb-tooling-presubmit
runIfChanged: EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/metallb/metallb/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/metallb/metallb
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: metrics-server-presubmit
runIfChanged: ^build/lib/.*|Common.mk|projects/kubernetes-sigs/metrics-server/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/kubernetes-sigs/metrics-server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: prometheus-node-exporter-tooling-presubmit
runIfChanged: EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/prometheus/node_exporter/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/prometheus/node_exporter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: prometheus-prometheus-tooling-presubmit
runIfChanged: EKS_DISTRO_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/prometheus/prometheus/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/prometheus/prometheus
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: redis-tooling-presubmit
runIfChanged: EKS_DISTRO_MINIMAL_BASE_GLIBC_TAG_FILE|^build/lib/.*|Common.mk|projects/redis/redis/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/redis/redis
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
jobName: trivy-tooling-presubmit
runIfChanged: ^build/lib/.*|Common.mk|projects/aquasecurity/trivy/.*
branches:
- ^main$
commands:
- if $(make check-project-path-exists); then make build -C $PROJECT_PATH; fi
projectPath: projects/aquasecurity/trivy
Expand Down

0 comments on commit c5b8f4a

Please sign in to comment.