summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2018-04-20 15:16:07 -0400
committerPaul Belanger <pabelanger@redhat.com>2018-04-20 16:27:13 -0400
commit04092a3f201b5053bc13968364053b0cd843573d (patch)
treef83fbc50fefae7250e3951d4b209a11d5e0a8c31
parent6d98fcf09aa7176cc8daa6d43f1cf006e33ae758 (diff)
downloadpyeclib-04092a3f201b5053bc13968364053b0cd843573d.tar.gz
Stop using slave_scripts/install-distro-packages.sh
Migrate the legacy job to start using our bindep role from zuul-jobs. This will allow openstack-infra to delete slave_scripts/install-distro-packages.sh in the future. Change-Id: I3ca7975f233ea9a564778446c9e34aea615df56f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
-rw-r--r--bindep.txt2
-rw-r--r--playbooks/legacy/libec-pyeclib-unit-centos-7/run.yaml4
-rw-r--r--playbooks/legacy/libec-pyeclib-unit/run.yaml4
3 files changed, 8 insertions, 2 deletions
diff --git a/bindep.txt b/bindep.txt
index c6c69f7..aff20c4 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -14,3 +14,5 @@ liberasurecode-dev [platform:dpkg]
liberasurecode-devel [platform:rpm !platform:centos]
python-dev [platform:dpkg]
python-devel [platform:rpm]
+zlib-devel [platform:rpm]
+zlib1g-dev [platform:dpkg]
diff --git a/playbooks/legacy/libec-pyeclib-unit-centos-7/run.yaml b/playbooks/legacy/libec-pyeclib-unit-centos-7/run.yaml
index a7e122b..0634e9e 100644
--- a/playbooks/legacy/libec-pyeclib-unit-centos-7/run.yaml
+++ b/playbooks/legacy/libec-pyeclib-unit-centos-7/run.yaml
@@ -1,5 +1,8 @@
- hosts: all
name: Autoconverted job legacy-libec-pyeclib-unit-centos-7 from old job gate-libec-pyeclib-unit-centos-7
+ roles:
+ - bindep
+
tasks:
- name: Ensure legacy workspace directory
@@ -18,7 +21,6 @@
openstack/pyeclib
# build libec
cd openstack/liberasurecode
- /usr/local/jenkins/slave_scripts/install-distro-packages.sh
./autogen.sh
./configure
make
diff --git a/playbooks/legacy/libec-pyeclib-unit/run.yaml b/playbooks/legacy/libec-pyeclib-unit/run.yaml
index f908184..e7f50e9 100644
--- a/playbooks/legacy/libec-pyeclib-unit/run.yaml
+++ b/playbooks/legacy/libec-pyeclib-unit/run.yaml
@@ -1,5 +1,8 @@
- hosts: all
name: Autoconverted job legacy-libec-pyeclib-unit from old job gate-libec-pyeclib-unit-ubuntu-xenial
+ roles:
+ - bindep
+
tasks:
- name: Ensure legacy workspace directory
@@ -18,7 +21,6 @@
openstack/pyeclib
# build libec
cd openstack/liberasurecode
- /usr/local/jenkins/slave_scripts/install-distro-packages.sh
./autogen.sh
./configure
make