Files
zuul/playbooks/dashboard/run.yaml
Monty Taylor b575389633 Revert "Revert "Upgrade from angularjs (v1) to angular (v6)""
This reverts commit fc1a71f69f.

This time with better handling for base hrefs.

Change-Id: I530b6ff0a4da0546584d0c93bf6e0bb716a9dbc3
2018-06-27 08:37:25 -05:00

19 lines
615 B
YAML

- hosts: all
roles:
- revoke-sudo
- set-zuul-log-path-fact
# Both sets of quotes are required.
# The "" quotes are for the shell to protect the '' quotes.
# We need the '' quotes because defines here are essentially
# direct string substitutions. Therefore:
# --define "ZUUL_API_URL='https://zuul.openstack.org'"
# with the javascript code:
# return ZUUL_API_URL
# results in
# return 'https://zuul.openstack.org'
# in the compiled javascript.
- role: npm
npm_command: >-
build:dist --
--define "ZUUL_API_URL='{{ zuul_api_url }}'"