2016-07-22 17:39:38 +02:00
|
|
|
- job:
|
|
|
|
name: pkgdeb-build-auto-backports
|
|
|
|
node: debian-jessie
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-09-22 18:35:06 +02:00
|
|
|
timeout: 120
|
2016-07-22 17:39:38 +02:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-07-22 17:39:38 +02:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash
|
2017-02-28 13:50:05 -05:00
|
|
|
BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
|
2016-07-22 17:39:38 +02:00
|
|
|
|
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
2017-02-28 13:50:05 -05:00
|
|
|
# NOTE(pabelanger): This needs to be changed, currently hardcoded.
|
2016-07-22 17:39:38 +02:00
|
|
|
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
|
2017-02-28 13:50:05 -05:00
|
|
|
sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-$BRANCH-backports
|
2016-07-22 17:39:38 +02:00
|
|
|
./check-and-build-bpo
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: pkgdeb-publish-auto-backports
|
|
|
|
node: debian-jessie
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-09-22 18:35:06 +02:00
|
|
|
timeout: 120
|
2016-07-22 17:39:38 +02:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-07-22 17:39:38 +02:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash
|
2017-02-28 13:50:05 -05:00
|
|
|
BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2)
|
2016-07-22 17:39:38 +02:00
|
|
|
|
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
2017-02-28 13:50:05 -05:00
|
|
|
# NOTE(pabelanger): This needs to be changed, currently hardcoded.
|
2016-07-22 17:39:38 +02:00
|
|
|
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
|
2017-02-28 13:50:05 -05:00
|
|
|
sudo pkgos-infra-install-sbuild --sbuild-chroot-name jessie-$BRANCH-backports
|
2016-07-22 17:39:38 +02:00
|
|
|
./check-and-build-bpo
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- deb-pkgs:
|
|
|
|
project: deb-auto-backports
|
|
|
|
- console-log
|