David Vallee Delisle
2 months ago
committed by
Gael Chamoulaud (Strider)
No known key found for this signature in database
GPG Key ID: 4119D0305C651D66
2 changed files with
7 additions and
1 deletions
-
scripts/run-local-test
-
zuul.d/playbooks/pre.yml
|
|
@ -44,7 +44,7 @@ esac |
|
|
|
"${PYTHON_EXEC}" -m virtualenv --system-site-packages "${HOME}/test-python" |
|
|
|
|
|
|
|
# Run bindep |
|
|
|
"${HOME}/test-python/bin/pip" install pip setuptools bindep --upgrade |
|
|
|
"${HOME}/test-python/bin/pip" install "pip>=19.1.1" setuptools bindep --upgrade |
|
|
|
"${PROJECT_DIR}/scripts/bindep-install" |
|
|
|
|
|
|
|
# Install local requirements |
|
|
|
|
|
@ -23,6 +23,12 @@ |
|
|
|
become: true |
|
|
|
changed_when: false |
|
|
|
|
|
|
|
- name: Ensure a recent version of pip is installed in virtualenv |
|
|
|
pip: |
|
|
|
name: "pip>=19.1.1" |
|
|
|
virtualenv: "{{ ansible_user_dir }}/test-python" |
|
|
|
virtualenv_command: "{{ ensure_pip_virtualenv_command }}" |
|
|
|
|
|
|
|
- name: Setup test-python |
|
|
|
pip: |
|
|
|
requirements: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/molecule-requirements.txt" |
|
|
|