From 5b4539d1cc423dc94776e1d182513f1f12748f58 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Wed, 26 Jun 2019 12:51:44 +0200 Subject: [PATCH] Remove zuul-cloner usage Depends-On: https://review.opendev.org/#/c/667439/ Deepnds-On: https://review.opendev.org/#/c/667711/ Change-Id: I484ed57f7fc1af6edfa697bc582759bbf4d7bead --- functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions b/functions index 08ebf3c..750f549 100644 --- a/functions +++ b/functions @@ -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