zuul-jobs/roles/test-setup
Monty Taylor 055de47b4e
Add zuul_work_dir default to one-project roles
We'd like to be able to make some jobs that run tox on other projects
for ease of testing. This should allow us to do that.

Change-Id: I774a76eaaea16d8ea218b439a099b5c9335c2fc5
2017-07-07 17:04:46 -05:00
..
defaults Add zuul_work_dir default to one-project roles 2017-07-07 17:04:46 -05:00
tasks Add zuul_work_dir default to one-project roles 2017-07-07 17:04:46 -05:00
README.rst Port in tox jobs from openstack-zuul-jobs 2017-07-06 11:18:47 -05:00

Perform project test setup tasks.

This role assumes that Zuul has checked out a change for a project at src/{{ zuul.project.canonical_name }} and looks for a file named tools/test-setup.sh. If that file exists and is executable, it will be run.

This allows projects to specify test-setup steps (such as creating or initializing a database) in a form that can be easily run by both an automated testing system and developers.