From: Jamo Luhrsen Date: Wed, 17 May 2017 00:49:28 +0000 (-0700) Subject: Install latest version of git-review X-Git-Tag: release/carbon~35 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=4d4d6834f40f6a76ab5d74ac4744b6434c4ee1ea;p=releng%2Fbuilder.git Install latest version of git-review - 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 --- diff --git a/jjb/opendaylight-infra-push-gerrit-patch.sh b/jjb/opendaylight-infra-push-gerrit-patch.sh index a7bd4afdfd..9e0266ea96 100644 --- a/jjb/opendaylight-infra-push-gerrit-patch.sh +++ b/jjb/opendaylight-infra-push-gerrit-patch.sh @@ -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} \