Skip to content

Instantly share code, notes, and snippets.

Created March 16, 2016 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8b5b3dc5ec42fce7a31e to your computer and use it in GitHub Desktop.
Save anonymous/8b5b3dc5ec42fce7a31e to your computer and use it in GitHub Desktop.
stdin
diff --git a/jenkins/jobs/diskimage-builder.yaml b/jenkins/jobs/diskimage-builder.yaml
index 211245f..4bffe1e 100644
--- a/jenkins/jobs/diskimage-builder.yaml
+++ b/jenkins/jobs/diskimage-builder.yaml
@@ -25,6 +25,33 @@
publishers:
- console-log
+- job-template:
+ name: 'gate-dib-dsvm-functests-devstack-{node}-nv'
+ node: 'devstack-{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 {node}/build-succeeds
+
+ publishers:
+ - console-log
- job:
name: 'dib-buildimage-debian-ironic'
node: ubuntu-trusty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment