Add users email to auto-generated gerrit patches 76/56476/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 3 May 2017 16:16:54 +0000 (09:16 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 3 May 2017 16:16:54 +0000 (09:16 -0700)
- the --reviewers option is not there in the current version of
  git-review (1.24) but is there with v1.25 which will be
  installed with the pip install command in this patch

- this would add me (jluhrsen@redhat.com) to all auto-gen
  gerrit patches, and I don't mind, but I need to get these
  reminders for the csit auto-gen gerrits at the least. Maybe
  there is a better way to do this?

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

index 9d49887547e572786b2a1630f122963cde9303ab..a7bd4afdfd039bebfc343ae7d7f28e40eb4df2c8 100644 (file)
@@ -19,4 +19,4 @@ git remote add gerrit "ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/bui
 # Don't fail the build if this command fails because it's possible that there
 # is no changes since last update.
 # shellcheck disable=SC1083
-git review --yes -t {gerrit-topic} || true
+git review --yes -t {gerrit-topic} --reviewers jluhrsen@redhat.com || true
index 57bcc1227314ab732de45b042158ae1d1377824c..ad0ef81e2e242142bc3c5b0475ab17fc02df7f9a 100644 (file)
@@ -19,6 +19,9 @@ yum install -y python34-{devel,virtualenv,setuptools,pip}
 # Install python dependencies, useful generally
 yum install -y python-{devel,virtualenv,setuptools,pip}
 
+# Use pip to install newer version of git-review
+pip install git-review --upgrade
+
 # Needed by autorelease scripts
 yum install -y xmlstarlet