Merge "Add default for build diskimage image name"

This commit is contained in:
Zuul
2025-08-18 20:56:56 +00:00
committed by Gerrit Code Review
3 changed files with 5 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ Example:
{{ ensure_dib_command }}. as being set by the ensure-dib role.
.. zuul:rolevar:: build_diskimage_image_name
:default: "{{ zuul.image_build_name }}"
Name of the image to build.

View File

@@ -1,4 +1,7 @@
build_diskimage_command: "{{ ensure_dib_command }}"
# If used within a non-image-build context this variable needs to be explicitly
# defined. The role uses a 'mandatory' filter to ensure it is set
build_diskimage_image_name: "{{ zuul.image_build_name }}"
build_diskimage_formats:
- qcow2

View File

@@ -11,6 +11,7 @@
or prepare it to be uploaded to log storage.
.. zuul:jobvar:: build_diskimage_image_name
:default: "{{ zuul.image_build_name }}"
Name of the image to build.