zuul-jobs/roles/buildset-artifacts-location/README.rst

806 B

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'.