Add build from source for Ceilometer

Change-Id: Iff364dfeb622f84dc797ff6f2846ee18075da856
Partially-implements: blueprint install-from-source
This commit is contained in:
Swapnil Kulkarni 2015-07-16 07:38:33 +00:00
parent 922093044e
commit f8c2e0d9bb
34 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-alarm/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-alarm/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-alarm/start.sh

View File

@ -0,0 +1,6 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-api/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-api/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-api/start.sh

View File

@ -0,0 +1,10 @@
# Build info specific to this image. All values can be overridden in .buildconf
COMPONENT=ceilometer
SOURCE_INSTALL_AVAILABLE=1
# Used for git install method
: ${CLONE_FROM:=https://github.com/openstack/ceilometer}
# Used for curl install method
: ${TARBALL_URI:=http://tarballs.openstack.org/ceilometer/ceilometer-master.tar.gz}

View File

@ -0,0 +1,17 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./ceilometer.tar /
RUN ln -s /ceilometer-* /ceilometer
RUN cd /ceilometer \
&& useradd --user-group ceilometer \
&& pip install -r requirements.txt \
&& pip install /ceilometer \
&& mkdir /etc/ceilometer /var/log/ceilometer \
&& cp -r /ceilometer/etc/* /etc/ceilometer/ \
&& rm -rf /root/.cache
COPY config-ceilometer.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-base/config-ceilometer.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-central/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-central/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-central/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-collector/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-collector/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-collector/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-compute/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-compute/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-compute/start.sh

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-notification/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-notification/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/ceilometer/ceilometer-notification/start.sh