Skip to content

Commit 6b36b3b

Browse files
authored
feat: add ci lanes for arbiter deployments (#59584)
created workflows for arbiter deployments created e2e and upgrade periodics for arbiter runs Signed-off-by: ehila <ehila@redhat.com>
1 parent 2c02922 commit 6b36b3b

File tree

8 files changed

+231
-0
lines changed

8 files changed

+231
-0
lines changed

ci-operator/config/openshift/release/openshift-release-master__nightly-4.19.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,18 @@ tests:
442442
enable:
443443
- observers-resource-watch
444444
workflow: baremetalds-e2e-ovn-dualstack-cgroupsv1
445+
- as: e2e-metal-ovn-arbiter
446+
cluster: build05
447+
cron: '@daily'
448+
steps:
449+
cluster_profile: equinix-ocp-metal
450+
workflow: baremetalds-arbiter
451+
- as: e2e-metal-ovn-arbiter-upgrade
452+
cluster: build05
453+
cron: '@daily'
454+
steps:
455+
cluster_profile: equinix-ocp-metal
456+
workflow: baremetalds-arbiter-upgrade
445457
- as: e2e-aws-ovn-proxy
446458
cron: 0 0 */2 * *
447459
steps:

ci-operator/jobs/openshift/release/openshift-release-master-periodics.yaml

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130573,6 +130573,160 @@ periodics:
130573130573
- name: result-aggregator
130574130574
secret:
130575130575
secretName: result-aggregator
130576+
- agent: kubernetes
130577+
cluster: build05
130578+
cron: 23 3 * * *
130579+
decorate: true
130580+
decoration_config:
130581+
skip_cloning: true
130582+
extra_refs:
130583+
- base_ref: master
130584+
org: openshift
130585+
repo: release
130586+
labels:
130587+
ci-operator.openshift.io/cloud: equinix-ocp-metal
130588+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
130589+
ci-operator.openshift.io/cluster: build05
130590+
ci-operator.openshift.io/variant: nightly-4.19
130591+
ci.openshift.io/generator: prowgen
130592+
ci.openshift.io/no-builds: "true"
130593+
job-release: "4.19"
130594+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
130595+
name: periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ovn-arbiter
130596+
spec:
130597+
containers:
130598+
- args:
130599+
- --gcs-upload-secret=/secrets/gcs/service-account.json
130600+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
130601+
- --lease-server-credentials-file=/etc/boskos/credentials
130602+
- --report-credentials-file=/etc/report/credentials
130603+
- --secret-dir=/secrets/ci-pull-credentials
130604+
- --target=e2e-metal-ovn-arbiter
130605+
- --variant=nightly-4.19
130606+
command:
130607+
- ci-operator
130608+
image: ci-operator:latest
130609+
imagePullPolicy: Always
130610+
name: ""
130611+
resources:
130612+
requests:
130613+
cpu: 10m
130614+
volumeMounts:
130615+
- mountPath: /etc/boskos
130616+
name: boskos
130617+
readOnly: true
130618+
- mountPath: /secrets/ci-pull-credentials
130619+
name: ci-pull-credentials
130620+
readOnly: true
130621+
- mountPath: /secrets/gcs
130622+
name: gcs-credentials
130623+
readOnly: true
130624+
- mountPath: /secrets/manifest-tool
130625+
name: manifest-tool-local-pusher
130626+
readOnly: true
130627+
- mountPath: /etc/pull-secret
130628+
name: pull-secret
130629+
readOnly: true
130630+
- mountPath: /etc/report
130631+
name: result-aggregator
130632+
readOnly: true
130633+
serviceAccountName: ci-operator
130634+
volumes:
130635+
- name: boskos
130636+
secret:
130637+
items:
130638+
- key: credentials
130639+
path: credentials
130640+
secretName: boskos-credentials
130641+
- name: ci-pull-credentials
130642+
secret:
130643+
secretName: ci-pull-credentials
130644+
- name: manifest-tool-local-pusher
130645+
secret:
130646+
secretName: manifest-tool-local-pusher
130647+
- name: pull-secret
130648+
secret:
130649+
secretName: registry-pull-credentials
130650+
- name: result-aggregator
130651+
secret:
130652+
secretName: result-aggregator
130653+
- agent: kubernetes
130654+
cluster: build05
130655+
cron: 8 0 * * *
130656+
decorate: true
130657+
decoration_config:
130658+
skip_cloning: true
130659+
extra_refs:
130660+
- base_ref: master
130661+
org: openshift
130662+
repo: release
130663+
labels:
130664+
ci-operator.openshift.io/cloud: equinix-ocp-metal
130665+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
130666+
ci-operator.openshift.io/cluster: build05
130667+
ci-operator.openshift.io/variant: nightly-4.19
130668+
ci.openshift.io/generator: prowgen
130669+
ci.openshift.io/no-builds: "true"
130670+
job-release: "4.19"
130671+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
130672+
name: periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ovn-arbiter-upgrade
130673+
spec:
130674+
containers:
130675+
- args:
130676+
- --gcs-upload-secret=/secrets/gcs/service-account.json
130677+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
130678+
- --lease-server-credentials-file=/etc/boskos/credentials
130679+
- --report-credentials-file=/etc/report/credentials
130680+
- --secret-dir=/secrets/ci-pull-credentials
130681+
- --target=e2e-metal-ovn-arbiter-upgrade
130682+
- --variant=nightly-4.19
130683+
command:
130684+
- ci-operator
130685+
image: ci-operator:latest
130686+
imagePullPolicy: Always
130687+
name: ""
130688+
resources:
130689+
requests:
130690+
cpu: 10m
130691+
volumeMounts:
130692+
- mountPath: /etc/boskos
130693+
name: boskos
130694+
readOnly: true
130695+
- mountPath: /secrets/ci-pull-credentials
130696+
name: ci-pull-credentials
130697+
readOnly: true
130698+
- mountPath: /secrets/gcs
130699+
name: gcs-credentials
130700+
readOnly: true
130701+
- mountPath: /secrets/manifest-tool
130702+
name: manifest-tool-local-pusher
130703+
readOnly: true
130704+
- mountPath: /etc/pull-secret
130705+
name: pull-secret
130706+
readOnly: true
130707+
- mountPath: /etc/report
130708+
name: result-aggregator
130709+
readOnly: true
130710+
serviceAccountName: ci-operator
130711+
volumes:
130712+
- name: boskos
130713+
secret:
130714+
items:
130715+
- key: credentials
130716+
path: credentials
130717+
secretName: boskos-credentials
130718+
- name: ci-pull-credentials
130719+
secret:
130720+
secretName: ci-pull-credentials
130721+
- name: manifest-tool-local-pusher
130722+
secret:
130723+
secretName: manifest-tool-local-pusher
130724+
- name: pull-secret
130725+
secret:
130726+
secretName: registry-pull-credentials
130727+
- name: result-aggregator
130728+
secret:
130729+
secretName: result-aggregator
130576130730
- agent: kubernetes
130577130731
cluster: build07
130578130732
cron: 0 0 * * 1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
approvers:
2+
- edge-enablement-approvers
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "baremetalds/arbiter/baremetalds-arbiter-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
workflow:
2+
as: baremetalds-arbiter
3+
steps:
4+
allow_skip_on_success: true
5+
allow_best_effort_post_steps: true
6+
cluster_profile: equinix-ocp-metal
7+
pre:
8+
- chain: baremetalds-ofcir-pre
9+
test:
10+
- chain: baremetalds-ipi-test
11+
post:
12+
- chain: baremetalds-ofcir-post
13+
env:
14+
CLUSTERTYPE: baremetal
15+
DEVSCRIPTS_CONFIG: |
16+
IP_STACK=v4
17+
NUM_MASTERS=2
18+
NUM_WORKERS=0
19+
ENABLE_ARBITER=true
20+
FEATURE_SET="TechPreviewNoUpgrade"
21+
documentation: |-
22+
This workflow executes arbiter cluster installation
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "baremetalds/arbiter/upgrade/baremetalds-arbiter-upgrade-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
workflow:
2+
as: baremetalds-arbiter-upgrade
3+
steps:
4+
pre:
5+
- chain: baremetalds-ofcir-pre
6+
test:
7+
- chain: baremetalds-ipi-test
8+
post:
9+
- chain: baremetalds-ofcir-post
10+
dependencies:
11+
OPENSHIFT_INSTALL_RELEASE_IMAGE: "release:initial"
12+
OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE: "release:latest"
13+
env:
14+
CLUSTERTYPE: baremetal
15+
DEVSCRIPTS_CONFIG: |
16+
IP_STACK=v4
17+
NUM_MASTERS=2
18+
NUM_WORKERS=0
19+
ENABLE_ARBITER=true
20+
FEATURE_SET="TechPreviewNoUpgrade"
21+
TEST_TYPE: upgrade
22+
TEST_SUITE: ""
23+
documentation: |-
24+
This workflow executes arbiter cluster installation and upgrade

0 commit comments

Comments
 (0)