Build a Debian IPA image when DIB changes merge
In order to to speed CI build times for bifrost, we will attempt to pre-build the IPA image when changes have been committed to diskimage-builder, as the ironic-agent build element is with-in the diskimage-builder repository. Change-Id: If9363bff535f9d1fc9692767ac9194923030cfe7
This commit is contained in:
parent
1a93375674
commit
15b6ae0bb8
|
@ -25,3 +25,41 @@
|
|||
|
||||
publishers:
|
||||
- console-log
|
||||
- job:
|
||||
name: 'dib-buildimage-debian-ironic-agent'
|
||||
node: 'bare-trusty'
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- shell: |
|
||||
#!/bin/bash -eux
|
||||
cd ~
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/diskimage-builder \
|
||||
openstack/dib-utils
|
||||
|
||||
export PATH=$PATH:$(pwd)/openstack/dib-utils/bin
|
||||
export PATH=$PATH:$(pwd)/openstack/diskimage-builder/bin
|
||||
|
||||
./openstack/diskimage-builder/tests/install_test_deps.sh
|
||||
|
||||
DIB_RELEASE="jessie" diskimage-builder \
|
||||
-o ~/debian-jessie-ironic-agent \
|
||||
debian ironic-agent
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
site: 'tarballs.openstack.org'
|
||||
files:
|
||||
- source: 'debian-jessie-ironic-agent.vmlinuz'
|
||||
target: 'images/ironic-agent/debian-jessie/'
|
||||
keep-hierarchy: false
|
||||
copy-after-failure: false
|
||||
- source: 'debian-jessie-ironic-agent.initramfs'
|
||||
target: 'images/ironic-agent/debian-jessie/debian-jessie-ironic-agent.initramfs'
|
||||
keep-hierarchy: false
|
||||
copy-after-failure: false
|
||||
- console-log
|
||||
|
|
|
@ -4451,6 +4451,7 @@ projects:
|
|||
- gate-tempest-dsvm-ironic-pxe_ssh-dib
|
||||
post:
|
||||
- dib-utils-branch-tarball
|
||||
- dib-buildimage-debian-ironic-agent
|
||||
|
||||
- name: openstack/diskimage-builder
|
||||
template:
|
||||
|
@ -4472,6 +4473,8 @@ projects:
|
|||
- gate-dib-dsvm-functests-devstack-centos7
|
||||
- gate-dib-dsvm-functests-devstack-f21
|
||||
- gate-tempest-dsvm-ironic-pxe_ssh-dib
|
||||
post:
|
||||
- dib-buildimage-debian-ironic-agent
|
||||
|
||||
- name: openstack/distil
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue