#122 Add a link to fedora wiki's article on Zuul in failure messages
Merged 3 years ago by zuul. Opened 3 years ago by mhuin.
mhuin/fedora-project-config failure_msg  into  master

file modified
+8 -5
@@ -78,6 +78,8 @@ 

          status: 'failure'

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

        sqlreporter:

+     failure-message:

+       Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

  

  - pipeline:

      name: gate
@@ -86,8 +88,6 @@ 

        in order in this pipeline, and if they pass tests, will be

        merged.

      success-message: Build succeeded (gate pipeline).

-     failure-message: |

-       Build failed (gate pipeline).

      manager: dependent

      precedence: high

      post-review: True
@@ -197,6 +197,8 @@ 

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

          comment: true

        sqlreporter:

+     failure-message:

+       Build failed (gate pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

      window-floor: 20

      window-increase-factor: 2

  
@@ -257,8 +259,6 @@ 

        in order to promote artifacts generated in the gate

        pipeline.

      success-message: Build succeeded (promote pipeline).

-     failure-message: |

-       Build failed (promote pipeline).

      manager: supercedent

      precedence: high

      post-review: True
@@ -296,6 +296,8 @@ 

        github.com:

          status: failure

        sqlreporter:

+     failure-message:

+       Build failed (promote pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

  

  - pipeline:

      name: periodic
@@ -319,7 +321,6 @@ 

      name: experimental

      description: On-demand pipeline for requesting a run against a set of jobs that are not yet gating. Leave review comment of "check experimental" to run jobs in this pipeline.

      success-message: Build succeeded (experimental pipeline).

-     failure-message: Build failed (experimental pipeline).

      manager: independent

      precedence: normal

      trigger:
@@ -345,3 +346,5 @@ 

        pagure.io: {}

        src.fedoraproject.org: {}

        sqlreporter:

+     failure-message:

+       Build failed (experimental pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

no initial comment

Zuul encountered a syntax error while parsing its configuration in the
repo fedora-project-config on branch master. The error was:

The key "failure-message" appears more than once; duplicate keys are
not permitted.

The error appears in the following stanza:

name: gate
description: |
Changes that have been approved by core developers are enqueued
in order in this pipeline, and if they pass tests, will be
merged.
success-message: Build succeeded (gate pipeline).
failure-message: |
Build failed (gate pipeline).
manager: dependent
precedence: high
post-review: True
require:
pagure.io:
tags: gateit
score: 0
merged: False
open: True
status: success
src.fedoraproject.org:
tags: gateit
score: 0
merged: False
open: True
status: success
github.com:
review:
# Require an approval from user with write access (e.g. core-reviewer)
- permission: write
type: approved
# Require label
label: mergeit
status: "softwarefactory-project-zuul\[bot\]:fedora/check:success"
open: True
current-patchset: True
trigger:
pagure.io:
- event: pg_pull_request
action: status
status: success
- event: pg_pull_request_review
action: thumbsup
- event: pg_pull_request
action: tagged
tag: gateit
src.fedoraproject.org:
- event: pg_pull_request
action: status
status: success
- event: pg_pull_request_review
action: thumbsup
- event: pg_pull_request
action: tagged
tag: gateit
github.com:
- event: pull_request_review
action: submitted
state: approved
- event: pull_request
action: comment
comment: (?i)^\sregate\s$
- event: pull_request_review
action: submitted
state: approved
- event: pull_request_review
action: dismissed
state: request_changes
- event: pull_request
action: status
status: "softwarefactory-project-zuul\[bot\]:fedora/check:success"
- event: pull_request
action: labeled
label:
- mergeit
start:
pagure.io:
status: 'pending'
status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
comment: false
src.fedoraproject.org:
status: 'pending'
status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
comment: false
github.com:
status: 'pending'
status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
comment: false
success:
pagure.io:
status: 'success'
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
merge: true
comment: true
src.fedoraproject.org:
status: 'success'
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
merge: true
comment: true
github.com:
status: 'success'
merge: true
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
comment: true
sqlreporter:
failure:
pagure.io:
status: 'failure'
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
comment: true
src.fedoraproject.org:
status: 'failure'
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
comment: true
github.com:
status: 'failure'
status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
comment: true
sqlreporter:
failure-message:
Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
window-floor: 20
window-increase-factor: 2

in "fedora-project-config/zuul.d/_pipelines.yaml@master", line 85, column 5

1 new commit added

  • Fix duplicate failure messages
3 years ago

Build succeeded.

1 new commit added

  • remove wiki link when unnecessary
3 years ago

Build succeeded.

we can remove it from here.

1 new commit added

  • Remove useless failure messages
3 years ago

Build succeeded.

Metadata Update from @fbo:
- Pull-request tagged with: gateit

3 years ago

Build succeeded (gate pipeline).

Pull-Request has been merged by zuul

3 years ago