Install latest version of git-review 26/57226/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 17 May 2017 00:49:28 +0000 (17:49 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 17 May 2017 01:10:34 +0000 (18:10 -0700)
- This was tried on the base image, via packer provision script
  and that patch [0] is still merged, but the resulting minion image
  was broken for some reason and cannot be used.

- The exising version of git-review does not have the --reviewers
  option, but upgrading will allow that. It's needed because the
  same patch [0] is using that option to automatically add reviewers
  to the autoupdate csit patches.

- you can see this is breaking right now [1] which means we are
  not getting accurate jobs in our distribution-test bucket. search
  for the string "unrecognized arguments" in [1]

[0] https://git.opendaylight.org/gerrit/#/c/56476
[1] https://jenkins.opendaylight.org/releng/view/builder/job/builder-update-csit-tests/391/console

Change-Id: Iab084118dfc2b042316352c8ba09a9eebc176a67
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/opendaylight-infra-push-gerrit-patch.sh

index a7bd4afdfd039bebfc343ae7d7f28e40eb4df2c8..9e0266ea96977eb38d1dee1d2fef3c9ad1dac91c 100644 (file)
@@ -1,4 +1,9 @@
 #!/bin/bash
+
+# upgrade git-review to a version that will have the --reviewers option. existing minion
+# image has a version that does not have it.
+sudo pip install git-review --upgrade
+
 # shellcheck disable=SC1083
 CHANGE_ID=$(ssh -p 29418 "jenkins-$SILO@git.opendaylight.org" gerrit query \
                limit:1 owner:self is:open project:{project} \