Merge "Add generic push changes to gerrit builder"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 23 Apr 2018 22:40:58 +0000 (22:40 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Mon, 23 Apr 2018 22:40:58 +0000 (22:40 +0000)
1  2 
jjb/lf-macros.yaml

diff --combined jjb/lf-macros.yaml
        - shell: !include-raw:
            - ../shell/packer-clear-credentials.sh
  
+ - builder:
+     name: lf-infra-push-gerrit-patch
+     builders:
+       - inject:
+           properties-content: |
+               PROJECT='{project}'
+               GERRIT_COMMIT_MESSAGE='{gerrit-commit-message}'
+               GERRIT_HOST='{gerrit-host}'
+               GERRIT_TOPIC='{gerrit-topic}'
+               GERRIT_USER='{gerrit-user}'
+               REVIEWERS_EMAIL='{reviewers-email}'
+       - shell: !include-raw-escape: ../shell/gerrit-push-patch.sh
  - builder:
      name: lf-infra-sysstat
      builders:
      name: lf-rtd-trigger-build
      builders:
        - inject:
 -          properties-content: RTD_PROJECT={rtd-project}
 +          properties-content: |
 +            RTD_BUILD_URL={rtd-build-url}
 +            RTD_TOKEN={rtd-token}
        - shell: !include-raw-escape: ../shell/rtd-trigger-build.sh
  
  - builder: