Merge "CI: Build default images in experimental jobs"

This commit is contained in:
Zuul 2024-06-05 15:57:43 +00:00 committed by Gerrit Code Review
commit 6c6400f7ce
3 changed files with 24 additions and 3 deletions

View File

@ -55,6 +55,10 @@ Testing
Test the code and fix at a minimum all critical issues. Test the code and fix at a minimum all critical issues.
Remember to use the ``check experimental`` review comment on a Gerrit change to
trigger jobs in the experimental pipeline, which provide increased test
coverage.
Synchronise with Kolla Ansible feature flags Synchronise with Kolla Ansible feature flags
-------------------------------------------- --------------------------------------------

View File

@ -22,10 +22,17 @@
group: stack group: stack
remote_src: true remote_src: true
- name: Ensure base container image is built - name: Ensure seed container images are built
shell: shell:
cmd: > cmd: >
source {{ kayobe_src_dir }}/dev/environment-setup.sh && source {{ kayobe_src_dir }}/dev/environment-setup.sh &&
kayobe seed container image build ^base &> {{ logs_dir }}/ansible/container-image-build kayobe seed container image build {{ seed_container_image_regex | default('') }} &> {{ logs_dir }}/ansible/seed-container-image-build
executable: /bin/bash executable: /bin/bash
when: build_images
- name: Ensure overcloud container images are built
shell:
cmd: >
source {{ kayobe_src_dir }}/dev/environment-setup.sh &&
kayobe overcloud container image build {{ overcloud_container_image_regex | default('') }} &> {{ logs_dir }}/ansible/overcloud-container-image-build
executable: /bin/bash
when: build_images | bool

View File

@ -238,15 +238,25 @@
nodeset: kayobe-centos9s nodeset: kayobe-centos9s
voting: false voting: false
# Build only the base container image in the kayobe-seed-images-rocky9 job
# which always runs. Use `check experimental` to run the other jobs which build
# more images.
- job: - job:
name: kayobe-seed-images-rocky9 name: kayobe-seed-images-rocky9
parent: kayobe-seed-images-base parent: kayobe-seed-images-base
nodeset: kayobe-rocky9 nodeset: kayobe-rocky9
vars:
overcloud_container_image_regex: "^base"
seed_container_image_regex: "^base"
# This job builds default overcloud images but skips the build of bifrost seed
# images which are currently timing out on Ubuntu Jammy.
- job: - job:
name: kayobe-seed-images-ubuntu-jammy name: kayobe-seed-images-ubuntu-jammy
parent: kayobe-seed-images-base parent: kayobe-seed-images-base
nodeset: kayobe-ubuntu-jammy nodeset: kayobe-ubuntu-jammy
vars:
seed_container_image_regex: "^base"
- job: - job:
name: kayobe-overcloud-host-configure-base name: kayobe-overcloud-host-configure-base