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:
Monty Taylor 2019-03-14 00:26:59 +00:00
parent 3ddfd5d41f
commit a10d5f18eb
1 changed files with 55 additions and 1 deletions

View File

@ -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