Set default job vars for container image promote

This sets some boilerplate variables for the container image promote
jobs.  This does not change the promote method to intermediate-registry
but makes it easier to use.

Change-Id: Ia545b993d04bd3e29c474a3559804a72bedaf687
This commit is contained in:
James E. Blair 2023-04-13 12:58:01 -07:00
parent dbd7b981db
commit baae244431

View File

@ -242,6 +242,11 @@
.. include:: ../../playbooks/container-image/README.rst
run: playbooks/container-image/run.yaml
vars: &container_vars
# Set some default variables appropriate for this installation
promote_container_image_api: "https://zuul.opendev.org/api/tenant/{{ zuul.tenant }}"
promote_container_image_pipeline: gate
promote_container_image_job: opendev-upload-container-image
- job:
name: opendev-upload-container-image
@ -266,6 +271,7 @@
.. include:: ../../playbooks/container-image/README.rst
.. include:: ../../playbooks/container-image/credentials.rst
vars: *container_vars
- job:
name: opendev-buildset-registry-consumer