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:
parent
e19d46ef6c
commit
68888d49c9
@ -11,14 +11,16 @@
|
|||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -e
|
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 cp /etc/apt/sources.list.available.d/debian-openstack-newton.list /etc/apt/sources.list.d
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y openstack-pkg-tools
|
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
|
./check-and-build-bpo
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
@ -37,14 +39,16 @@
|
|||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -e
|
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 cp /etc/apt/sources.list.available.d/debian-openstack-newton.list /etc/apt/sources.list.d
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y openstack-pkg-tools
|
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
|
./check-and-build-bpo
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
|
Loading…
Reference in New Issue
Block a user