Merge "Use larger heap size for distribution SFT"
[releng/builder.git] / jjb / opendaylight-infra-push-gerrit-patch.sh
index a7bd4afdfd039bebfc343ae7d7f28e40eb4df2c8..a75710b2c463bcacb4062316bcd35573cf9eb1b3 100644 (file)
@@ -1,4 +1,16 @@
 #!/bin/bash
+
+# Install git-review using virtualenv to the latest version that supports
+# --reviewers option, available through pip install. Existing minion image has a
+# version that does not have it.
+virtualenv "/tmp/v/git-review"
+# shellcheck source=/tmp/v/git-review/bin/activate disable=SC1091
+source "/tmp/v/git-review/bin/activate"
+pip install --upgrade pip
+pip install --upgrade git-review
+pip install --upgrade pipdeptree
+pipdeptree
+
 # shellcheck disable=SC1083
 CHANGE_ID=$(ssh -p 29418 "jenkins-$SILO@git.opendaylight.org" gerrit query \
                limit:1 owner:self is:open project:{project} \