7513629be7
pep8 jobs should not require database setup, etc, so we can skip running test-setup.sh to save time. Also, address comments from https://review.opendev.org/670120 and use a block to not run the stat if can we will skip using the file. Change-Id: Ia140b331ae1502fcf1f685faa6dace117d77d35d |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
README.rst |
Perform project test setup tasks.
This role assumes that Zuul has checked out a change for a project at
{{ zuul_work_dir }}
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.
Role Variables
Environment variables to pass in to the test-setup script.
String of optional command line options passed to the test-setup script.