Skip to content

Commit 157f3a4

Browse files
committed
feat: add arbiter workflows and lanes
added a no capabilities workflow and lane for the arbiter jobs added a workflow for agent based installs but no lane yet as the core code has not been merged in yet Signed-off-by: ehila <[email protected]>
1 parent 6bda906 commit 157f3a4

9 files changed

+226
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,11 @@ tests:
445445
steps:
446446
cluster_profile: equinix-edge-enablement
447447
workflow: baremetalds-two-node-arbiter
448+
- as: e2e-metal-ovn-two-node-arbiter-no-capabilities
449+
cron: '@daily'
450+
steps:
451+
cluster_profile: equinix-edge-enablement
452+
workflow: baremetalds-two-node-arbiter-no-capabilities
448453
- as: e2e-metal-ovn-two-node-arbiter-upgrade
449454
cluster: build05
450455
cron: '@daily'

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ tests:
449449
steps:
450450
cluster_profile: equinix-edge-enablement
451451
workflow: baremetalds-two-node-arbiter
452+
- as: e2e-metal-ovn-two-node-arbiter-no-capabilities
453+
cron: '@daily'
454+
steps:
455+
cluster_profile: equinix-edge-enablement
456+
workflow: baremetalds-two-node-arbiter-no-capabilities
452457
- as: e2e-metal-ovn-two-node-arbiter-upgrade
453458
cluster: build05
454459
cron: '@daily'

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

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136607,6 +136607,82 @@ periodics:
136607136607
- name: result-aggregator
136608136608
secret:
136609136609
secretName: result-aggregator
136610+
- agent: kubernetes
136611+
cluster: build11
136612+
cron: 56 0 * * *
136613+
decorate: true
136614+
decoration_config:
136615+
skip_cloning: true
136616+
extra_refs:
136617+
- base_ref: master
136618+
org: openshift
136619+
repo: release
136620+
labels:
136621+
ci-operator.openshift.io/cloud: equinix-edge-enablement
136622+
ci-operator.openshift.io/cloud-cluster-profile: equinix-edge-enablement
136623+
ci-operator.openshift.io/variant: nightly-4.19
136624+
ci.openshift.io/generator: prowgen
136625+
ci.openshift.io/no-builds: "true"
136626+
job-release: "4.19"
136627+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
136628+
name: periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ovn-two-node-arbiter-no-capabilities
136629+
spec:
136630+
containers:
136631+
- args:
136632+
- --gcs-upload-secret=/secrets/gcs/service-account.json
136633+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
136634+
- --lease-server-credentials-file=/etc/boskos/credentials
136635+
- --report-credentials-file=/etc/report/credentials
136636+
- --secret-dir=/secrets/ci-pull-credentials
136637+
- --target=e2e-metal-ovn-two-node-arbiter-no-capabilities
136638+
- --variant=nightly-4.19
136639+
command:
136640+
- ci-operator
136641+
image: ci-operator:latest
136642+
imagePullPolicy: Always
136643+
name: ""
136644+
resources:
136645+
requests:
136646+
cpu: 10m
136647+
volumeMounts:
136648+
- mountPath: /etc/boskos
136649+
name: boskos
136650+
readOnly: true
136651+
- mountPath: /secrets/ci-pull-credentials
136652+
name: ci-pull-credentials
136653+
readOnly: true
136654+
- mountPath: /secrets/gcs
136655+
name: gcs-credentials
136656+
readOnly: true
136657+
- mountPath: /secrets/manifest-tool
136658+
name: manifest-tool-local-pusher
136659+
readOnly: true
136660+
- mountPath: /etc/pull-secret
136661+
name: pull-secret
136662+
readOnly: true
136663+
- mountPath: /etc/report
136664+
name: result-aggregator
136665+
readOnly: true
136666+
serviceAccountName: ci-operator
136667+
volumes:
136668+
- name: boskos
136669+
secret:
136670+
items:
136671+
- key: credentials
136672+
path: credentials
136673+
secretName: boskos-credentials
136674+
- name: ci-pull-credentials
136675+
secret:
136676+
secretName: ci-pull-credentials
136677+
- name: manifest-tool-local-pusher
136678+
secret:
136679+
secretName: manifest-tool-local-pusher
136680+
- name: pull-secret
136681+
secret:
136682+
secretName: registry-pull-credentials
136683+
- name: result-aggregator
136684+
secret:
136685+
secretName: result-aggregator
136610136686
- agent: kubernetes
136611136687
cluster: build05
136612136688
cron: 0 2 * * 1
@@ -151682,6 +151758,82 @@ periodics:
151682151758
- name: result-aggregator
151683151759
secret:
151684151760
secretName: result-aggregator
151761+
- agent: kubernetes
151762+
cluster: build11
151763+
cron: 44 0 * * *
151764+
decorate: true
151765+
decoration_config:
151766+
skip_cloning: true
151767+
extra_refs:
151768+
- base_ref: master
151769+
org: openshift
151770+
repo: release
151771+
labels:
151772+
ci-operator.openshift.io/cloud: equinix-edge-enablement
151773+
ci-operator.openshift.io/cloud-cluster-profile: equinix-edge-enablement
151774+
ci-operator.openshift.io/variant: nightly-4.20
151775+
ci.openshift.io/generator: prowgen
151776+
ci.openshift.io/no-builds: "true"
151777+
job-release: "4.20"
151778+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
151779+
name: periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-arbiter-no-capabilities
151780+
spec:
151781+
containers:
151782+
- args:
151783+
- --gcs-upload-secret=/secrets/gcs/service-account.json
151784+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
151785+
- --lease-server-credentials-file=/etc/boskos/credentials
151786+
- --report-credentials-file=/etc/report/credentials
151787+
- --secret-dir=/secrets/ci-pull-credentials
151788+
- --target=e2e-metal-ovn-two-node-arbiter-no-capabilities
151789+
- --variant=nightly-4.20
151790+
command:
151791+
- ci-operator
151792+
image: ci-operator:latest
151793+
imagePullPolicy: Always
151794+
name: ""
151795+
resources:
151796+
requests:
151797+
cpu: 10m
151798+
volumeMounts:
151799+
- mountPath: /etc/boskos
151800+
name: boskos
151801+
readOnly: true
151802+
- mountPath: /secrets/ci-pull-credentials
151803+
name: ci-pull-credentials
151804+
readOnly: true
151805+
- mountPath: /secrets/gcs
151806+
name: gcs-credentials
151807+
readOnly: true
151808+
- mountPath: /secrets/manifest-tool
151809+
name: manifest-tool-local-pusher
151810+
readOnly: true
151811+
- mountPath: /etc/pull-secret
151812+
name: pull-secret
151813+
readOnly: true
151814+
- mountPath: /etc/report
151815+
name: result-aggregator
151816+
readOnly: true
151817+
serviceAccountName: ci-operator
151818+
volumes:
151819+
- name: boskos
151820+
secret:
151821+
items:
151822+
- key: credentials
151823+
path: credentials
151824+
secretName: boskos-credentials
151825+
- name: ci-pull-credentials
151826+
secret:
151827+
secretName: ci-pull-credentials
151828+
- name: manifest-tool-local-pusher
151829+
secret:
151830+
secretName: manifest-tool-local-pusher
151831+
- name: pull-secret
151832+
secret:
151833+
secretName: registry-pull-credentials
151834+
- name: result-aggregator
151835+
secret:
151836+
secretName: result-aggregator
151685151837
- agent: kubernetes
151686151838
cluster: build05
151687151839
cron: 0 2 * * 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "baremetalds/two-node/arbiter/agent/baremetalds-two-node-arbiter-agent-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
workflow:
2+
as: baremetalds-two-node-arbiter-agent
3+
steps:
4+
allow_skip_on_success: true
5+
allow_best_effort_post_steps: true
6+
cluster_profile: equinix-edge-enablement
7+
pre:
8+
- chain: baremetalds-ipi-pre
9+
test:
10+
- chain: baremetalds-ipi-test
11+
post:
12+
- chain: baremetalds-ipi-post
13+
env:
14+
PACKET_OS: rocky_9
15+
DEVSCRIPTS_CONFIG: |
16+
AGENT_E2E_TEST_SCENARIO="TNA_IPV4"
17+
FEATURE_SET="TechPreviewNoUpgrade"
18+
documentation: |-
19+
This workflow executes a Two Node OpenShift with Arbiter (TNA) cluster installation through agent based installer
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"path": "baremetalds/two-node/arbiter/no-capabilities/baremetalds-two-node-arbiter-no-capabilities-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"edge-enablement-approvers"
6+
]
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
workflow:
2+
as: baremetalds-two-node-arbiter-no-capabilities
3+
steps:
4+
allow_skip_on_success: true
5+
allow_best_effort_post_steps: true
6+
cluster_profile: equinix-edge-enablement
7+
pre:
8+
- chain: baremetalds-ipi-pre
9+
test:
10+
- chain: baremetalds-ipi-test
11+
post:
12+
- chain: baremetalds-ipi-post
13+
env:
14+
PACKET_OS: rocky_9
15+
DEVSCRIPTS_CONFIG: |
16+
IP_STACK=v4
17+
NUM_MASTERS=2
18+
MASTER_MEMORY=32768
19+
NUM_ARBITERS=1
20+
ARBITER_MEMORY=16384
21+
NUM_WORKERS=0
22+
ENABLE_ARBITER=true
23+
BASELINE_CAPABILITY_SET="None"
24+
ADDITIONAL_CAPABILITIES="baremetal,MachineAPI,Ingress,CloudCredential,CloudControllerManager"
25+
FEATURE_SET="TechPreviewNoUpgrade"
26+
documentation: |-
27+
This workflow executes a Two Node OpenShift with Arbiter (TNA) cluster installation with no capabilities

0 commit comments

Comments
 (0)