944b7c62f4
Some build jobs may run for more than 30 minutes. Indeed, building something like Nova or Neutron may include unit tests, and this can take 1h30 if run on a single thread (which is currently the case). Therefore, increasing the timeout from 30 to 90 minutes. Change-Id: If6a160d94dc4a71852063a42d1bbacb82970e857
61 lines
1.3 KiB
YAML
61 lines
1.3 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:
|
|
- gerrit-git-prep
|
|
- pkgos-infra-build-pkg
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: '{name}-dpkg-{node}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 90
|
|
- timestamps
|
|
|
|
builders:
|
|
- gerrit-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
|