Tristan Cacqueray c03fc87905
Add buildset-artifacts-location
Change-Id: I7db7633a8149c63a1e1232173fdc1d446fc70fbc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-06-14 11:14:25 -04:00

37 lines
804 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'.