summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2020-06-23 10:44:03 -0500
committerTobias Henkel <tobias.henkel@bmw.de>2020-07-21 19:42:27 +0200
commitc02f88192e871a2907a58704527db31a9bbad4e9 (patch)
tree28389590e96a5cdecd02424ef03f7d2f42033965 /playbooks
parent5d911942537e30960885dd87bc6412d20620ec2f (diff)
downloadzuul-c02f88192e871a2907a58704527db31a9bbad4e9.tar.gz
Create virtualenvs in series to avoid cache race
virtualenv 20.0.24 creates ~/.local/share/virtualenv with the seed packages needed for making virtualenvs per-python version. Creating empty virtualenvs is quick, so run those in sequence to avoid race possibilities. Then, we can still run the installs into the virtualenvs in parallel. We also fix a bug in the console stream functional jobs and install pip with the use of ensure-pip. This is necessary because the virtualenv fix runs the stream functional jobs and the update to the stream functional jobs relies on working docker images. (cherry picked from commit 1f7c6fef9c394928bad28acb32c1180d0006844e) Change-Id: I3dec251d19dd7b3807848a54e6a20a8e89d30a4e
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/zuul-stream/pre.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/zuul-stream/pre.yaml b/playbooks/zuul-stream/pre.yaml
index 371542307..543d7ab19 100644
--- a/playbooks/zuul-stream/pre.yaml
+++ b/playbooks/zuul-stream/pre.yaml
@@ -1,6 +1,8 @@
- hosts: controller
roles:
+ - role: ensure-pip
+
- role: bindep
bindep_profile: test
bindep_dir: src/opendev.org/zuul/zuul