]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/build-integration-branch: always generate merge commits 41464/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 20 May 2021 23:28:25 +0000 (19:28 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 20 May 2021 23:28:27 +0000 (19:28 -0400)
This guarantees we'll always get a new sha1, so shaman will generate a
new build even if the same PRs are pushed to more than one branch.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/script/build-integration-branch

index 0450f6a341132d2baba439c01a79ef1b1887019c..9ff5b4e3e63366ff61e5e0c0d5e4714a42c6d491 100755 (executable)
@@ -94,7 +94,7 @@ for pr in prs:
     pr_ref = pr['head']['ref']
     print(f'--- pr {pr_number} --- pulling {pr_url} branch {pr_ref}')
     while True:
-        r = call(['git', 'pull', '--no-edit', pr_url, pr_ref])
+        r = call(['git', 'pull', '--no-ff', '--no-edit', pr_url, pr_ref])
         if r == 0:
             break
         elif r == 1: