Skip to content
Snippets Groups Projects
Commit f36b5aef authored by hparekh's avatar hparekh Committed by hardik
Browse files

Added dockerfiles for mistral.

Change-Id: Ie74a91dccf654da9305722d14af2f0a893dbaaff
Partially-implements: blueprint enable-mistral-container
parent 9e9225d8
No related branches found
No related tags found
No related merge requests found
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{{ include_footer }}
USER mistral
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
mistral-db-manage --config-file /etc/mistral/mistral.conf upgrade head
exit 0
fi
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
{% elif install_type == 'source' %}
ADD mistral-base-archive /mistral-base-source
RUN ln -s mistral-base-source/* mistral \
&& useradd --user-group mistral \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install /mistral \
&& mkdir -p /etc/mistral /var/log/mistral /home/mistral \
&& cp -r /mistral/etc/* /etc/mistral/ \
&& chown -R mistral: /etc/mistral /var/log/mistral /home/mistral
{% endif %}
RUN usermod -a -G kolla mistral
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
{{ include_footer }}
USER mistral
FROM {{ namespace }}/{{ image_prefix }}mistral-base:{{ tag }}
MAINTAINER {{ maintainer }}
{{ include_footer }}
USER mistral
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
[profiles] [profiles]
infra = ceph,data,mariadb,haproxy,keepalived,kolla-ansible,memcached,mongodb,openvswitch,rabbitmq,rsyslog infra = ceph,data,mariadb,haproxy,keepalived,kolla-ansible,memcached,mongodb,openvswitch,rabbitmq,rsyslog
main = cinder,ceilometer,glance,heat,horizon,keystone,neutron,nova,swift main = cinder,ceilometer,glance,heat,horizon,keystone,neutron,nova,swift
aux = aodh,designate,gnocchi,ironic,magnum,trove,zaqar aux = aodh,designate,gnocchi,ironic,magnum,mistral,trove,zaqar
default = data,kolla-ansible,glance,haproxy,heat,horizon,keepalived,keystone,memcached,mariadb,neutron,nova,openvswitch,rabbitmq,rsyslog default = data,kolla-ansible,glance,haproxy,heat,horizon,keepalived,keystone,memcached,mariadb,neutron,nova,openvswitch,rabbitmq,rsyslog
gate = ceph,cinder,data,dind,glance,haproxy,heat,horizon,keepalived,keystone,kolla-ansible,mariadb,memcached,neutron,nova,openvswitch,rabbitmq,rsyslog gate = ceph,cinder,data,dind,glance,haproxy,heat,horizon,keepalived,keystone,kolla-ansible,mariadb,memcached,neutron,nova,openvswitch,rabbitmq,rsyslog
...@@ -121,6 +121,10 @@ location = http://tarballs.openstack.org/keystone/keystone-master.tar.gz ...@@ -121,6 +121,10 @@ location = http://tarballs.openstack.org/keystone/keystone-master.tar.gz
type = url type = url
location = http://tarballs.openstack.org/magnum/magnum-master.tar.gz location = http://tarballs.openstack.org/magnum/magnum-master.tar.gz
[mistral-base]
type = url
location = http://tarballs.openstack.org/mistral/mistral-master.tar.gz
[murano-base] [murano-base]
type = url type = url
location = http://tarballs.openstack.org/murano/murano-master.tar.gz location = http://tarballs.openstack.org/murano/murano-master.tar.gz
......
...@@ -42,7 +42,8 @@ class BuildTest(base.BaseTestCase): ...@@ -42,7 +42,8 @@ class BuildTest(base.BaseTestCase):
excluded_images = ["gnocchi-base", excluded_images = ["gnocchi-base",
"murano-base", "murano-base",
"ironic-pxe", "ironic-pxe",
"ironic-discoverd"] "ironic-discoverd",
"mistral-base"]
failures = 0 failures = 0
for image, result in six.iteritems(bad_results): for image, result in six.iteritems(bad_results):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment