storyboard-webclient/.zuul.yaml
Adam Coldrick b3ec6245cd Fix post job by setting some variables
`node_version` is set to cause a version of node to be installed that
actually works to build StoryBoard on bionic.

The remaining issue with this job is that zuul currently uploads
everything in the dist/ directory to tarballs.openstack.org. The
output directory of our build script is also modified to not be "dist"
to stop this causing an untarballed webclient being uploaded to
tarballs.openstack.org. `create_tarball_directory` is set in .zuul.yaml
to reflect the new location.

Needed-By: I9f435c12df2b355ac9d735e9eda3f70cc396f1d9
Change-Id: Ia8bf1dc99ee18d31a6d269b243eade71fe519b7d
2019-03-15 14:30:59 +00:00

59 lines
1.6 KiB
YAML

- job:
name: storyboard-webclient-nodejs-npm8-run-test-functional
parent: nodejs-npm-run-test
description: |
Run "test-functional" using nodejs.
vars:
npm_command: test-functional
node_version: 8
- job:
name: storyboard-webclient-nodejs-npm8-run-test-integration
parent: nodejs-npm-run-test
description: |
Run "test-integration" using nodejs.
vars:
npm_command: test-integration
node_version: 8
- job:
name: storyboard-webclient-nodejs-npm8-run-test-unit
parent: nodejs-npm-run-test
description: |
Run "test-unit" using nodejs.
vars:
npm_command: test-unit
node_version: 8
- project:
check:
jobs:
- nodejs-npm-run-lint:
vars:
node_version: 8
- storyboard-webclient-nodejs-npm8-run-test-unit
- storyboard-webclient-nodejs-npm8-run-test-functional
- storyboard-webclient-nodejs-npm8-run-test-integration
- build-javascript-content:
vars:
npm_command: draft
node_version: 8
gate:
jobs:
- nodejs-npm-run-lint:
vars:
node_version: 8
- storyboard-webclient-nodejs-npm8-run-test-unit
- storyboard-webclient-nodejs-npm8-run-test-functional
- storyboard-webclient-nodejs-npm8-run-test-integration
- build-javascript-content:
vars:
npm_command: draft
node_version: 8
post:
jobs:
- publish-openstack-javascript-content:
vars:
node_version: 8
create_tarball_directory: build