- job-template: name: 'gate-dib-dsvm-functests-{node}{job-suffix}' 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 virtualenv env ./env/bin/pip install $(pwd)/openstack/dib-utils ./env/bin/pip install $(pwd)/openstack/diskimage-builder ./openstack/diskimage-builder/tests/install_test_deps.sh # activate the virtualenv so that any tools run by dib run # using the python inside it set +u source ./env/bin/activate set -u ./openstack/diskimage-builder/tests/run_functests.sh {tests} set +u deactivate set -u publishers: - console-log - job: name: 'dib-buildimage-debian-ironic' node: ubuntu-trusty wrappers: - build-timeout: timeout: 60 - timestamps builders: - link-logs - net-info - install-distro-packages - 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