From 72695310c1db63c72d194a3c854123fd1fca465d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 2 Aug 2012 13:52:03 -0700 Subject: [PATCH] Use the workspace cache. The update vm job was caching git repos, but the gate job wasn't using them. Change-Id: I20d6bed6724ef131109fe3ccfe2b11e34edc8a96 --- devstack-vm-gate-wrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index f7c4fedd..a56200f7 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -60,6 +60,12 @@ function setup_workspace { sudo chown -R jenkins:jenkins $DEST cd $DEST + # The vm template update job should cache the git repos + # Move them to where we expect: + if ls ~/workspace-cache/*; then + mv ~/workspace-cache/* $DEST + fi + ORIGINAL_GERRIT_PROJECT=$GERRIT_PROJECT ORIGINAL_GERRIT_BRANCH=$GERRIT_BRANCH