feat: add labels when reporting in licon-pipelines-webext
Approvals are not shown since the account used is a project bot account,
so this CL adds labels so Zuul can report the different statuses.
Change-Id: Id587a98ac7837d788b4335d386b5d454211882f0
diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml
index b7520ef..15b5ba5 100644
--- a/zuul.d/pipelines.yaml
+++ b/zuul.d/pipelines.yaml
@@ -29,6 +29,13 @@
scheme: 'zuul-check'
state: SCHEDULED
message: 'Change has been enqueued in check'
+ licon-pipelines-webext:
+ label:
+ - Zuul-Check-Enqueued
+ unlabel:
+ - Zuul-Check-Running
+ - Zuul-Check-Approved
+ - Zuul-Check-NotApproved
start:
gerrit:
comment: False
@@ -36,6 +43,13 @@
scheme: 'zuul-check'
state: RUNNING
message: 'Jobs have started running'
+ licon-pipelines-webext:
+ label:
+ - Zuul-Check-Running
+ unlabel:
+ - Zuul-Check-Enqueued
+ - Zuul-Check-Approved
+ - Zuul-Check-NotApproved
no-jobs:
gerrit:
comment: False
@@ -46,6 +60,12 @@
message: 'No jobs were triggered'
licon-pipelines-webext:
approval: True
+ label:
+ - Zuul-Check-Approved
+ unlabel:
+ - Zuul-Check-Enqueued
+ - Zuul-Check-Running
+ - Zuul-Check-NotApproved
dequeue:
gerrit:
comment: False
@@ -64,6 +84,12 @@
licon-pipelines-webext:
comment: True
approval: True
+ label:
+ - Zuul-Check-Approved
+ unlabel:
+ - Zuul-Check-Enqueued
+ - Zuul-Check-Running
+ - Zuul-Check-NotApproved
failure:
gerrit:
comment: True
@@ -75,6 +101,12 @@
licon-pipelines-webext:
comment: True
approval: False
+ label:
+ - Zuul-Check-NotApproved
+ unlabel:
+ - Zuul-Check-Enqueued
+ - Zuul-Check-Running
+ - Zuul-Check-Approved
- pipeline:
name: nightly-build