Skip to content

Commit 0bee590

Browse files
authored
metal3: add capi techpreview (openshift#58839)
1 parent fde31fa commit 0bee590

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed

ci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
base_images:
2+
dev-scripts:
3+
name: test
4+
namespace: ocp-kni
5+
tag: dev-scripts
26
ocp_4.18_base-rhel9:
37
name: "4.18"
48
namespace: ocp
@@ -169,6 +173,27 @@ tests:
169173
requests:
170174
cpu: 100m
171175
workflow: openshift-e2e-vsphere
176+
- as: e2e-metal3-capi-techpreview
177+
cluster: build05
178+
optional: true
179+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
180+
steps:
181+
cluster_profile: equinix-ocp-metal
182+
env:
183+
DEVSCRIPTS_CONFIG: |
184+
BMO_WATCH_ALL_NAMESPACES="true"
185+
NUM_EXTRA_WORKERS=1
186+
EXTRA_WORKERS_NAMESPACE=openshift-cluster-api
187+
FEATURE_SET=TechPreviewNoUpgrade
188+
ENABLE_CAPI_E2E="true"
189+
test:
190+
- as: test
191+
commands: make e2e
192+
from: src
193+
resources:
194+
requests:
195+
cpu: 100m
196+
workflow: baremetalds-e2e-ovn-ipv6
172197
- as: regression-clusterinfra-cucushift-rehearse-capi-aws-ipi
173198
optional: true
174199
steps:

ci-operator/jobs/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main-presubmits.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,81 @@ presubmits:
637637
secret:
638638
secretName: result-aggregator
639639
trigger: (?m)^/test( | .* )e2e-gcp-ovn-techpreview,?($|\s.*)
640+
- agent: kubernetes
641+
always_run: false
642+
branches:
643+
- ^main$
644+
- ^main-
645+
cluster: build05
646+
context: ci/prow/e2e-metal3-capi-techpreview
647+
decorate: true
648+
labels:
649+
ci-operator.openshift.io/cloud: equinix-ocp-metal
650+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
651+
ci-operator.openshift.io/cluster: build05
652+
ci.openshift.io/generator: prowgen
653+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
654+
name: pull-ci-openshift-cluster-capi-operator-main-e2e-metal3-capi-techpreview
655+
optional: true
656+
rerun_command: /test e2e-metal3-capi-techpreview
657+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
658+
spec:
659+
containers:
660+
- args:
661+
- --gcs-upload-secret=/secrets/gcs/service-account.json
662+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
663+
- --lease-server-credentials-file=/etc/boskos/credentials
664+
- --report-credentials-file=/etc/report/credentials
665+
- --secret-dir=/secrets/ci-pull-credentials
666+
- --target=e2e-metal3-capi-techpreview
667+
command:
668+
- ci-operator
669+
image: ci-operator:latest
670+
imagePullPolicy: Always
671+
name: ""
672+
resources:
673+
requests:
674+
cpu: 10m
675+
volumeMounts:
676+
- mountPath: /etc/boskos
677+
name: boskos
678+
readOnly: true
679+
- mountPath: /secrets/ci-pull-credentials
680+
name: ci-pull-credentials
681+
readOnly: true
682+
- mountPath: /secrets/gcs
683+
name: gcs-credentials
684+
readOnly: true
685+
- mountPath: /secrets/manifest-tool
686+
name: manifest-tool-local-pusher
687+
readOnly: true
688+
- mountPath: /etc/pull-secret
689+
name: pull-secret
690+
readOnly: true
691+
- mountPath: /etc/report
692+
name: result-aggregator
693+
readOnly: true
694+
serviceAccountName: ci-operator
695+
volumes:
696+
- name: boskos
697+
secret:
698+
items:
699+
- key: credentials
700+
path: credentials
701+
secretName: boskos-credentials
702+
- name: ci-pull-credentials
703+
secret:
704+
secretName: ci-pull-credentials
705+
- name: manifest-tool-local-pusher
706+
secret:
707+
secretName: manifest-tool-local-pusher
708+
- name: pull-secret
709+
secret:
710+
secretName: registry-pull-credentials
711+
- name: result-aggregator
712+
secret:
713+
secretName: result-aggregator
714+
trigger: (?m)^/test( | .* )e2e-metal3-capi-techpreview,?($|\s.*)
640715
- agent: kubernetes
641716
always_run: false
642717
branches:

0 commit comments

Comments
 (0)