72bd6977cf
Publisher are required for almost every job and it's very easy to forget to specify them and get a job that cannot be debugged. If publishers are not required for a job, one should explicitely specify empty list of publishers as I did here for test job and for rtfd hook. Change-Id: I7c4923910b0e139ca3831b6450b0fbb82b618b64
79 lines
1.5 KiB
YAML
79 lines
1.5 KiB
YAML
- job:
|
|
name: node-test
|
|
node: ubuntu-xenial
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE
|
|
description: Node to test
|
|
|
|
builders:
|
|
- shell: 'echo ok'
|
|
publishers: []
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-run-tests'
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- run-tests
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-linters-{node}'
|
|
description: General target to run all lint like jobs
|
|
node: '{node}'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- linters
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: 'gate-{name}-bashate'
|
|
node: 'ubuntu-xenial'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- bashate
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: 'sandbox-tag'
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job-group:
|
|
name: linters-jobs
|
|
node:
|
|
- ubuntu-trusty
|
|
- ubuntu-xenial
|
|
jobs:
|
|
- 'gate-{name}-linters-{node}'
|