Remove hardcoded reference to newton for debian-package jobs
We cannot update the APT reference just yet, as we haven't updated our
configure_mirror.sh script. We can change it in a follow up patch.
- gerrit-git-prep
- shell: |
#!/bin/bash
+ BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
set -x
set -e
+ # NOTE(pabelanger): This needs to be changed, currently hardcoded.
sudo cp /etc/apt/sources.list.available.d/debian-openstack-newton.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get install -y openstack-pkg-tools
- sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-newton-backports
+ sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-$BRANCH-backports
./check-and-build-bpo
publishers:
- gerrit-git-prep
- shell: |
#!/bin/bash
+ BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
set -x
set -e
+ # NOTE(pabelanger): This needs to be changed, currently hardcoded.
sudo cp /etc/apt/sources.list.available.d/debian-openstack-newton.list /etc/apt/sources.list.d
sudo apt-get update
sudo apt-get install -y openstack-pkg-tools
- sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-newton-backports
+ sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-$BRANCH-backports
./check-and-build-bpo
publishers:
