c937f97595
We forgot to make this dir as sudo so we fail with permission denied. Change-Id: Ifbeb5eea8ed72194d86b3bc3b693f7d1c9b592de
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
- 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
|
|
|
|
# We do things that might exceed the default 2GiB tmpfs, and
|
|
# use the larger mounted space.
|
|
sudo mkdir /opt/dib_cache
|
|
sudo chown jenkins:jenkins /opt/dib_cache
|
|
export DIB_NO_TMPFS=1
|
|
export TMPDIR=/opt/dib_cache
|
|
|
|
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
|