summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2018-12-14 14:23:42 -0800
committerTim Burke <tim.burke@gmail.com>2018-12-14 15:11:19 -0800
commitdefae1dd14ea5791ff6a03ef0701bcdf2988dd38 (patch)
treef2421972e99e1ea90ed523a07c18fb49bfc83bf5 /tools
parentd645e216c0b4dd708604d4e52fa27673a8d01228 (diff)
downloadswift-defae1dd14ea5791ff6a03ef0701bcdf2988dd38.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/playbooks/multinode_setup/make_rings.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/playbooks/multinode_setup/make_rings.yaml b/tools/playbooks/multinode_setup/make_rings.yaml
index e2ed794b1..8bdd344a7 100644
--- a/tools/playbooks/multinode_setup/make_rings.yaml
+++ b/tools/playbooks/multinode_setup/make_rings.yaml
@@ -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 }}'