Revert "Upgrade from angularjs (v1) to angular (v6)"

This reverts commit 36aecc1229.
This reverts commit 683f50ed55.

This caused zuul.openstack.org to attempt to GET "https://api/status".

Change-Id: Ib25356f7ea5bfeec84e91195ac161d497f74d73d
This commit is contained in:
James E. Blair
2018-06-27 00:52:12 +00:00
committed by James E. Blair
parent 640fde3545
commit fc1a71f69f
50 changed files with 842 additions and 1781 deletions

View File

@@ -1,11 +0,0 @@
- hosts: all
tasks:
- name: Make symlinks to allow multi-tenant preview to work
file:
src: .
dest: '{{ zuul.project.src_dir }}/{{ javascript_content_dir }}/{{ item }}'
state: link
with_items:
- local
- t

View File

@@ -1,18 +0,0 @@
- 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 }}'"