Skip to content

Commit

Permalink
Merge pull request #33942 from pohly/dra-job-consolidation
Browse files Browse the repository at this point in the history
DRA: consolidate pre-submit jobs
  • Loading branch information
k8s-ci-robot authored Dec 14, 2024
2 parents 500e955 + 229f05c commit e1d92e6
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3201,7 +3201,8 @@ presubmits:
# Not relevant for most PRs.
always_run: false
# This covers most of the code related to dynamic resource allocation.
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/
# Periodic variant: ci-kind-dra
run_if_changed: /(dra|dynamicresources|resourceclaim|deviceclass|resourceslice|resourceclaimtemplate|dynamic-resource-allocation|pkg/apis/resource|api/resource)/.*.go
# The tests might still be flaky or this job might get triggered accidentally for
# an unrelated PR.
optional: true
Expand Down Expand Up @@ -3257,7 +3258,8 @@ presubmits:
# Not relevant for most PRs.
always_run: false
# This covers most of the code related to dynamic resource allocation.
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/
# Periodic variant: ci-kind-dra-all
run_if_changed: /(dra|dynamicresources|resourceclaim|deviceclass|resourceslice|resourceclaimtemplate|dynamic-resource-allocation|pkg/apis/resource|api/resource)/.*.go
# The tests might still be flaky or this job might get triggered accidentally for
# an unrelated PR.
optional: true
Expand Down Expand Up @@ -4276,7 +4278,10 @@ presubmits:
skip_branches:
- release-\d+\.\d+ # per-release image
always_run: false
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_test.go
# Automatically testing with one container runtime in one configuration is sufficient to detect basic problems in kubelet early.
# CRI-O was picked because it was solid for testing so far.
# Periodic variant: ci-node-e2e-crio-cgrpv1-dra-features
run_if_changed: (/dra/|/dynamicresources/|/resourceclaim/|/deviceclass/|/resourceslice/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_).*\.(go|yaml)
optional: true
skip_report: false
labels:
Expand Down Expand Up @@ -4322,11 +4327,12 @@ presubmits:
limits:
cpu: 4
memory: 6Gi
- name: pull-kubernetes-node-e2e-crio-cgrpv1-dra-kubetest2
- name: pull-kubernetes-node-e2e-crio-cgrpv1-dra-kubetest2 # experimental alternative to pull-kubernetes-node-e2e-crio-cgrpv1-dra
cluster: k8s-infra-prow-build
# explicitly needs /test pull-kubernetes-node-e2e-crio-cgrpv1-dra-kubetest2 to run
always_run: false
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_test.go
# Don't run automatically while experimental!
# run_if_changed: (/dra/|/dynamicresources/|/resourceclaim/|/deviceclass/|/resourceslice/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_).*\.(go|yaml)
optional: true
skip_report: false
skip_branches:
Expand Down Expand Up @@ -4380,7 +4386,10 @@ presubmits:
skip_branches:
- release-\d+\.\d+ # per-release image
always_run: false
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_test.go
# Automatically testing with one container runtime in one configuration is sufficient to detect basic problems in kubelet early.
# CRI-O was picked because it was solid for testing so far.
# Periodic variant: ci-node-e2e-cgrpv2-crio-dra
# run_if_changed: (/dra/|/dynamicresources/|/resourceclaim/|/deviceclass/|/resourceslice/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_).*\.(go|yaml)
optional: true
skip_report: false
labels:
Expand Down Expand Up @@ -4426,11 +4435,12 @@ presubmits:
limits:
cpu: 4
memory: 6Gi
- name: pull-kubernetes-node-e2e-crio-cgrpv2-dra-kubetest2
- name: pull-kubernetes-node-e2e-crio-cgrpv2-dra-kubetest2 # experimental alternative to pull-kubernetes-node-e2e-crio-cgrpv2-dra
cluster: k8s-infra-prow-build
# explicitly needs /test pull-kubernetes-node-e2e-crio-cgrpv2-dra-kubetest2 to run
always_run: false
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_test.go
# Don't run automatically while experimental!
# run_if_changed: (/dra/|/dynamicresources/|/resourceclaim/|/deviceclass/|/resourceslice/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_).*\.(go|yaml)
optional: true
skip_report: false
skip_branches:
Expand Down Expand Up @@ -4484,8 +4494,10 @@ presubmits:
skip_branches:
- release-\d+\.\d+ # per-release image
always_run: false
run_if_changed: /dra/|/dynamicresources/|/resourceclaim/|/resourceclass/|/podscheduling/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/resource/|/api/resource/|/test/e2e_node/dra_test.go
optional: true
# Automatically testing with one container runtime in one configuration is sufficient to detect basic problems in kubelet early.
# CRI-O was picked because it was solid for testing so far.
# Periodic variant: ci-node-e2e-containerd-1-7-dra
# run_if_changed: (/dra/|/dynamicresources/|/resourceclaim/|/deviceclass/|/resourceslice/|/resourceclaimtemplate/|/dynamic-resource-allocation/|/pkg/apis/r optional: true
skip_report: false
labels:
preset-service-account: "true"
Expand Down

0 comments on commit e1d92e6

Please sign in to comment.