70a6e96549
The repo name was accidently put into the diskimage-builder post-build job by accident instead of the actual script name inside of the repository. Corrected, which should result in the build job working as intended. Change-Id: Ic5cd96ba3290339be3abfa69887d4248d9c988d7
66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
- job-template:
|
|
name: 'gate-dib-dsvm-functests-{node}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
builders:
|
|
- 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
|
|
./openstack/diskimage-builder/tests/run_functests.sh
|
|
|
|
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" disk-image-create \
|
|
-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
|