033570b572
Ensure we have the virtualenv package as it is used by the wheel build script. Change-Id: I05b8a23d2e3e6babab082d656fc0859b5d631ba4
22 lines
458 B
YAML
22 lines
458 B
YAML
- name: Ensure virtualenv dependency
|
|
include_role:
|
|
name: ensure-virtualenv
|
|
|
|
- name: Ensure wheel dir exists
|
|
file:
|
|
group: zuul
|
|
owner: zuul
|
|
path: "{{ wheel_dir }}"
|
|
state: directory
|
|
become: yes
|
|
|
|
- name: Prevent using existing wheel mirror
|
|
become: yes
|
|
lineinfile:
|
|
path: /etc/pip.conf
|
|
state: absent
|
|
regexp: '^extra-index-url.*$'
|
|
|
|
- name: Build the wheel mirror
|
|
script: wheel-build.sh {{ wheel_dir }} {{ wheel_python }}
|