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: []
|
||||
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:
|
||||
check:
|
||||
jobs:
|
||||
|
@ -202,7 +216,7 @@
|
|||
dependencies: zuul-build-image
|
||||
- nodepool-zuul-functional:
|
||||
voting: false
|
||||
- build-python-release
|
||||
- zuul-build-python-release
|
||||
- build-javascript-content-tarball:
|
||||
vars:
|
||||
node_version: 10
|
||||
|
@ -244,7 +258,7 @@
|
|||
timeout: 2700 # 45 minutes
|
||||
- zuul-quick-start:
|
||||
dependencies: zuul-upload-image
|
||||
- build-python-release
|
||||
- zuul-build-python-release
|
||||
- build-javascript-content-tarball:
|
||||
vars:
|
||||
node_version: 10
|
||||
|
@ -258,5 +272,5 @@
|
|||
- opendev-promote-javascript-content
|
||||
release:
|
||||
jobs:
|
||||
- opendev-release-python
|
||||
- zuul-release-python
|
||||
- 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