zuul/tests
Sachi King 9f16d522a9 Support post jobs by supporting rev checkout
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
2016-07-12 12:51:51 +10:00
..
cmd Add tests for --cache-dir option 2015-09-04 18:28:59 +00:00
fixtures Add job tags 2016-03-09 10:07:28 -08:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
test_change_matcher.py Add support for a skip-if filter on jobs 2015-02-10 00:42:51 +00:00
test_clonemapper.py cloner to easily clone dependent repositories 2014-07-29 09:03:59 +00:00
test_cloner.py Support post jobs by supporting rev checkout 2016-07-12 12:51:51 +10:00
test_connection.py Add in extra connections tests 2015-12-06 14:48:32 +11:00
test_daemon.py Add daemon test 2015-01-05 14:56:54 -08:00
test_gerrit.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_layoutvalidator.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_merger_repo.py Merger: ensure_cloned() now looks for '.git' 2015-02-10 12:44:23 +01:00
test_model.py Stop metajob application of undefined attributes 2015-02-18 22:30:57 +00:00
test_reporter.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_requirements.py Add support to reject changes from approvals 2015-12-06 14:48:26 +11:00
test_scheduler.py Add report URL to status.json 2016-04-21 17:49:00 -07:00
test_source.py Add base class for sources 2015-12-06 14:48:31 +11:00
test_stack_dump.py Factor out common code between cli utilities 2014-05-06 13:21:00 +00:00
test_trigger.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
test_webapp.py add support for getting status of individual changes 2014-10-01 06:02:28 -04:00
test_zuultrigger.py Update default merge failed error to mention CRD 2015-06-15 21:23:19 +00:00