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 JobSet periodic release and main tests #32532

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
190 changes: 190 additions & 0 deletions config/jobs/kubernetes-sigs/jobset/jobset-periodics-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
periodics:
- interval: 12h
name: periodic-jobset-test-unit-main
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: main
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-unit-main
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset unit tests"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: GO_TEST_FLAGS
value: "-race -count 3"
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test
securityContext:
privileged: true
Copy link
Member

Choose a reason for hiding this comment

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

any idea why this is necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because you are running Docker in Docker I think it is necessary

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha, ok

resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-integration-main
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: main
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-integration-main
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset integration tests"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: public.ecr.aws/docker/library/golang:1.22
command:
- make
args:
- test-integration
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: peroodic-jobset-test-e2e-main-1-27
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: main
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-main-1-27
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.27"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.27.3
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-e2e-main-1-28
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: main
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-main-1-28
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.28"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.28.3
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-e2e-main-1-29
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: main
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-main-1-29
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.20"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.29.0
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
190 changes: 190 additions & 0 deletions config/jobs/kubernetes-sigs/jobset/jobset-periodics-release-0-4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
periodics:
- interval: 12h
name: periodic-jobset-test-unit-release-0-4
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: release-0-4
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-unit-release-0-4
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset unit tests"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: GO_TEST_FLAGS
value: "-race -count 3"
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-integration-release-0-4
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: release-0-4
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-integration-release-0-4
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset integration tests"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: public.ecr.aws/docker/library/golang:1.22
command:
- make
args:
- test-integration
resources:
limits:
cpu: 3
memory: 10Gi
omerap12 marked this conversation as resolved.
Show resolved Hide resolved
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: peroodic-jobset-test-e2e-release-0-4-1-27
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: release-0-4
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-release-0-4-1-27
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.27"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.27.3
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-e2e-release-0-4-1-28
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: release-0-4
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-release-0-4-1-28
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.28"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.28.3
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
- interval: 12h
name: periodic-jobset-test-e2e-release-0-4-1-29
cluster: eks-prow-build-cluster
extra_refs:
- org: kubernetes-sigs
repo: jobset
base_ref: release-0-4
path_alias: sigs.k8s.io/jobset
annotations:
testgrid-dashboards: sig-scheduling
testgrid-tab-name: periodic-jobset-test-e2e-release-0-4-1-29
testgrid-num-failures-to-alert: '1'
description: "Run periodic jobset end to end tests for Kubernetes 1.20"
testgrid-num-columns-recent: '30'
labels:
preset-dind-enabled: "true"
decorate: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
env:
- name: E2E_KIND_VERSION
value: kindest/node:v1.29.0
- name: BUILDER_IMAGE
value: public.ecr.aws/docker/library/golang:1.22
command:
# generic runner script, handles DIND, bazelrc for caching, etc.
- runner.sh
args:
- make
- test-e2e-kind
securityContext:
privileged: true
resources:
limits:
cpu: 3
memory: 10Gi
requests:
cpu: 3
memory: 10Gi
Loading