summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-03-07 13:04:22 -0800
committerJames E. Blair <jeblair@redhat.com>2019-03-07 13:04:22 -0800
commit3fa0c21024844d501f72dccfb14782b3c9bff79f (patch)
treeb30ea89dfdca4567188067991980ae316aa47b9c
parent9cbb8c0ac65eb33f6609c7b4390e6c9f05b612fe (diff)
Docker: use the buildset registry if defined
If the docker build jobs see that a buildset_registry is defined (i.e., they are running in a job graph where an earlier job ran a buildset registry) automatically use that registry. Change-Id: Ied7730b793a02204921a2e76f8474fcce534ac77
Notes
Notes (review): Code-Review+2: Monty Taylor <mordred@inaugust.com> Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Workflow+1: Jeremy Stanley <fungi@yuggoth.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Mar 2019 23:14:37 +0000 Reviewed-on: https://review.openstack.org/641805 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--playbooks/docker-image/pre.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/docker-image/pre.yaml b/playbooks/docker-image/pre.yaml
index 52f5b5b..3bc338d 100644
--- a/playbooks/docker-image/pre.yaml
+++ b/playbooks/docker-image/pre.yaml
@@ -1,3 +1,8 @@
1- hosts: all 1- hosts: all
2 roles: 2 roles:
3 - install-docker 3 - install-docker
4 tasks:
5 - name: Configure buildset registry
6 when: buildset_registry is defined
7 include_role:
8 name: use-buildset-registry