]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-*-pull-requests*: use ghprbPullId to define branches 1426/head
authorKefu Chai <kchai@redhat.com>
Tue, 29 Oct 2019 01:32:15 +0000 (09:32 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 29 Oct 2019 03:34:03 +0000 (11:34 +0800)
commit00154ad3c3eb4786844b9f04b13d2c35b6e15fe2
tree3a9bb98f0cea70ba3b9996c6f85e6814c7b3cf0e
parentc10a4c7ddeef2ae8cc079ac2c295aac3a8836b8d
ceph-*-pull-requests*: use ghprbPullId to define branches

* add "ghprbPullId" param, simpler to use than "sha1"
* instead of using "sha1", use "ghprbPullId" to define branches to build,
  more consistent this way. as we pull the refs using
  `+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*`
  and after the change, the ref to build is specified using
  `origin/pr/${ghprbPullId}/merge`. also, by removing "sha1",
  we can specify a single parameter when rebuilding/building a branch
  on jenkins instead of two parameters.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml
ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml
ceph-pull-requests/config/definitions/ceph-pull-requests.yml