9566cbe07d
Remove whitespaces from build-python-release which make the sphinx display as "** Role Variable **" instead of bold "Role Variables". Fix buildset-artifacts-location to display items as list. Fix stage-output to display the example as example - and not wrap around. Change-Id: I8da3ec0c507d26f47ee9bb71dc9d1b3ed9ca23a5
39 lines
806 B
ReStructuredText
39 lines
806 B
ReStructuredText
Return the location of buildset logs
|
|
|
|
When a 'buildset' directory exists in the job logs, then use
|
|
zuul_return to set buildset_artifacts_url for children jobs.
|
|
|
|
rpm-build job:
|
|
|
|
* Create a repository
|
|
* Fetch the repository to "{{ zuul.executor.log_root }}/buildset"
|
|
* Use the buildset-artifacts-location role
|
|
|
|
rpm-test jobs:
|
|
|
|
* Install "{{ buildset_artficats_url }}" yum repository
|
|
* Run integration tests
|
|
|
|
.. code-block:: yaml
|
|
|
|
layout:
|
|
jobs:
|
|
- rpm-build
|
|
- rpm-test1:
|
|
dependencies:
|
|
- rpm-build
|
|
- rpm-test2:
|
|
dependencies:
|
|
- rpm-build
|
|
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: zuul_log_url
|
|
|
|
Base URL where logs are to be found.
|
|
|
|
.. zuul:rolevar:: zuul_log_path
|
|
|
|
Path of the logs. This optional when the role is used after 'upload-logs'.
|