Skip to content

Instantly share code, notes, and snippets.

@mpiscaer
Created May 4, 2020 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpiscaer/325b15afbd94f6fff5c8a12788827481 to your computer and use it in GitHub Desktop.
Save mpiscaer/325b15afbd94f6fff5c8a12788827481 to your computer and use it in GitHub Desktop.
2020-05-01 13:55:10,497 INFO zuul.TenantParser: Loading configuration from username/zuul-test/.zuul.yaml@master
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: 4 errors detected during quickstart tenant configuration loading
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: Zuul encountered a syntax error while parsing its configuration in the
repo username/zuul-test-config on branch master. The error
was:
expected a list for dictionary value @ data['trigger']['gitlab'][0]['event']
The error appears in the following pipeline stanza:
pipeline:
name: check
description: |
Newly uploaded patchsets enter this pipeline to receive an
initial check status.
manager: independent
trigger:
gitlab:
- event: pull_request
action:
- opened
- changed
- reopened
- event: pull_request
action: comment
comment: (?i)^\s*recheck\s*$
start:
gitlab:
status: 'pending'
status-url: "https://zuul.zuul-ci.org/zuul/status.html"
comment: false
success:
gitlab:
status: 'success'
sqlreporter:
failure:
gitlab:
status: 'failure'
sqlreporter:
in "username/zuul-test-config/zuul.yaml@master", line 1, column 3
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: Zuul encountered a syntax error while parsing its configuration in the
repo username/zuul-test-config on branch master. The error
was:
extra keys not allowed @ data['require']['gitlab']['review']
The error appears in the following pipeline stanza:
pipeline:
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.
manager: dependent
precedence: high
supercedes: check
require:
gitlab:
review:
# Require an approval from user with write access (e.g. core-reviewer)
- permission: write
type: approved
# Require label
label: gate
open: True
current-patchset: True
trigger:
gitlab:
- event: pull_request_review
action: submitted
state: approved
- event: pull_request
action: comment
comment: (?i)^\s*regate\s*$
- event: pull_request_review
action: submitted
state: approved
- event: pull_request_review
action: dismissed
state: request_changes
- event: pull_request
action: status
status: ".*:success"
- event: pull_request
action: labeled
label:
- gate
start:
gitlab:
status: 'pending'
status-url: "https://zuul.zuul-ci.org/zuul/status.html"
comment: false
success:
gitlab:
status: 'success'
merge: true
comment: true
sqlreporter:
failure:
gitlab:
status: 'failure'
comment: true
sqlreporter:
window-floor: 20
window-increase-factor: 2
in "username/zuul-test-config/zuul.yaml@master", line 31, column 3
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: Zuul encountered a syntax error while parsing its configuration in the
repo username/zuul-test-config on branch master. The error
was:
expected a list for dictionary value @ data['trigger']['gitlab'][0]['event']
The error appears in the following pipeline stanza:
pipeline:
name: post
post-review: true
description: This pipeline runs jobs that operate after each change is merged.
manager: independent
precedence: low
trigger:
gitlab:
- event: push
ref: ^refs/heads/.*$
success:
sqlreporter:
failure:
sqlreporter:
in "username/zuul-test-config/zuul.yaml@master", line 90, column 3
2020-05-01 13:55:10,521 WARNING zuul.ConfigLoader: Zuul encountered a syntax error while parsing its configuration in the
repo username/zuul-test-config on branch master. The error
was:
expected a list for dictionary value @ data['trigger']['gitlab'][0]['event']
The error appears in the following pipeline stanza:
pipeline:
name: tag
description: This pipeline runs jobs in response to any tag event.
manager: independent
precedence: high
post-review: True
trigger:
gitlab:
- event: push
ref: ^refs/tags/.*$
success:
sqlreporter:
failure:
sqlreporter:
in "username/zuul-test-config/zuul.yaml@master", line 105, column 3
2020-05-01 13:55:10,521 INFO zuul.Scheduler: Full reconfiguration complete (duration: 5.241 seconds)
- pipeline:
name: check
description: |
Newly uploaded patchsets enter this pipeline to receive an
initial check status.
manager: independent
trigger:
gitlab:
- event: pull_request
action:
- opened
- changed
- reopened
- event: pull_request
action: comment
comment: (?i)^\s*recheck\s*$
start:
gitlab:
status: 'pending'
status-url: "https://zuul.zuul-ci.org/zuul/status.html"
comment: false
success:
gitlab:
status: 'success'
sqlreporter:
failure:
gitlab:
status: 'failure'
sqlreporter:
- pipeline:
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.
manager: dependent
precedence: high
supercedes: check
require:
gitlab:
review:
# Require an approval from user with write access (e.g. core-reviewer)
- permission: write
type: approved
# Require label
label: gate
open: True
current-patchset: True
trigger:
gitlab:
- event: pull_request_review
action: submitted
state: approved
- event: pull_request
action: comment
comment: (?i)^\s*regate\s*$
- event: pull_request_review
action: submitted
state: approved
- event: pull_request_review
action: dismissed
state: request_changes
- event: pull_request
action: status
status: ".*:success"
- event: pull_request
action: labeled
label:
- gate
start:
gitlab:
status: 'pending'
status-url: "https://zuul.zuul-ci.org/zuul/status.html"
comment: false
success:
gitlab:
status: 'success'
merge: true
comment: true
sqlreporter:
failure:
gitlab:
status: 'failure'
comment: true
sqlreporter:
window-floor: 20
window-increase-factor: 2
- pipeline:
name: post
post-review: true
description: This pipeline runs jobs that operate after each change is merged.
manager: independent
precedence: low
trigger:
gitlab:
- event: push
ref: ^refs/heads/.*$
success:
sqlreporter:
failure:
sqlreporter:
- pipeline:
name: tag
description: This pipeline runs jobs in response to any tag event.
manager: independent
precedence: high
post-review: True
trigger:
gitlab:
- event: push
ref: ^refs/tags/.*$
success:
sqlreporter:
failure:
sqlreporter:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment