Adding default configs to build from git repo

Images will be built with sources from master branch of
https://github.com/openstack/heat.git repository by default.

Change-Id: Ib6d5873b107760c025191b26bfcd1b99571f0fa5
Depends-On: I4d91aa8632fcd55735d791300fde475696b435b5
This commit is contained in:
Andrey 2016-08-24 08:09:16 +00:00 committed by Andrey Pavlov
parent b42c088d6e
commit e44bca8182
2 changed files with 15 additions and 13 deletions

View File

@ -1,12 +1,9 @@
FROM {{ namespace }}/openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
RUN curl -o heat-{{ branch }}.tar.gz http://tarballs.openstack.org/heat/heat-{{ branch }}.tar.gz \
&& tar -zxvf heat-{{ branch }}.tar.gz
{{ copy_sources("openstack/heat", "/heat") }}
RUN mv heat*/ heat-{{ branch }}/ \
&& ln -s heat-{{ branch }} /heat \
&& useradd --user-group heat \
RUN useradd --user-group heat \
&& /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c /heat/requirements.txt /heat \
&& mkdir -p /var/lib/heat /etc/heat \
&& chown -R heat: /var/lib/heat /etc/heat \

View File

@ -1,13 +1,18 @@
configs:
heat_api_port: 8004
heat_api_port: 8004
heat_db_username: heat
heat_db_password: password
heat_db_name: heat
heat_db_username: heat
heat_db_password: password
heat_db_name: heat
heat_user: heat
heat_password: password
heat_user: heat
heat_password: password
heat_memcache_secret_key: secret_key
heat_memcache_secret_key: secret_key
heat_debug: false
heat_debug: false
sources:
openstack/heat:
git_url: https://github.com/openstack/heat.git
git_ref: master