Improve tripleo nodepool image build efficiency.
Turns out there is a cache of git trees built. We can use that to avoid some clones. There are more that can be saved - this is the low hanging fruit (with a bug files and linked for the harder stuff). Change-Id: Ib720db7b963a314ad28ef4287d7965c5c30f0883
This commit is contained in:
parent
22f2a8218c
commit
e6dc5821f5
@ -18,7 +18,7 @@
|
||||
export DEVSTACK_GATE_EXERCISES=0
|
||||
export GEARDSERVER=138.35.77.19
|
||||
function gate_hook {
|
||||
bash -xe /home/jenkins/tripleo/tripleo-ci/toci_gate_test.sh
|
||||
bash -xe /opt/git/openstack-infra/tripleo-ci/toci_gate_test.sh
|
||||
}
|
||||
export -f gate_hook
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
|
@ -35,9 +35,9 @@ mkdir -p ~/tripleo
|
||||
export TRIPLEO_ROOT=~/tripleo
|
||||
|
||||
cd ~/tripleo
|
||||
git clone https://review.openstack.org/p/openstack-infra/tripleo-ci
|
||||
git clone https://review.openstack.org/p/openstack/tripleo-incubator
|
||||
bash tripleo-incubator/scripts/pull-tools
|
||||
# XXX: Note that this is redundant with the cached copies in /opt/git.
|
||||
# see https://bugs.launchpad.net/openstack-ci/+bug/1269889
|
||||
bash /opt/git/openstack/tripleo-incubator/scripts/pull-tools
|
||||
# Instead of running pull-tools, we'll eventually want to get the
|
||||
# refresh-env script working:
|
||||
# source tripleo-incubator/scripts/refresh-env ~/tripleo
|
||||
|
Loading…
x
Reference in New Issue
Block a user