zuul-jobs/roles/buildset-artifacts-location
Andreas Jaeger 9566cbe07d Fix RST formatting
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
2018-10-13 10:36:36 +02:00
..
tasks Add buildset-artifacts-location 2018-06-14 11:14:25 -04:00
README.rst Fix RST formatting 2018-10-13 10:36:36 +02: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'.