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

Add optional go compatibility unit and integration presubmits #28626

Merged
merged 2 commits into from
Feb 3, 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
66 changes: 66 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,40 @@ presubmits:
memory: 15Gi
securityContext:
privileged: true
- always_run: false
optional: true
branches:
- release-1.23
cluster: k8s-infra-prow-build
context: pull-kubernetes-integration-go-compatibility
decorate: true
labels:
preset-dind-enabled: "true"
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-integration-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- args:
- ./hack/jenkins/test-dockerized.sh
command:
- runner.sh
env:
- name: GO_VERSION
value: "1.17.3"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.23
name: ""
resources:
limits:
cpu: "6"
memory: 15Gi
requests:
cpu: "6"
memory: 15Gi
securityContext:
privileged: true
- always_run: true
branches:
- release-1.23
Expand Down Expand Up @@ -1748,6 +1782,38 @@ presubmits:
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: false
optional: true
branches:
- release-1.23
cluster: k8s-infra-prow-build
context: pull-kubernetes-unit-go-compatibility
decorate: true
labels:
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-unit-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- command:
- make
- test
env:
- name: GO_VERSION
value: "1.17.3"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.23
name: ""
resources:
limits:
cpu: "4"
memory: 36Gi
requests:
cpu: "4"
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: true
branches:
- release-1.23
Expand Down
66 changes: 66 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.24.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,40 @@ presubmits:
memory: 15Gi
securityContext:
privileged: true
- always_run: false
optional: true
branches:
- release-1.24
cluster: k8s-infra-prow-build
context: pull-kubernetes-integration-go-compatibility
decorate: true
labels:
preset-dind-enabled: "true"
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-integration-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- args:
- ./hack/jenkins/test-dockerized.sh
command:
- runner.sh
env:
- name: GO_VERSION
value: "1.18.1"
liggitt marked this conversation as resolved.
Show resolved Hide resolved
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.24
name: ""
resources:
limits:
cpu: "6"
memory: 15Gi
requests:
cpu: "6"
memory: 15Gi
securityContext:
privileged: true
- always_run: true
branches:
- release-1.24
Expand Down Expand Up @@ -1568,6 +1602,38 @@ presubmits:
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: false
optional: true
branches:
- release-1.24
cluster: k8s-infra-prow-build
context: pull-kubernetes-unit-go-compatibility
decorate: true
labels:
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-unit-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- command:
- make
- test
env:
- name: GO_VERSION
value: "1.18.1"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.24
name: ""
resources:
limits:
cpu: "4"
memory: 36Gi
requests:
cpu: "4"
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: true
branches:
- release-1.24
Expand Down
66 changes: 66 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.25.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,40 @@ presubmits:
memory: 15Gi
securityContext:
privileged: true
- always_run: false
optional: true
branches:
- release-1.25
cluster: k8s-infra-prow-build
context: pull-kubernetes-integration-go-compatibility
decorate: true
labels:
preset-dind-enabled: "true"
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-integration-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- args:
- ./hack/jenkins/test-dockerized.sh
command:
- runner.sh
env:
- name: GO_VERSION
value: "1.19.1"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.25
name: ""
resources:
limits:
cpu: "6"
memory: 15Gi
requests:
cpu: "6"
memory: 15Gi
securityContext:
privileged: true
- always_run: true
branches:
- release-1.25
Expand Down Expand Up @@ -1578,6 +1612,38 @@ presubmits:
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: false
optional: true
branches:
- release-1.25
cluster: k8s-infra-prow-build
context: pull-kubernetes-unit-go-compatibility
decorate: true
labels:
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-unit-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- command:
- make
- test
env:
- name: GO_VERSION
value: "1.19.1"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.25
name: ""
resources:
limits:
cpu: "4"
memory: 36Gi
requests:
cpu: "4"
memory: 36Gi
securityContext:
runAsUser: 2000
- always_run: true
branches:
- release-1.25
Expand Down
64 changes: 64 additions & 0 deletions config/jobs/kubernetes/sig-release/release-branch-jobs/1.26.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,40 @@ presubmits:
memory: 15Gi
securityContext:
privileged: true
- always_run: false
optional: true
branches:
- release-1.26
cluster: k8s-infra-prow-build
context: pull-kubernetes-integration-go-compatibility
decorate: true
labels:
preset-dind-enabled: "true"
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-integration-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- args:
- ./hack/jenkins/test-dockerized.sh
command:
- runner.sh
env:
- name: GO_VERSION
value: "1.19.4"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.26
name: ""
resources:
limits:
cpu: "6"
memory: 15Gi
requests:
cpu: "6"
memory: 15Gi
securityContext:
privileged: true
- always_run: true
branches:
- release-1.26
Expand Down Expand Up @@ -1604,6 +1638,36 @@ presubmits:
requests:
cpu: "4"
memory: 36Gi
- always_run: false
optional: true
branches:
- release-1.26
cluster: k8s-infra-prow-build
context: pull-kubernetes-unit-go-compatibility
decorate: true
labels:
preset-service-account: "true"
annotations:
description: run with GO_VERSION set to the original go version used for this branch
name: pull-kubernetes-unit-go-compatibility
path_alias: k8s.io/kubernetes
spec:
containers:
- command:
- make
- test
env:
- name: GO_VERSION
value: "1.19.4"
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-1.26
name: ""
resources:
limits:
cpu: "4"
memory: 36Gi
requests:
cpu: "4"
memory: 36Gi
- always_run: true
branches:
- release-1.26
Expand Down
35 changes: 35 additions & 0 deletions config/jobs/kubernetes/sig-testing/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,41 @@ presubmits:
requests:
cpu: 6
memory: 15Gi
- name: pull-kubernetes-integration-go-compatibility
cluster: k8s-infra-prow-build
always_run: false
optional: true
decorate: true
skip_branches:
- release-\d+.\d+ # per-release job
annotations:
fork-per-release: "true"
testgrid-dashboards: sig-testing-canaries
description: run with GO_VERSION set to the original go version used for this branch
path_alias: k8s.io/kubernetes
labels:
preset-service-account: "true"
preset-dind-enabled: "true"
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230127-9396ca613c-master
command:
- runner.sh
env:
- name: GO_VERSION
value: ""
args:
- ./hack/jenkins/test-dockerized.sh
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
limits:
cpu: 6
memory: 15Gi
requests:
cpu: 6
memory: 15Gi
- name: pull-kubernetes-integration-go-canary
cluster: k8s-infra-prow-build
always_run: false
Expand Down
Loading