Added javascript job template, included in refstack.

This creates a jobs template for various common npm-based
jobs, and a javascript job template that runs two NPM-based
jobs in the gate.

Change-Id: I26fc5b1f780453202af8d1d43575bbf2aa53d27e
Depends-On: Ibd16775609fbfe8f60a14672a27fb44e84fb63b9
This commit is contained in:
Michael Krotscheck 2015-06-03 11:18:54 -07:00
parent 023a23314d
commit 14cf70fb33
3 changed files with 18 additions and 8 deletions

View File

@ -113,3 +113,11 @@
keep-hierarchy: false
copy-after-failure: false
node: '{node}'
- job-group:
name: javascript-jobs
jobs:
- 'gate-{name}-npm-run-{command}':
command: 'lint'
- 'gate-{name}-npm-run-{command}':
command: 'test'

View File

@ -5381,10 +5381,7 @@
jobs:
- python-jobs
- 'gate-{name}-npm-run-{command}':
command: 'lint'
- 'gate-{name}-npm-run-{command}':
command: 'test-single-run'
- javascript-jobs
- project:
name: refstack-client

View File

@ -527,6 +527,14 @@ project-templates:
- check-tripleo-ironic-overcloud-precise-nonha
- check-tripleo-ironic-overcloud-f21-nonha
- name: javascript-jobs
check:
- gate-{name}-npm-run-lint
- gate-{name}-npm-run-test
gate:
- gate-{name}-npm-run-lint
- gate-{name}-npm-run-test
jobs:
- name: ^.*$
parameter-function: set_node_options_default_trusty
@ -7211,15 +7219,12 @@ projects:
- name: stackforge/refstack
template:
- name: merge-check
- name: javascript-jobs
check:
- gate-refstack-npm-run-lint
- gate-refstack-npm-run-test-single-run
- gate-refstack-pep8
- gate-refstack-python27
- gate-refstack-python34
gate:
- gate-refstack-npm-run-lint
- gate-refstack-npm-run-test-single-run
- gate-refstack-pep8
- gate-refstack-python27