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 kOps jobs to community owned clusters #30103

Merged
merged 1 commit into from
Jul 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
80 changes: 80 additions & 0 deletions config/jobs/kubernetes/kops/kops-presubmits.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes/kops:
- name: pull-kops-build
cluster: eks-prow-build-cluster
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought this job uploaded, in which case credentials could be tricky, but actually it doesn't appear to do so 👍

skip_branches:
- release-1.23
- release-1.22
Expand All @@ -23,10 +24,15 @@ presubmits:
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: build
- name: pull-kops-test
cluster: eks-prow-build-cluster
skip_branches:
- release-1.23
- release-1.22
Expand All @@ -49,6 +55,10 @@ presubmits:
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: test
Expand Down Expand Up @@ -155,6 +165,7 @@ presubmits:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: e2e-do-kubetest2
- name: pull-kops-verify-generated
cluster: eks-prow-build-cluster
always_run: true
labels:
preset-service-account: "true"
Expand All @@ -170,10 +181,18 @@ presubmits:
args:
- "make"
- "verify-generate"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-generated
- name: pull-kops-verify-gomod
cluster: eks-prow-build-cluster
branches:
- master
always_run: true
Expand All @@ -191,10 +210,18 @@ presubmits:
args:
- "make"
- "verify-gomod"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-gomod
- name: pull-kops-verify-boilerplate
cluster: eks-prow-build-cluster
always_run: true
labels:
preset-service-account: "true"
Expand All @@ -210,10 +237,18 @@ presubmits:
args:
- "make"
- "verify-boilerplate"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-boilerplate
- name: pull-kops-verify-gofmt
cluster: eks-prow-build-cluster
branches:
- master
always_run: true
Expand All @@ -234,10 +269,15 @@ presubmits:
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-gofmt
- name: pull-kops-verify-gofmt-go118
cluster: eks-prow-build-cluster
branches:
- release-1.24
- release-1.23
Expand All @@ -260,10 +300,15 @@ presubmits:
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-gofmt-go118
- name: pull-kops-verify-govet
cluster: eks-prow-build-cluster
always_run: true
labels:
preset-service-account: "true"
Expand All @@ -279,10 +324,18 @@ presubmits:
args:
- "make"
- "govet"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-govet
- name: pull-kops-verify-golangci-lint
cluster: eks-prow-build-cluster
branches:
- master
always_run: true
Expand All @@ -300,10 +353,18 @@ presubmits:
args:
- "make"
- "verify-golangci-lint"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-golangci-lint
- name: pull-kops-verify-hashes
cluster: eks-prow-build-cluster
skip_report: false
run_if_changed: '^upup\/pkg\/fi\/cloudup\/(containerd|docker)'
labels:
Expand All @@ -320,10 +381,18 @@ presubmits:
args:
- "make"
- "verify-hashes"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
testgrid-tab-name: verify-hashes
- name: pull-kops-verify-terraform
cluster: eks-prow-build-cluster
skip_report: false
run_if_changed: '^tests\/integration\/update_cluster\/'
labels:
Expand All @@ -341,6 +410,13 @@ presubmits:
args:
- "make"
- "verify-terraform"
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
# docker-in-docker needs privileged mode
securityContext:
privileged: true
Expand Down Expand Up @@ -370,5 +446,9 @@ postsubmits:
resources:
requests:
memory: "2Gi"
cpu: 2
limits:
memory: "2Gi"
cpu: 2
annotations:
testgrid-dashboards: sig-cluster-lifecycle-kops, kops-presubmits