Define a project-template for horizon plugins
The horizon plugins all use a set of consistent jobs, but we're currently copying them in. That means making coordinated updates is a bit harder. Make a project-template that horizon plugins can use. Change-Id: I6ecba7d593268654535aa37ef6ae62baebb58378
This commit is contained in:
parent
3ddfd5d41f
commit
a10d5f18eb
56
.zuul.yaml
56
.zuul.yaml
|
@ -94,10 +94,64 @@
|
|||
- ^setup.cfg$
|
||||
- ^tools/.*$
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs4-jobs
|
||||
description: |
|
||||
Run lint and test jobs using Node 4 for horizon plugins.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
gate:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
|
||||
- project-template:
|
||||
name: horizon-nodejs4-jobs-nonvoting
|
||||
description: |
|
||||
Run lint and test jobs using Node 4 for horizon plugins.
|
||||
check:
|
||||
jobs:
|
||||
- nodejs-npm-run-lint:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
voting: false
|
||||
- nodejs-npm-run-test:
|
||||
vars:
|
||||
node_version: 4
|
||||
nodeset: ubuntu-xenial
|
||||
required-projects:
|
||||
openstack/horizon
|
||||
voting: false
|
||||
|
||||
- project:
|
||||
templates:
|
||||
- check-requirements
|
||||
- nodejs4-jobs
|
||||
- horizon-nodejs4-jobs
|
||||
- openstack-lower-constraints-jobs
|
||||
- openstack-python-jobs
|
||||
- openstack-python35-jobs
|
||||
|
|
Loading…
Reference in New Issue