do not commit requirements syncs
We need to test without committing the requirements changes because pbr throws an error if the pre and post versioning do not match. The first change on a stable branch must be the one to remove the pre-versioning configuration. Change-Id: I812af614b7a6c7f499c67310f078ac4835b9e91a
This commit is contained in:
parent
0ff220fc85
commit
cd88f6c3f6
@ -104,18 +104,10 @@ for PROJECT in $PROJECTS ; do
|
||||
fi
|
||||
fi
|
||||
|
||||
# set up the project synced with the global requirements
|
||||
sudo chown -R $USER $REPODIR/$SHORT_PROJECT
|
||||
$UPDATE --source $REPODIR/requirements $REPODIR/$SHORT_PROJECT
|
||||
pushd $REPODIR/$SHORT_PROJECT
|
||||
if ! git diff --exit-code > /dev/null; then
|
||||
git commit -a -m'Update requirements'
|
||||
fi
|
||||
popd
|
||||
|
||||
# Clone from synced repo
|
||||
shortprojectdir=$projectdir/$SHORT_PROJECT
|
||||
git clone $REPODIR/$SHORT_PROJECT $shortprojectdir
|
||||
$UPDATE --source $REPODIR/requirements $shortprojectdir
|
||||
|
||||
# Test python setup.py install
|
||||
installvenv=$tmpdir/install
|
||||
@ -123,6 +115,7 @@ for PROJECT in $PROJECTS ; do
|
||||
|
||||
installprojectdir=$projectdir/install$SHORT_PROJECT
|
||||
git clone $shortprojectdir $installprojectdir
|
||||
$UPDATE --source $REPODIR/requirements $installprojectdir
|
||||
cd $installprojectdir
|
||||
$installvenv/bin/python setup.py install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user