zuul: Use ./ for PUBLIC_URL when building in CI

Change-Id: I21fd853ad2831cc6fe9b1e873e7c412f7114e3f4
This commit is contained in:
David Moreau Simard
2020-04-20 09:26:42 -04:00
parent 5357f8bc32
commit e58ca484f0

View File

@@ -5,3 +5,10 @@
- set-zuul-log-path-fact
- role: npm
npm_command: build
environment:
PUBLIC_URL: './'
# NOTE: using "./" is not enough to support html5 links, even with
# rewrite rules for unknown files, accessing 'job/devstack' will make
# the dashboard load static files from 'job/static/...'
# This works for the preview dashboard that can only be loaded from the
# npm/html directory anyway.