Test pyeclib against libec master

Currently pyeclib tests against the packaged version
of liberasurecode. This jenkins job adds the ability to
build libec master and run the pyeclib tests.

Change-Id: If73416334bb5a54e237dc6fe74f612053ea2046d
Signed-off-by: Thiago da Silva <thiago@redhat.com>
This commit is contained in:
Thiago da Silva 2017-03-24 14:29:27 -04:00
parent 7754804ccf
commit cb523c5e5c
3 changed files with 33 additions and 0 deletions

View File

@ -15,3 +15,29 @@
publishers:
- console-log
- job-template:
name: '{pipeline}-libec-pyeclib-unit-{node}'
node: '{node}'
builders:
- shell: |
#!/bin/bash -xe
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/liberasurecode
openstack/pyeclib
# build libec
cd openstack/liberasurecode
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
./autogen.sh
./configure
make
sudo make install
# test pyeclib
cd $WORKSPACE/openstack/pyeclib
tox -e py27
publishers:
- console-log

View File

@ -12166,6 +12166,11 @@
- 'gate-{name}-tox-{envlist}-{node}':
envlist: py27
node: centos-7
- '{pipeline}-libec-pyeclib-unit-{node}':
pipeline: gate
node:
- centos-7
- ubuntu-xenial
- project:
name: pyghmi

View File

@ -15848,6 +15848,8 @@ projects:
experimental:
- gate-pyeclib-python35
- gate-pyeclib-tox-py27-centos-7
- gate-libec-pyeclib-unit-centos-7
- gate-libec-pyeclib-unit-ubuntu-xenial
- name: openstack/pyghmi
template: