Skip to content

Commit 43236f1

Browse files
committed
CI: Add jobs for infra VM testing with cloud image
Change-Id: I224a187372ff948634c5a039e284c4455ee24af2 Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
1 parent 8e977fa commit 43236f1

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

playbooks/kayobe-infra-vm-base/overrides.yml.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ infra_vm_vcpus: 1
3131
# Reduce the memory footprint of the infra VM.
3232
infra_vm_memory_mb: "{{ 1 * 1024 }}"
3333

34-
# Use cirros rather than CentOS for the VM.
34+
{% if infra_vm_use_cirros | default(true) %}
35+
# Use cirros rather than distribution cloud image for the VM.
3536
infra_vm_bootstrap_user: cirros
3637
infra_vm_root_image: /opt/cache/files/cirros-0.5.3-x86_64-disk.img
38+
{% endif %}
3739

3840
# Cirros doesn't load cdom drivers by default.
3941
vm_configdrive_device: disk

zuul.d/jobs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,3 +464,26 @@
464464
name: kayobe-infra-vm-ubuntu-noble
465465
parent: kayobe-infra-vm-base
466466
nodeset: kayobe-ubuntu-noble
467+
468+
- job:
469+
name: kayobe-infra-vm-centos9s-cloud-image
470+
parent: kayobe-infra-vm-base
471+
nodeset: kayobe-centos9s
472+
voting: false
473+
vars:
474+
infra_vm_use_cirros: false
475+
476+
- job:
477+
name: kayobe-infra-vm-rocky9-cloud-image
478+
parent: kayobe-infra-vm-base
479+
nodeset: kayobe-rocky9
480+
vars:
481+
infra_vm_use_cirros: false
482+
483+
- job:
484+
name: kayobe-infra-vm-ubuntu-noble-cloud-image
485+
parent: kayobe-infra-vm-base
486+
nodeset: kayobe-ubuntu-noble
487+
voting: false
488+
vars:
489+
infra_vm_use_cirros: false

zuul.d/project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444

4545
experimental:
4646
jobs:
47+
- kayobe-infra-vm-centos9s-cloud-image
48+
- kayobe-infra-vm-rocky9-cloud-image
49+
- kayobe-infra-vm-ubuntu-noble-cloud-image
4750
- kayobe-overcloud-centos9s
4851
- kayobe-overcloud-host-configure-centos9s
4952
- kayobe-overcloud-rocky9

0 commit comments

Comments
 (0)