Skip to content

Commit c4e8135

Browse files
authored
Merge pull request #35929 from chrischdi/pr-capa-drop-e2e-gc
CAPA: run e2e-eks-gc only on 2.7 and 2.8 branches because they don't exist anymore since v2.9
2 parents a80e4cf + 9e1b19f commit c4e8135

File tree

3 files changed

+3
-90
lines changed

3 files changed

+3
-90
lines changed

config/jobs/kubernetes-sigs/cluster-api-provider-aws/cluster-api-provider-aws-presubmits-main.yaml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -393,51 +393,6 @@ presubmits:
393393
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
394394
testgrid-tab-name: pr-e2e-eks-main
395395
testgrid-num-columns-recent: '20'
396-
- name: pull-cluster-api-provider-aws-e2e-eks-gc
397-
cluster: eks-prow-build-cluster
398-
branches:
399-
- ^main$
400-
path_alias: "sigs.k8s.io/cluster-api-provider-aws"
401-
always_run: false
402-
optional: true
403-
decorate: true
404-
decoration_config:
405-
timeout: 5h
406-
rerun_auth_config:
407-
github_team_slugs:
408-
- org: kubernetes-sigs
409-
slug: cluster-api-provider-aws-maintainers
410-
max_concurrency: 1
411-
labels:
412-
preset-dind-enabled: "true"
413-
preset-kind-volume-mounts: "true"
414-
preset-service-account: "true"
415-
preset-aws-ssh: "true"
416-
preset-aws-credential: "true"
417-
spec:
418-
containers:
419-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20251029-79c2132152-1.33
420-
command:
421-
- "runner.sh"
422-
- "./scripts/ci-e2e-eks-gc.sh"
423-
env:
424-
- name: BOSKOS_HOST
425-
value: "boskos.test-pods.svc.cluster.local"
426-
- name: AWS_REGION
427-
value: "us-west-2"
428-
securityContext:
429-
privileged: true
430-
resources:
431-
limits:
432-
cpu: 2
433-
memory: "9Gi"
434-
requests:
435-
cpu: 2
436-
memory: "9Gi"
437-
annotations:
438-
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
439-
testgrid-tab-name: pr-e2e-eks-gc-main
440-
testgrid-num-columns-recent: '20'
441396
- name: pull-cluster-api-provider-aws-e2e-eks-testing
442397
cluster: eks-prow-build-cluster
443398
branches:

config/jobs/kubernetes-sigs/cluster-api-provider-aws/cluster-api-provider-aws-presubmits-release-2.9.yaml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -393,51 +393,6 @@ presubmits:
393393
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
394394
testgrid-tab-name: pr-e2e-eks-release-2-9
395395
testgrid-num-columns-recent: '20'
396-
- name: pull-cluster-api-provider-aws-e2e-eks-gc-release-2-9
397-
cluster: eks-prow-build-cluster
398-
branches:
399-
- ^release-2.9$
400-
path_alias: "sigs.k8s.io/cluster-api-provider-aws"
401-
always_run: false
402-
optional: true
403-
decorate: true
404-
decoration_config:
405-
timeout: 5h
406-
rerun_auth_config:
407-
github_team_slugs:
408-
- org: kubernetes-sigs
409-
slug: cluster-api-provider-aws-maintainers
410-
max_concurrency: 1
411-
labels:
412-
preset-dind-enabled: "true"
413-
preset-kind-volume-mounts: "true"
414-
preset-service-account: "true"
415-
preset-aws-ssh: "true"
416-
preset-aws-credential: "true"
417-
spec:
418-
containers:
419-
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20251029-79c2132152-1.32
420-
command:
421-
- "runner.sh"
422-
- "./scripts/ci-e2e-eks-gc.sh"
423-
env:
424-
- name: BOSKOS_HOST
425-
value: "boskos.test-pods.svc.cluster.local"
426-
- name: AWS_REGION
427-
value: "us-west-2"
428-
securityContext:
429-
privileged: true
430-
resources:
431-
limits:
432-
cpu: 2
433-
memory: "9Gi"
434-
requests:
435-
cpu: 2
436-
memory: "9Gi"
437-
annotations:
438-
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
439-
testgrid-tab-name: pr-e2e-eks-gc-release-2-9
440-
testgrid-num-columns-recent: '20'
441396
- name: pull-cluster-api-provider-aws-e2e-eks-testing-release-2-9
442397
cluster: eks-prow-build-cluster
443398
branches:

config/jobs/kubernetes-sigs/cluster-api-provider-aws/templates/cluster-api-provider-aws-presubmits.yaml.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ presubmits:
394394
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
395395
testgrid-tab-name: pr-e2e-eks-{{ ReplaceAll $.branch "." "-" }}
396396
testgrid-num-columns-recent: '20'
397+
{{- $onlyInBranch := list "release-2.7" "release-2.8" }}
398+
{{- if has $.branch $onlyInBranch }}
397399
- name: pull-cluster-api-provider-aws-e2e-eks-gc{{ if ne $.branch "main" }}-{{ ReplaceAll $.branch "." "-" }}{{ end }}
398400
cluster: eks-prow-build-cluster
399401
branches:
@@ -439,6 +441,7 @@ presubmits:
439441
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
440442
testgrid-tab-name: pr-e2e-eks-gc-{{ ReplaceAll $.branch "." "-" }}
441443
testgrid-num-columns-recent: '20'
444+
{{- end }}
442445
- name: pull-cluster-api-provider-aws-e2e-eks-testing{{ if ne $.branch "main" }}-{{ ReplaceAll $.branch "." "-" }}{{ end }}
443446
cluster: eks-prow-build-cluster
444447
branches:

0 commit comments

Comments
 (0)