zuul-jobs/roles/report-logjuicer
Tristan Cacqueray 26db5b3b24 Introduce LogJuicer roles
This change adds new roles to run logjuicer in zuul jobs:
  https://github.com/logjuicer/logjuicer

Change-Id: I02824a18285a16c8f0be6bb96b5404aa0d601c16
2024-01-08 16:09:17 +00:00
..
tasks Introduce LogJuicer roles 2024-01-08 16:09:17 +00:00
README.rst Introduce LogJuicer roles 2024-01-08 16:09:17 +00:00

Create a LogJuicer report link

This role emits an artifact to create a report through a LogJuicer web service. Add the following task to your job post-run phase:

- when: not zuul_success | bool
  include_role:
    name: report-logjuicer
  vars:
    logjuicer_web_url: https://softwarefactory-project.io/logjuicer
    zuul_web_url: https://zuul.opendev.org/t/{{ zuul.tenant }}

Role Variables

The http url of the LogJuicer web service.

The http url of zuul-web. For multi-tenant deployment, add /t/{{ zuul.tenant }}.