From: Ernesto Puerta Date: Fri, 4 Dec 2020 17:32:41 +0000 (+0100) Subject: ceph-{api,dashboard}-pr: fix source branch ref X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1718%2Fhead;p=ceph-build.git ceph-{api,dashboard}-pr: fix source branch ref Applying same change as already applied by https://github.com/ceph/ceph-build/pull/1426. A divergence has been observed between `make check` job (ceph-pull-request) and the `make` in ceph-pr-api job. For the same PR: * ceph-pull-request `make check` passes * ceph-pr-api `make` fails This fix has been suggested by @sebastian-philipp Signed-off-by: Ernesto Puerta --- diff --git a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml index 0753e6c8f..e95cd6a08 100644 --- a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml +++ b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml @@ -53,7 +53,7 @@ - git: url: https://github.com/ceph/ceph.git branches: - - ${sha1} + - origin/pr/${ghprbPullId}/merge refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* browser: auto timeout: 20 diff --git a/ceph-pr-api/config/definitions/ceph-pr-api.yml b/ceph-pr-api/config/definitions/ceph-pr-api.yml index da64e54bb..573b3cf45 100644 --- a/ceph-pr-api/config/definitions/ceph-pr-api.yml +++ b/ceph-pr-api/config/definitions/ceph-pr-api.yml @@ -72,7 +72,7 @@ - git: url: https://github.com/ceph/ceph.git branches: - - ${sha1} + - origin/pr/${ghprbPullId}/merge refspec: +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* browser: auto timeout: 20