Add npm-docs job
Add a job for building javascript documentation using Node. Change-Id: I4517b9fb5d9b17b099e2a5ab138688caaa976be9
This commit is contained in:
parent
b4bd1f0a74
commit
560a907b06
4
playbooks/javascript/run-docs.yaml
Normal file
4
playbooks/javascript/run-docs.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: npm
|
||||
npm_command: docs
|
16
zuul.yaml
16
zuul.yaml
@ -235,3 +235,19 @@
|
||||
|
||||
The version of Node to use.
|
||||
run: playbooks/javascript/run-lint.yaml
|
||||
|
||||
- job:
|
||||
name: nodejs-npm-run-docs
|
||||
parent: javascript-base
|
||||
description: |
|
||||
Run docs using nodejs.
|
||||
|
||||
Responds to this variable:
|
||||
|
||||
.. zuul:jobvar:: node_version
|
||||
:default: 6
|
||||
|
||||
The version of Node to use.
|
||||
run: playbooks/javascript/run-docs.yaml
|
||||
post-run: playbooks/tox/docs-post.yaml
|
||||
success-url: html/
|
||||
|
Loading…
x
Reference in New Issue
Block a user