Have zuul-cloner install ansible-roles
For example, zuul-cloner will install ansible-role-nodepool into playbooks/roles/windmill.nodepool. This naming format is inline with how roles installed from ansible galaxy. The reason we use zuul-cloner, is it gives us the ability to gate on cross repo changes. Rather then always installing from master. Change-Id: Idd30e21ed646c44a269c3422be8f17575a12795a Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
bb1204c6ad
commit
eb102b286d
|
@ -2,3 +2,4 @@
|
|||
AUTHORS
|
||||
ChangeLog
|
||||
doc/build/
|
||||
windmill/roles
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
clonemap:
|
||||
- name: 'openstack/ansible-role-(.*)'
|
||||
dest: 'windmill/roles/windmill.\1'
|
|
@ -1 +1,2 @@
|
|||
ansible>=2.0
|
||||
zuul
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh -ex
|
||||
# Copyright 2015 Red Hat, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
zuul-cloner -m clonemap.yaml \
|
||||
--cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/ansible-role-diskimage-builder \
|
||||
openstack/ansible-role-jenkins-job-builder \
|
||||
openstack/ansible-role-nodepool \
|
||||
openstack/ansible-role-zuul
|
Loading…
Reference in New Issue