summaryrefslogtreecommitdiff
path: root/playbooks/dashboard/run.yaml
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2020-05-09 13:27:30 -0500
committerMonty Taylor <mordred@inaugust.com>2020-05-20 14:25:47 -0500
commit349991c5686b47c72fed1cd8123f8caf72ac422e (patch)
treefda0757b4498df9bbb6b0023e9254bdb7360b829 /playbooks/dashboard/run.yaml
parent931eac4030cc7e8e1a13a1e32947db90f37219a5 (diff)
downloadzuul-349991c5686b47c72fed1cd8123f8caf72ac422e.tar.gz
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
Diffstat (limited to 'playbooks/dashboard/run.yaml')
-rw-r--r--playbooks/dashboard/run.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/playbooks/dashboard/run.yaml b/playbooks/dashboard/run.yaml
index 025577cf8..6007c00b8 100644
--- a/playbooks/dashboard/run.yaml
+++ b/playbooks/dashboard/run.yaml
@@ -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