project-config/jenkins/jobs/deb-build-pkg.yaml
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
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
2017-04-03 19:36:51 +02:00

59 lines
1.2 KiB
YAML

- builder:
name: pkgos-infra-build-pkg
builders:
- shell: |
#!/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...
sudo apt-get update
sudo apt-get install -y openstack-pkg-tools
sudo pkgos-infra-install-sbuild
# ...and build
pkgos-infra-build-pkg
- job-template:
name: 'gate-{name}-dpkg-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- zuul-git-prep
- pkgos-infra-build-pkg
publishers:
- console-log
- job-template:
name: '{name}-dpkg-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- zuul-git-prep
- pkgos-infra-build-pkg
publishers:
- deb-pkgs:
project: '{name}'
- console-log
- job-group:
name: 'debian-pkg-build'
jobs:
- 'gate-{name}-dpkg-{node}':
node: debian-jessie
- '{name}-dpkg-{node}':
node: debian-jessie