Monty Taylor 46b4af1836 Use pause-buildset-registry role
opendev/system-config needed this so we pulled it into a role.
Might as well use it here too.

Depends-On: https://review.opendev.org/709256
Change-Id: Ie5f038f8c0d45fb20ced34c5e133fe08476362a1
2020-02-21 17:35:01 -06:00

12 lines
332 B
YAML

- hosts: all
roles:
- build-docker-image
# If buildset_registry is defined, that means a parent job is running it;
# only if it is not defined does it mean that we are running it. If we
# are running it, pause the job so that child jobs will automatically
# use it.
- hosts: localhost
roles:
- pause-buildset-registry