2321ef35f8
In order to to speed CI build times for bifrost, we will attempt to pre-build the debian guest image that helps us identify if simple-init is in working order as compared to bifrost, since the simple-init element which users are dependent upon resides in the diskimage-builder repository. As a result of the same job being utilized, the job has been renamed appropriately. Additionally, the file upload configuration appeared to be working incorrectly and this commit updates it in an attempt to correct the issue. Change-Id: Ifde8717740f324cb3abe1266efca42bd24d634d3
83 lines
2.4 KiB
YAML
83 lines
2.4 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'
|
|
node: bare-trusty
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
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 $WORKSPACE/debian-jessie-ironic-agent \
|
|
debian ironic-agent
|
|
|
|
DIB_RELEASE="jessie" disk-image-create \
|
|
-o $WORKSPACE/debian-jessie-simple-init \
|
|
debian vm simple-init enable-serial-console
|
|
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'tarballs.openstack.org'
|
|
files:
|
|
- source: 'debian-jessie-ironic-agent.vmlinuz'
|
|
target: >
|
|
'tarballs/diskimage-builder/images/ironic-agent/debian-jessie/'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|
|
- source: 'debian-jessie-ironic-agent.initramfs'
|
|
target: >
|
|
'tarballs/diskimage-builder/images/ironic-agent/debian-jessie/'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|
|
- source: 'debian-jessie-simple-init.qcow2'
|
|
target: >
|
|
'tarballs/diskimage-builder/images/simple-init/debian-jessie/'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|
|
- console-log
|