adding bionic support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / congress.yaml
index 8e75826..a96951a 100644 (file)
@@ -1,20 +1,17 @@
     congress:
       charm: "./{{ ubuntu.release }}/congress"
       num_units: 1
+{% if os.service.bindings %}
       bindings:
-        internal: internal
-{% if opnfv.spaces_dict.data is defined %}
-        admin: admin
-{% else %}
-        admin: internal
-{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
-        public: public
-{% else %}
-        public: internal
+        "": *oam-space
+        internal: *internal-space
+        admin: *admin-space
+        shared-db: *internal-space
+        public: *public-space
 {% endif %}
+      series: {{ ubuntu.release }}
       options:
-        region: {{ os.region }}
+        region: *openstack-region
 {% if ubuntu.release == 'trusty' %}
         source-branch: "stable/{{ os.release  }}"
 {% endif %}