Add OpenStack Infra internal repositories to APT source lists

Distribution: jessie-newton

pkgdeb-build-pkg Jenkins job fails [1] because of an old (22)
openstack-pkg-tools package version which is used during installation
and does not contain required pkgos-infra-install-sbuild binary.

[1] http://logs.openstack.org/35/348435/1/check/pkgdeb-build-pkg/
    e55e9dc/console.html

Change-Id: Ia4811a006225031a83b8258c15c36c82bf8fe54b
This commit is contained in:
Ivan Udovichenko 2016-08-02 16:45:50 +03:00
parent cdfb53d4f1
commit 8a18f08fc9

View File

@ -12,6 +12,10 @@
- shell: | - shell: |
#!/bin/bash -xe #!/bin/bash -xe
# Add OpenStack Infra internal repositories to APT source lists
sudo ln -s \
/etc/apt/sources.list.available.d/debian-openstack-newton.list \
/etc/apt/sources.list.d/debian-openstack-newton.list
# Install the build env... # Install the build env...
sudo apt-get update sudo apt-get update
sudo apt-get install -y openstack-pkg-tools sudo apt-get install -y openstack-pkg-tools
@ -34,11 +38,12 @@
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
#!/bin/bash #!/bin/bash -xe
set -x
set -e
# Add OpenStack Infra internal repositories to APT source lists
sudo ln -s \
/etc/apt/sources.list.available.d/debian-openstack-newton.list \
/etc/apt/sources.list.d/debian-openstack-newton.list
# Install the build env... # Install the build env...
sudo apt-get update sudo apt-get update
sudo apt-get install -y openstack-pkg-tools sudo apt-get install -y openstack-pkg-tools