Move to opendev

Change-Id: I6837753871efaa298704de53c9c4752d427fe5b4
This commit is contained in:
ZhongShengping 2019-04-21 13:29:08 +08:00
parent 15cf931d7e
commit b352aef9c8
2 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ set -e
proj=$1 proj=$1
user=$2 user=$2
testing=${OS_NEW_MODULE_TEST:+yes} testing=${OS_NEW_MODULE_TEST:+yes}
cookiecutter_url=https://git.openstack.org/openstack/puppet-openstack-cookiecutter cookiecutter_url=https://opendev.org/openstack/puppet-openstack-cookiecutter
if [ -z "$proj" ] || [ -z "$user" ] ; then if [ -z "$proj" ] || [ -z "$user" ] ; then
echo "usage: $0 project-name gerrit-user-id" echo "usage: $0 project-name gerrit-user-id"
@ -140,11 +140,11 @@ popd
# #
if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \ /usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
https://git.openstack.org openstack/puppet-modulesync-configs https://opendev.org x/puppet-modulesync-configs
else else
git clone https://git.openstack.org/openstack/puppet-modulesync-configs openstack/puppet-modulesync-configs git clone https://opendev.org/x/puppet-modulesync-configs x/puppet-modulesync-configs
fi fi
pushd openstack/puppet-modulesync-configs/ pushd x/puppet-modulesync-configs/
#TODO(aschultz): fixme after we unstick the gate #TODO(aschultz): fixme after we unstick the gate
# 0.8.x doesn't seem to work with out configs so we need to pin this but the # 0.8.x doesn't seem to work with out configs so we need to pin this but the
# this script is unhappy. # this script is unhappy.

View File

@ -17,7 +17,7 @@ EOF
# Build fake module # Build fake module
OS_NEW_MODULE_TEST=yes bash -x ./contrib/bootstrap.sh whazz dummy OS_NEW_MODULE_TEST=yes bash -x ./contrib/bootstrap.sh whazz dummy
cd puppet-whazz/openstack/puppet-modulesync-configs/modules/puppet-whazz cd puppet-whazz/x/puppet-modulesync-configs/modules/puppet-whazz
$GEM_HOME/bin/bundle install $GEM_HOME/bin/bundle install
} }