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.

Change-Id: I76fc0e6cf1e636373f45215f9b34ebd1d7a639a4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-02-28 13:50:05 -05:00
parent e19d46ef6c
commit 68888d49c9

View File

@ -11,14 +11,16 @@
- 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:
@ -37,14 +39,16 @@
- 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: