mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
Merge pull request #877 from dachary/wip-workunit
workunit: git-reset --hard does not accept a branch Reviewed by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
commit
5dd8cdd12e
@ -314,13 +314,13 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None):
|
||||
args=[
|
||||
'git',
|
||||
'clone',
|
||||
'--branch',
|
||||
refspec,
|
||||
git_url,
|
||||
clonedir,
|
||||
run.Raw(';'),
|
||||
'cd', '--', clonedir,
|
||||
run.Raw('&&'),
|
||||
'git', 'reset', '--hard', refspec,
|
||||
run.Raw('&&'),
|
||||
'mv', 'qa/workunits', srcdir,
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user