From bdc2213a8076721199fe845650df7f25ea3229b9 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Mon, 15 May 2017 16:24:27 -0400 Subject: Refactors build script for Apex Changes Include: - Build has been refactored into python - Caching now packs into multiple unique tar files which are logged into a journal file - Multiple files and journal allow for multiple apex builds to run simultaenously while minimizing risk of collision between cache reading and writing - Build dependency packages updated and will install when missing via ansible - If more than 2 caches exist then prune the oldest cache Change-Id: Iae703253eb6034aee42bf33153bb6e434d3cec48 Signed-off-by: Tim Rozet --- lib/ansible/playbooks/build_dependencies.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/ansible/playbooks/build_dependencies.yml (limited to 'lib/ansible/playbooks') diff --git a/lib/ansible/playbooks/build_dependencies.yml b/lib/ansible/playbooks/build_dependencies.yml new file mode 100644 index 00000000..dcf2ed94 --- /dev/null +++ b/lib/ansible/playbooks/build_dependencies.yml @@ -0,0 +1,21 @@ +--- +- hosts: localhost + tasks: + - name: Add rdo-release repo + yum: + name: 'https://www.rdoproject.org/repos/rdo-release.rpm' + - name: Add dependency packages + yum: + name: python34,python34-devel,python34-jinja2, + python34-markupsafe, python2-virtualbmc, + libguestfs-tools,bsdtar,libvirt, + python2-oslo-config,python2-debtcollector, + make, python-pip, python-virtualenv + - name: Install Virtualization group + yum: + name: "@Virtualization Host" + - name: Install python ipmi from OPNFV artifacts + yum: + name: 'http://artifacts.opnfv.org/apex/dependencies/python3-ipmi-0.3.0-1.noarch.rpm' + - pip: + name: tox -- cgit 1.2.3-korg