Install yarn before building python artifacts
We need it installed so that the javascript gets built. Change-Id: I909ea8af5cc11e6109f6258e2294ef7593d06881
This commit is contained in:
parent
43cac09c43
commit
8d395533e2
20
.zuul.yaml
20
.zuul.yaml
|
@ -162,6 +162,20 @@
|
||||||
nodes: []
|
nodes: []
|
||||||
vars: *zuul_image_vars
|
vars: *zuul_image_vars
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-build-python-release
|
||||||
|
parent: build-python-release
|
||||||
|
pre-run: playbooks/release/pre.yaml
|
||||||
|
vars: &zuul_build_vars
|
||||||
|
node_version: 10
|
||||||
|
release_python: python3
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-release-python
|
||||||
|
parent: opendev-release-python
|
||||||
|
pre-run: playbooks/release/pre.yaml
|
||||||
|
vars: *zuul_build_vars
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -202,7 +216,7 @@
|
||||||
dependencies: zuul-build-image
|
dependencies: zuul-build-image
|
||||||
- nodepool-zuul-functional:
|
- nodepool-zuul-functional:
|
||||||
voting: false
|
voting: false
|
||||||
- build-python-release
|
- zuul-build-python-release
|
||||||
- build-javascript-content-tarball:
|
- build-javascript-content-tarball:
|
||||||
vars:
|
vars:
|
||||||
node_version: 10
|
node_version: 10
|
||||||
|
@ -244,7 +258,7 @@
|
||||||
timeout: 2700 # 45 minutes
|
timeout: 2700 # 45 minutes
|
||||||
- zuul-quick-start:
|
- zuul-quick-start:
|
||||||
dependencies: zuul-upload-image
|
dependencies: zuul-upload-image
|
||||||
- build-python-release
|
- zuul-build-python-release
|
||||||
- build-javascript-content-tarball:
|
- build-javascript-content-tarball:
|
||||||
vars:
|
vars:
|
||||||
node_version: 10
|
node_version: 10
|
||||||
|
@ -258,5 +272,5 @@
|
||||||
- opendev-promote-javascript-content
|
- opendev-promote-javascript-content
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs:
|
||||||
- opendev-release-python
|
- zuul-release-python
|
||||||
- zuul-publish-tox-docs
|
- zuul-publish-tox-docs
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- install-nodejs
|
||||||
|
- role: install-yarn
|
||||||
|
yarn_lock_file_path: "{{ zuul.project.src_dir }}/web/yarn.lock"
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed Zuul dashboard not loading properly due to javascript dependencies missing.
|
Loading…
Reference in New Issue