Browse Source

Add designate-dashboard support

Add designate-dashboard repo and panels to support
designate service.

Change-Id: Ie86412c7fd16ea31fc27068e9a845595d25206c2
Razumovsky Peter 2 years ago
parent
commit
889fbf490d
2 changed files with 7 additions and 1 deletions
  1. 4
    1
      docker/horizon/Dockerfile.j2
  2. 3
    0
      service/files/defaults.yaml

+ 4
- 1
docker/horizon/Dockerfile.j2 View File

@@ -11,10 +11,13 @@ RUN apt-get update \
11 11
 {{ copy_sources("openstack/sahara-dashboard", "/sahara-dashboard") }}
12 12
 {{ copy_sources("openstack/murano-dashboard", "/murano-dashboard") }}
13 13
 {{ copy_sources("openstack/searchlight-ui", "/searchlight-ui") }}
14
+{{ copy_sources("openstack/designate-dashboard", "/designate-dashboard") }}
14 15
 
15 16
 RUN mkdir -p /etc/openstack-dashboard /home/horizon /var/www/cgi-bin/horizon /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d \
16 17
              /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/conf \
17 18
     && cp -a /sahara-dashboard/sahara_dashboard/enabled/* /horizon/openstack_dashboard/local/enabled/ \
19
+    && cp -a /designate-dashboard/designatedashboard/enabled/_1710_project_dns_panel_group.py /horizon/openstack_dashboard/local/enabled/ \
20
+    && cp -a /designate-dashboard/designatedashboard/enabled/_1720_project_dns_panel.py /horizon/openstack_dashboard/local/enabled/ \
18 21
     && cp -a /searchlight-ui/searchlight_ui/enabled/_1001_project_search_panel.py /horizon/openstack_dashboard/local/enabled/ \
19 22
     && (if [ -d /murano-dashboard/muranodashboard/conf ]; then \
20 23
        cp -r /murano-dashboard/muranodashboard/conf/* /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/conf/; fi) \
@@ -29,7 +32,7 @@ RUN mkdir -p /etc/openstack-dashboard /home/horizon /var/www/cgi-bin/horizon /va
29 32
         cp -a /searchlight-ui/searchlight_ui/conf/searchlight_policy.json /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/conf/; fi) \
30 33
     && (if [ -f /searchlight-ui/searchlight_ui/local_settings.d/_1001_search_settings.py ]; then \
31 34
         cp -a /searchlight-ui/searchlight_ui/local_settings.d/_1001_search_settings.py /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.d/; fi) \
32
-    && /var/lib/microservices/venv/bin/pip install --upgrade /horizon /sahara-dashboard /murano-dashboard /searchlight-ui \
35
+    && /var/lib/microservices/venv/bin/pip install --upgrade /horizon /sahara-dashboard /murano-dashboard /searchlight-ui /designate-dashboard \
33 36
     && useradd --user-group horizon \
34 37
     && ln -s /etc/openstack-dashboard/local_settings /var/lib/microservices/venv/lib/python2.7/site-packages/openstack_dashboard/local/local_settings.py \
35 38
     && cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \

+ 3
- 0
service/files/defaults.yaml View File

@@ -23,3 +23,6 @@ sources:
23 23
   openstack/searchlight-ui:
24 24
     git_url: https://git.openstack.org/openstack/searchlight-ui.git
25 25
     git_ref: stable/newton
26
+  openstack/designate-dashboard:
27
+    git_url: https://git.openstack.org/openstack/designate-dashboard.git
28
+    git_ref: stable/newton

Loading…
Cancel
Save