Repare the CI job
Change-Id: Ife00823256d5b491380b755cbc3517cf5ef1172a
This commit is contained in:
parent
9be7472236
commit
f69b81320b
@ -4,17 +4,20 @@
|
|||||||
- run-devstack
|
- run-devstack
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- set_fact:
|
||||||
|
metalsmith_src_dir: '{{ ansible_user_dir }}/src/git.openstack.org/openstack'
|
||||||
|
|
||||||
- name: Install requirements for metalsmith
|
- name: Install requirements for metalsmith
|
||||||
pip:
|
pip:
|
||||||
name: -r /opt/stack/metalsmith/requirements.txt
|
requirements: "{{ metalsmith_src_dir }}/metalsmith/requirements.txt"
|
||||||
extra_args: -c /opt/stack/requirements/upper-constraints.txt
|
extra_args: -c {{ metalsmith_src_dir }}/requirements/upper-constraints.txt
|
||||||
become: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
|
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
|
||||||
|
|
||||||
- name: Install metalsmith
|
- name: Install metalsmith
|
||||||
pip:
|
pip:
|
||||||
name: /opt/stack/metalsmith
|
name: "{{ metalsmith_src_dir }}/metalsmith"
|
||||||
editable: true
|
editable: true
|
||||||
become: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user