summaryrefslogtreecommitdiff
path: root/playbooks/legacy/libec-pyeclib-unit/run.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/legacy/libec-pyeclib-unit/run.yaml')
-rw-r--r--playbooks/legacy/libec-pyeclib-unit/run.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/playbooks/legacy/libec-pyeclib-unit/run.yaml b/playbooks/legacy/libec-pyeclib-unit/run.yaml
new file mode 100644
index 0000000..f908184
--- /dev/null
+++ b/playbooks/legacy/libec-pyeclib-unit/run.yaml
@@ -0,0 +1,33 @@
+- hosts: all
+ name: Autoconverted job legacy-libec-pyeclib-unit from old job gate-libec-pyeclib-unit-ubuntu-xenial
+ tasks:
+
+ - name: Ensure legacy workspace directory
+ file:
+ path: '{{ ansible_user_dir }}/workspace'
+ state: directory
+
+ - shell:
+ cmd: |
+ set -e
+ set -x
+ 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
+ sudo bash -c "echo /usr/local/lib >> /etc/ld.so.conf"
+ sudo ldconfig
+ # test pyeclib
+ cd $WORKSPACE/openstack/pyeclib
+ tox -e py27
+ executable: /bin/bash
+ chdir: '{{ ansible_user_dir }}/workspace'
+ environment: '{{ zuul | zuul_legacy_vars }}'