9f16d522a9
Currently zuul-cloner does not support post jobs, as it does not know what to checkout. This adds the ability on a per project basis to specify a revision to be checked out. When specified zuul-cloner will successfully check out the same repo as gerrit-git-prep.sh does in post jobs. Sample usage: clonemap: - name: openstack/neutron dest: ./neu - name: openstack/requirements dest: ./reqs export ZUUL_PROJECT="openstack/neutron" export ZUUL_NEWREV="a2Fhc2Rma2FzZHNkZjhkYXM4OWZhc25pb2FzODkK" export ZUUL_BRANCH="stable/liberty" zuul-cloner -m map.yaml git://git.openstack.org $ZUUL_PROJECT \ openstack/requirements This results with openstack/neutron checked out at rev a2Fhc2 and openstack/requirements at 'heads/stable/liberty' Change-Id: Ie9b03508a44f04adfbe2696cde136439ebffb9a6 |
||
---|---|---|
.. | ||
cmd | ||
fixtures | ||
__init__.py | ||
base.py | ||
test_change_matcher.py | ||
test_clonemapper.py | ||
test_cloner.py | ||
test_connection.py | ||
test_daemon.py | ||
test_gerrit.py | ||
test_layoutvalidator.py | ||
test_merger_repo.py | ||
test_model.py | ||
test_reporter.py | ||
test_requirements.py | ||
test_scheduler.py | ||
test_source.py | ||
test_stack_dump.py | ||
test_trigger.py | ||
test_webapp.py | ||
test_zuultrigger.py |