From 08f40aa7bd9a3109526a34f1143430e1f23508f3 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 13 Apr 2018 15:00:30 -0400 Subject: [PATCH] Stop using pre-compiled wheels We actually want to ensure users are able to use our roles outside of openstack-infra. Since those users won't have wheel mirrors, disable our jobs from using them too. Change-Id: I0a3c44c81aff497bc1678b68fc7b1374f233901b Signed-off-by: Paul Belanger --- .zuul.yaml | 1 + tests/playbooks/pre.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/playbooks/pre.yaml diff --git a/.zuul.yaml b/.zuul.yaml index 50834cd..b24340e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,5 +1,6 @@ - job: name: ansible-role-nodepool-base + pre-run: tests/playbooks/pre.yaml run: tests/playbooks/run.yaml post-run: tests/collect-logs.yaml roles: diff --git a/tests/playbooks/pre.yaml b/tests/playbooks/pre.yaml new file mode 100644 index 0000000..d5aa7f3 --- /dev/null +++ b/tests/playbooks/pre.yaml @@ -0,0 +1,9 @@ +- hosts: all + tasks: + - name: Disable extra wheels mirror + become: yes + lineinfile: + dest: /etc/pip.conf + regexp: ^extra-index-url + state: absent +