From cb4a30bdc690abed44a940fbcff4cb945631325b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 9 Aug 2013 11:30:03 -0300 Subject: Update requirements in integration test So that we don't test combinations of things that we won't see in the gate, run the same requirements sync job that devstack does. Change-Id: I0ee375b4e41aa214acf4cd3bfeb1b3a8ccb08dff --- tools/integration.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/integration.sh b/tools/integration.sh index 2bd0b6a..8f7b46f 100644 --- a/tools/integration.sh +++ b/tools/integration.sh @@ -173,6 +173,13 @@ for PROJECT in $PROJECTS ; do continue fi shortprojectdir=$projectdir/$SHORT_PROJECT + sudo chown -R $USER $REPODIR/$SHORT_PROJECT + (cd $REPODIR/requirements && python update.py $REPODIR/$SHORT_PROJECT) + pushd $REPODIR/$SHORT_PROJECT + if ! git diff --quiet ; then + git commit -a -m'Update requirements' + fi + popd git clone $REPODIR/$SHORT_PROJECT $shortprojectdir sdistvenv=$tmpdir/sdist -- cgit v1.2.1