Use pip install of dib for testing
Rather than running from the checkout of the source tree, we should also be testing the install/distribution part of the package by pip installing. This sets up some experimental jobs to make sure this works, with the idea of converting the main jobs when it does. Change-Id: I161f58d19e57cdc985d49d8490f57cae2a441732
This commit is contained in:
parent
26f5a078bb
commit
e5f0619b25
@ -80,3 +80,35 @@
|
||||
keep-hierarchy: false
|
||||
copy-after-failure: false
|
||||
- console-log
|
||||
|
||||
# this is temporary and should replace the other job when it is
|
||||
# working.
|
||||
- job-template:
|
||||
name: 'gate-dib-dsvm-functests-{node}-pip'
|
||||
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
|
||||
./openstack/diskimage-builder/tests/run_functests.sh
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
@ -1200,6 +1200,10 @@
|
||||
node: devstack-trusty
|
||||
job-suffix: '-dib'
|
||||
branch-override: default
|
||||
- gate-dib-dsvm-functests-{node}-pip:
|
||||
node: devstack-trusty
|
||||
- gate-dib-dsvm-functests-{node}-pip:
|
||||
node: devstack-centos7
|
||||
|
||||
- project:
|
||||
name: distil
|
||||
|
@ -4731,6 +4731,9 @@ projects:
|
||||
post:
|
||||
- dib-utils-branch-tarball
|
||||
- dib-buildimage-debian-ironic
|
||||
experimental:
|
||||
- gate-dib-dsvm-functests-devstack-trusty-pip
|
||||
- gate-dib-dsvm-functests-devstack-centos7-pip
|
||||
|
||||
- name: openstack/diskimage-builder
|
||||
template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user