7b0cb590b9
The 'linters' job currently does not deploy the upper-constraints file, so it cannot be used by any of the lint jobs it activates. This patch switches the builder to ensure that upper-constraints can be used. Change-Id: Iada3a91ee0885710c0fee5aead689b5cdcea118e
69 lines
1.3 KiB
YAML
69 lines
1.3 KiB
YAML
- job:
|
|
name: node-test
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE
|
|
description: Node to test
|
|
|
|
builders:
|
|
- shell: 'echo ok'
|
|
|
|
- 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'
|
|
description: General target to run all lint like jobs
|
|
node: 'ubuntu-trusty'
|
|
|
|
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-trusty'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- gerrit-git-prep
|
|
- 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
|