Merge "Append branch to reprepro codename"

This commit is contained in:
Jenkins 2016-07-13 20:27:03 +00:00 committed by Gerrit Code Review
commit 7f5d5af617
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
#!/bin/bash -xe
AFS_DIR=/afs/.openstack.org/mirror/deb-openstack
BRANCH=$(echo $ZUUL_BRANCH | cut -d/ -f2)
PACKAGE_DIR=$WORKSPACE/packages
PROJECT=$(echo $ZUUL_PROJECT | cut -d/ -f2)
URL=http://tarballs.openstack.org/packaging-deb/$PROJECT/uploads/$ZUUL_COMMIT
@ -30,14 +31,14 @@
# Get an afs token and import the packages to reprepro
echo "Obtaining token and importing packages to reprepro"
$REPREPRO include {codename} $PACKAGE_DIR/*.changes
$REPREPRO include {codename}-$BRANCH $PACKAGE_DIR/*.changes
echo "Checking state of mirror"
$REPREPRO checkpool fast
$REPREPRO check
echo "List all packages"
$REPREPRO list {codename}
$REPREPRO list {codename}-$BRANCH
echo "Done."