acf7572d10
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our slaves and has the advantage of using zuul-cloner so that the local cache is used and Depends-On works. Remove gerrit-git-prep and use zuul-git-prep instead everywhere. Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
- job:
|
|
name: pkgdeb-build-auto-backports
|
|
node: debian-jessie
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 120
|
|
- timestamps
|
|
|
|
builders:
|
|
- zuul-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-$BRANCH-backports
|
|
./check-and-build-bpo
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: pkgdeb-publish-auto-backports
|
|
node: debian-jessie
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 120
|
|
- timestamps
|
|
|
|
builders:
|
|
- zuul-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-$BRANCH-backports
|
|
./check-and-build-bpo
|
|
|
|
publishers:
|
|
- deb-pkgs:
|
|
project: deb-auto-backports
|
|
- console-log
|