mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #17578 from liewegas/wip-integration
script/build-integration-branch: check errors
This commit is contained in:
commit
f9777fafc3
@ -42,17 +42,18 @@ print "branch %s" % branch
|
|||||||
|
|
||||||
# assemble
|
# assemble
|
||||||
print('--- creating branch %s' % branch)
|
print('--- creating branch %s' % branch)
|
||||||
call(['git', 'branch', '-D', branch])
|
r = call(['git', 'checkout', '-b', branch])
|
||||||
call(['git', 'checkout', '-b', branch])
|
assert not r
|
||||||
for pr in prs:
|
for pr in prs:
|
||||||
print('--- pr %d --- pulling %s branch %s' % (
|
print('--- pr %d --- pulling %s branch %s' % (
|
||||||
pr['number'],
|
pr['number'],
|
||||||
pr['head']['repo']['clone_url'],
|
pr['head']['repo']['clone_url'],
|
||||||
pr['head']['ref']))
|
pr['head']['ref']))
|
||||||
call(['git', 'pull', '--no-edit',
|
r = call(['git', 'pull', '--no-edit',
|
||||||
pr['head']['repo']['clone_url'],
|
pr['head']['repo']['clone_url'],
|
||||||
pr['head']['ref']
|
pr['head']['ref']
|
||||||
])
|
])
|
||||||
|
assert not r
|
||||||
print('--- done. these PRs were included:')
|
print('--- done. these PRs were included:')
|
||||||
print('\n'.join(prtext))
|
print('\n'.join(prtext))
|
||||||
print('--- perhaps you want to: make && ctest -j12 && git push ci %s' % branch)
|
print('--- perhaps you want to: make && ctest -j12 && git push ci %s' % branch)
|
||||||
|
Loading…
Reference in New Issue
Block a user