Update node to v14 and update to new jobs

v14 is the latest lts. Let's use it.

Also - rename the jobs to make it clear what they're doing, and
add a dashboard job that points at opendev's multi-tenat api too.

There are new jobs that default to latest node LTS and auto-detect
yarn vs npm. Update to use them.

Depends-On: https://review.opendev.org/728097
Depends-On: https://review.opendev.org/726547
Change-Id: I5717edea2cd09acc5bce673c38bbe7fa8057a376
This commit is contained in:
Monty Taylor
2020-05-09 13:27:30 -05:00
parent 931eac4030
commit 349991c568
3 changed files with 30 additions and 32 deletions

View File

@@ -2,10 +2,9 @@
roles:
- revoke-sudo
- set-zuul-log-path-fact
- role: npm
npm_command: build
- js-package-manager
environment:
REACT_APP_ZUUL_API: "{{ zuul_api_url }}/api/"
REACT_APP_ZUUL_API: "{% if zuul_api_url is defined %}{{ zuul_api_url }}/api/{% endif %}"
PUBLIC_URL: './'
# NOTE: using "./" is not enough to support html5 links, even with
# rewrite rules for unknown files, accessing 'job/devstack' will make