Merge "Allow overriding the buildset registry image"

This commit is contained in:
Zuul 2024-11-21 16:52:40 +00:00 committed by Gerrit Code Review
commit 7b6b571970
3 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,11 @@ single change can share the registry.
**Role Variables**
.. zuul:rolevar:: buildset_registry_image
:default: quay.io/zuul-ci/zuul-registry:latest
Container image used to launch the buildset registry.
.. zuul:rolevar:: buildset_registry_root
:default: {{ ansible_user_dir }}/buildset_registry

View File

@ -1,3 +1,4 @@
buildset_registry_image: quay.io/zuul-ci/zuul-registry:latest
buildset_registry_root: "{{ ansible_user_dir }}/buildset_registry"
buildset_registry_port: 5000
container_command: docker

View File

@ -49,7 +49,7 @@
--publish="1{{ buildset_registry_port }}:5000"
--volume="{{ buildset_registry_root }}/tls:/tls"
--volume="{{ buildset_registry_root }}/conf:/conf"
docker.io/zuul/zuul-registry:latest zuul-registry -d
{{ buildset_registry_image }} zuul-registry -d
# Start a socat tunnel to the buildset registry to work around
# https://github.com/containers/libpod/issues/4311