]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-{api,dashboard}-pr: fix source branch ref 1718/head
authorErnesto Puerta <epuertat@redhat.com>
Fri, 4 Dec 2020 17:32:41 +0000 (18:32 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 4 Dec 2020 17:32:41 +0000 (18:32 +0100)
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 <epuertat@redhat.com>
ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml
ceph-pr-api/config/definitions/ceph-pr-api.yml

index 0753e6c8fd2f5732ef4fdb31405446e71cb66203..e95cd6a082c7e5c80ce69b175cb3dbfa317ee022 100644 (file)
@@ -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
index da64e54bb33c06a06a77cc9ceaf1ef5a8da5b48d..573b3cf451f14ed436bf1816a46505c98be7223f 100644 (file)
@@ -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