Remove zuul-cloner usage

Depends-On: https://review.opendev.org/#/c/667439/
Deepnds-On: https://review.opendev.org/#/c/667711/
Change-Id: I484ed57f7fc1af6edfa697bc582759bbf4d7bead
This commit is contained in:
Tobias Urdin 2019-06-26 12:51:44 +02:00
parent f1c8b01b41
commit 5b4539d1cc
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
#
install_module() {
if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
https://git.openstack.org openstack/puppet-openstack-cookiecutter
if [ -d /home/zuul/src/opendev.org/openstack/puppet-openstack-cookiecutter ]; then
[ ! -d openstack ] && mkdir openstack
cp -R /home/zuul/src/opendev.org/openstack/puppet-openstack-cookiecutter openstack/puppet-openstack-cookiecutter
else
git clone https://git.openstack.org/openstack/puppet-openstack-cookiecutter openstack/puppet-openstack-cookiecutter
fi