zuul-jobs/roles/buildset-artifacts-location
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
..
tasks Add buildset-artifacts-location 2018-06-14 11:14:25 -04:00
README.rst Add buildset-artifacts-location 2018-06-14 11:14:25 -04:00

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

layout:
  jobs:
    - rpm-build
    - rpm-test1:
        dependencies:
          - rpm-build
    - rpm-test2:
        dependencies:
          - rpm-build

Role Variables

Base URL where logs are to be found.

Path of the logs. This optional when the role is used after 'upload-logs'.