diff options
author | Jeremy Stanley <fungi@yuggoth.org> | 2019-05-16 21:39:30 +0000 |
---|---|---|
committer | Jeremy Stanley <fungi@yuggoth.org> | 2019-05-20 17:46:33 +0000 |
commit | 5bf838db687a47452ed16df7cfacffaaad591c40 (patch) | |
tree | ca0afb4bdf6c381fe203e0ba439f484c2a0a7238 /playbooks | |
parent | c58b410cb40bd50d97d76cd5df1401de4bdafb91 (diff) | |
download | zuul-5bf838db687a47452ed16df7cfacffaaad591c40.tar.gz |
Install latest git-review from PyPI in quickstart
With the removal[*] of refs/publish in Gerrit 3.0.0, git-review
1.27.1 or later is needed to avoid attempting a push there and
ultimately failing. The git-review package in Ubuntu 18.04 LTS is
too old (1.26.0), so use latest from PyPI instead.
Adjust the quick-start document to install git-review with pip, and
on Debian/Ubuntu suggest including the python3-pip distro package
since it's split out separate from the interpreter packages.
[*] https://gerrit-review.googlesource.com/c/gerrit/+/192494
Change-Id: I247fb761667a99cf9f25478b49c5a1fe5d11a6cf
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/quick-start/run.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/quick-start/run.yaml b/playbooks/quick-start/run.yaml index 3027e6762..f8959c9a7 100644 --- a/playbooks/quick-start/run.yaml +++ b/playbooks/quick-start/run.yaml @@ -7,13 +7,15 @@ use_upstream_docker: false - use-buildset-registry tasks: - - name: Install docker-compose and git-review + - name: Install docker-compose package: name: - docker-compose - - git-review state: present become: true + - name: Install git-review + command: python3 -m pip install git-review + become: true - name: Create workspace directory file: state: directory |