Fix rolling upgrade job

Previously, we'd install development versions of Swift as root, causing
later tox runs as zuul to fail on a permissions error because the
generated egg-info (at least) was locked down.

Change-Id: Ia688790f8b23ed1cf76947b5809c208df5dee8bb
This commit is contained in:
Tim Burke 2018-12-14 14:23:42 -08:00
parent d645e216c0
commit defae1dd14
1 changed files with 7 additions and 1 deletions

View File

@ -25,10 +25,16 @@
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
- name: build swift
shell:
cmd: python setup.py sdist
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
- name: install swift
become: true
shell:
cmd: python setup.py develop
cmd: pip install dist/swift-*.tar.gz
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'