diff --git a/.zuul.yaml b/.zuul.yaml index d9f93fdb82..bc115c675e 100644 --- a/.zuul.yaml +++ b/.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 diff --git a/playbooks/release/pre.yaml b/playbooks/release/pre.yaml new file mode 100644 index 0000000000..02305e3858 --- /dev/null +++ b/playbooks/release/pre.yaml @@ -0,0 +1,5 @@ +- hosts: all + roles: + - install-nodejs + - role: install-yarn + yarn_lock_file_path: "{{ zuul.project.src_dir }}/web/yarn.lock" diff --git a/releasenotes/notes/fix-missing-yarn-files-a9e0f8b0c78def39.yaml b/releasenotes/notes/fix-missing-yarn-files-a9e0f8b0c78def39.yaml new file mode 100644 index 0000000000..2d3d20bb7b --- /dev/null +++ b/releasenotes/notes/fix-missing-yarn-files-a9e0f8b0c78def39.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Fixed Zuul dashboard not loading properly due to javascript dependencies missing.