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:
parent
d645e216c0
commit
defae1dd14
@ -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 }}'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user