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

Update k-csi gen-jobs to enable different clusters to be used #29812

Merged
merged 1 commit into from
Jun 21, 2023
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-driver-iscsi:
- name: pull-kubernetes-csi-csi-driver-iscsi
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-driver-nfs:
- name: pull-kubernetes-csi-csi-driver-nfs
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-driver-nvmf:
- name: pull-kubernetes-csi-csi-driver-nvmf
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-lib-utils:
- name: pull-kubernetes-csi-csi-lib-utils
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
7 changes: 6 additions & 1 deletion config/jobs/kubernetes-csi/csi-proxy/csi-proxy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-proxy:
- name: pull-kubernetes-csi-csi-proxy
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-release-tools:
- name: pull-kubernetes-csi-csi-release-tools
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,8 +29,13 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
- name: pull-kubernetes-csi-release-tools-csi-test
cluster: default
always_run: true
optional: true # cannot be required because updates in csi-release-tools may include breaking changes
decorate: true
Expand Down Expand Up @@ -61,11 +67,16 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
env:
- name: PULL_TEST_REPO_DIR
value: /home/prow/go/src/github.com/kubernetes-csi/csi-test
- name: pull-kubernetes-csi-release-tools-external-provisioner
cluster: default
always_run: true
optional: true # cannot be required because updates in csi-release-tools may include breaking changes
decorate: true
Expand Down Expand Up @@ -97,7 +108,11 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
env:
- name: PULL_TEST_REPO_DIR
value: /home/prow/go/src/github.com/kubernetes-csi/external-provisioner
Expand All @@ -112,6 +127,7 @@ presubmits:
- name: CSI_SNAPSHOTTER_VERSION
value: "v6.1.0"
- name: pull-kubernetes-csi-release-tools-external-snapshotter
cluster: eks-prow-build-cluster
always_run: true
optional: true # cannot be required because updates in csi-release-tools may include breaking changes
decorate: true
Expand Down Expand Up @@ -143,7 +159,11 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
env:
- name: PULL_TEST_REPO_DIR
value: /home/prow/go/src/github.com/kubernetes-csi/external-snapshotter
Expand All @@ -158,6 +178,7 @@ presubmits:
- name: CSI_SNAPSHOTTER_VERSION
value: "v6.1.0"
- name: pull-kubernetes-csi-release-tools-csi-driver-host-path
cluster: default
always_run: true
optional: true # cannot be required because updates in csi-release-tools may include breaking changes
decorate: true
Expand Down Expand Up @@ -189,7 +210,11 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
env:
- name: PULL_TEST_REPO_DIR
value: /home/prow/go/src/github.com/kubernetes-csi/csi-driver-host-path
Expand Down
7 changes: 6 additions & 1 deletion config/jobs/kubernetes-csi/csi-test/csi-test-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/csi-test:
- name: pull-kubernetes-csi-csi-test
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/external-attacher:
- name: pull-kubernetes-csi-external-attacher-1-24-on-kubernetes-1-24
cluster: default
always_run: true
optional: false
decorate: true
Expand Down Expand Up @@ -47,11 +48,16 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-1-24-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
cluster: default
always_run: false
optional: true
decorate: true
Expand Down Expand Up @@ -88,12 +94,13 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-1-25-on-kubernetes-1-25
cluster: default
always_run: true
optional: false
decorate: true
Expand Down Expand Up @@ -138,11 +145,16 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-1-25-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
cluster: default
always_run: false
optional: true
decorate: true
Expand Down Expand Up @@ -179,12 +191,13 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-1-26-on-kubernetes-1-26
cluster: default
always_run: true
optional: true
decorate: true
Expand Down Expand Up @@ -229,15 +242,16 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-1-26-on-kubernetes-master
# Explicitly needs to be started with /test.
# This cannot be enabled by default because there's always the risk
# that something changes in master which breaks the pre-merge check.
cluster: default
always_run: false
optional: true
decorate: true
Expand Down Expand Up @@ -274,12 +288,13 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-alpha-1-25-on-kubernetes-1-25
cluster: default
always_run: false
optional: true
decorate: true
Expand Down Expand Up @@ -324,8 +339,13 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
- name: pull-kubernetes-csi-external-attacher-unit
cluster: default
always_run: true
decorate: true
skip_report: false
Expand Down Expand Up @@ -354,11 +374,11 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2

- name: pull-kubernetes-csi-external-attacher-canary
optional: true
Expand Down Expand Up @@ -405,8 +425,8 @@ presubmits:
privileged: true
resources:
requests:
# these are both a bit below peak usage during build
# this is mostly for building kubernetes
memory: "9000Mi"
# during the tests more like 3-20m is used
cpu: 2000m
memory: "9Gi"
cpu: 2
limits:
memory: "9Gi"
cpu: 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
presubmits:
kubernetes-csi/external-health-monitor:
- name: pull-kubernetes-csi-external-health-monitor
cluster: default
always_run: true
decorate: true
skip_report: false
Expand All @@ -28,4 +29,8 @@ presubmits:
privileged: true
resources:
requests:
cpu: 2000m
memory: "4Gi"
cpu: 2
limits:
memory: "4Gi"
cpu: 2
Loading