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

Migrate vsphere-csi-driver to eks-prow-build-cluster #29849

Merged
merged 1 commit into from
Jun 18, 2023
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ presubmits:
kubernetes-sigs/vsphere-csi-driver:

- name: pull-vsphere-csi-driver-verify-fmt
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '\.go$|hack\/check-format\.sh'
decorate: true
Expand All @@ -13,6 +14,13 @@ presubmits:
- make
args:
- fmt
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
Expand All @@ -21,6 +29,7 @@ presubmits:


- name: pull-vsphere-csi-driver-verify-vet
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '\.go$|hack\/check-vet\.sh'
decorate: true
Expand All @@ -32,13 +41,21 @@ presubmits:
- make
args:
- vet
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
testgrid-tab-name: pr-verify-vet
description: Vets the Golang sources have been vetted

- name: pull-vsphere-csi-driver-verify-golangci-lint
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '\.go'
decorate: true
Expand All @@ -50,6 +67,13 @@ presubmits:
- make
args:
- golangci-lint
resources:
limits:
cpu: 4
memory: 6Gi
requests:
cpu: 4
memory: 6Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
Expand All @@ -58,6 +82,7 @@ presubmits:

# Runs 'shellcheck' on appropriate sources
- name: pull-vsphere-csi-driver-verify-shell
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '.*\.\w*sh$'
decorate: true
Expand All @@ -67,6 +92,13 @@ presubmits:
- image: gcr.io/cluster-api-provider-vsphere/extra/shellcheck:v0.7.1
command:
- /bin/shellcheck.sh
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-tab-name: pr-verify-shell
Expand All @@ -75,6 +107,7 @@ presubmits:

# Runs 'mdlint' on appropriate sources
- name: pull-vsphere-csi-driver-verify-markdown
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '.*\.md$'
decorate: true
Expand All @@ -87,6 +120,13 @@ presubmits:
args:
- /md/lint
- .
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-tab-name: pr-verify-markdown
Expand All @@ -95,6 +135,7 @@ presubmits:

# Runs 'staticcheck' on appropriate sources
- name: pull-vsphere-csi-driver-verify-staticcheck
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '\.go$|hack\/check-staticcheck\.sh'
decorate: true
Expand All @@ -106,6 +147,13 @@ presubmits:
- make
args:
- staticcheck
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-tab-name: pr-verify-staticcheck
Expand All @@ -114,6 +162,7 @@ presubmits:

# Builds the CSI binary
- name: pull-vsphere-csi-driver-build
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '^(cmd|pkg|go.mod)'
decorate: true
Expand All @@ -127,12 +176,20 @@ presubmits:
- "make"
args:
- "build"
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com

# Executes the unit tests.
- name: pull-vsphere-csi-driver-unit-test
cluster: eks-prow-build-cluster
always_run: false
run_if_changed: '\.go$|go\.mod'
decorate: true
Expand All @@ -146,6 +203,13 @@ presubmits:
- "make"
args:
- "unit-test"
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
Expand All @@ -155,6 +219,7 @@ postsubmits:

# Deploys the CSI image after all merges to master
- name: post-vsphere-csi-driver-deploy
cluster: eks-prow-build-cluster
decorate: true
labels:
preset-dind-enabled: "true"
Expand All @@ -174,13 +239,21 @@ postsubmits:
- "deploy"
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: vmware-postsubmits-vsphere-csi-driver
testgrid-num-columns-recent: '20'
testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com

# Deploys the CSI image for tagged releases
- name: post-vsphere-csi-driver-release
cluster: eks-prow-build-cluster
decorate: true
labels:
preset-dind-enabled: "true"
Expand All @@ -199,6 +272,13 @@ postsubmits:
- "push-images"
securityContext:
privileged: true
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
rerun_auth_config:
github_users:
- codenrhoden
Expand Down