Skip to content

Commit 9ecca9e

Browse files
slagleevallesp
authored andcommitted
Add cifmw-crc-edpm-podified-baremetal-bootc job
The job uses bootc as the base OS for the edpm baremetal compute node. Adds a new podified-multinode-edpm-baremetal-bootc-pipeline which will run the new job. Depends-On: openstack-k8s-operators/install_yamls#1091 Signed-off-by: James Slagle <[email protected]>
1 parent 027944b commit 9ecca9e

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

roles/edpm_deploy_baremetal/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ cifmw_edpm_deploy_baremetal_update_os_containers: false
2929
cifmw_edpm_deploy_baremetal_repo_setup_override: false
3030
cifmw_edpm_deploy_baremetal_create_vms: true
3131
cifmw_edpm_deploy_baremetal_nova_compute_extra_config: ""
32+
cifmw_edpm_deploy_baremetal_bootc: false

roles/edpm_deploy_baremetal/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,11 @@
132132
value: ["{{ content_provider_registry_ip }}:5001"]
133133
{% endif %}
134134
135+
{% if not cifmw_edpm_deploy_baremetal_bootc %}
135136
- op: add
136137
path: /spec/nodeTemplate/ansible/ansibleVars/edpm_bootstrap_command
137138
value: sudo dnf -y update
139+
{% endif %}
138140
kustomizations_paths: >-
139141
{{
140142
[

zuul.d/edpm.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@
2121
cifmw_manage_secrets_pullsecret_content: '{}'
2222
cifmw_rhol_crc_binary_folder: "/usr/local/bin"
2323

24+
# Virtual Baremetal job with CRC and single bootc compute node.
25+
- job:
26+
name: cifmw-crc-podified-edpm-baremetal-bootc
27+
nodeset: centos-9-crc-2-48-0-6xlarge
28+
parent: cifmw-base-crc-openstack
29+
run: ci/playbooks/edpm_baremetal_deployment/run.yml
30+
vars:
31+
crc_parameters: "--memory 32000 --disk-size 240 --cpus 12"
32+
cifmw_manage_secrets_pullsecret_content: '{}'
33+
cifmw_rhol_crc_binary_folder: "/usr/local/bin"
34+
cifmw_install_yamls_vars:
35+
BAREMETAL_OS_CONTAINER_IMG: quay.io/openstack-k8s-operators/edpm-bootc:latest-qcow2
36+
BAREMETAL_OS_IMG: edpm-bootc.qcow2
37+
cifmw_edpm_deploy_baremetal_bootc: true
38+
2439
# Podified galera job
2540
- job:
2641
name: cifmw-crc-podified-galera-deployment

zuul.d/project-templates.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@
1414
- cifmw-crc-podified-edpm-baremetal: *content_provider
1515
- cifmw-pod-zuul-files
1616

17+
- project-template:
18+
name: podified-multinode-edpm-baremetal-bootc-pipeline
19+
description: |
20+
Project template to run content provider with EDPM with bootc and
21+
baremetal job.
22+
github-check:
23+
jobs:
24+
- cifmw-crc-podified-edpm-baremetal-bootc: *content_provider
25+
1726
- project-template:
1827
name: podified-multinode-edpm-pipeline
1928
description: |

0 commit comments

Comments
 (0)