7 Commits

Author SHA1 Message Date
Steven Dake
4d18dae2eb Remove config-internal from ceilometer
Change-Id: I4f9ae0ac908ae7c7b72270680304bd9554ca1bf7
Partially-Implements: blueprint remove-config-internal
2015-08-09 12:52:22 -07:00
Steven Dake
b84abb9425 Remove config-internal from ceilometer
Change-Id: I273c91d1300c1b30f7263195657e3510975f6f50
Partially-Implements: blueprint remove-config-internal
2015-08-07 22:31:06 -07:00
Swapnil Kulkarni
a0f67f67df Remove /opt/kolla directory creation base images
No need to do a make dir since COPY will create it.
Also removed from service specific base images since
it will not be required.

Change-Id: I15064eaf6e8faa9acbda68eaf3d85589ea9ed3d9
Closes-Bug: #1479176
2015-07-29 03:41:05 +00:00
Swapnil Kulkarni
5c8561b1d7 Change docker ADD file instruction to COPY
Change-Id: I51c042d5947a5f0b30eb8c680ac3a1d97ccc3459
Closes-Bug: #1475155
2015-07-16 09:28:18 +00:00
Swapnil Kulkarni
4c25113d30 Add config-internal/config-external for Ceilometer
Partially Implements: Blueprint standard-start

Change-Id: I0c9fea2014a23ca0b08f9a0946472cc877edacbc
2015-07-09 12:13:25 -04:00
Paul Bourke
897337cdd6 Symlink all non Dockerfile resources in images
The only files in the docker image directories that differ majorly between
distros are the Dockerfiles (e.g. different package manager mechanisms,
different repo sources, etc).

The supporting files such as the start.sh/check.sh and config files should
largely stay the same between base images.

This change moves these files up into a "common" directory, and symlinks them
in the same way that the build script is managed. This means when adding a new
base distro only new Dockerfiles need to be created. Also, if a distro does
happen to require a vastly different start.sh script for example, one can
choose to simply not symlink to the common and instead drop in a custom one.

Implements: blueprint refactor-base-image-layout

Change-Id: Ic4db69d31ff54a1fb95af4853a2e5ae490064284
2015-06-19 17:12:05 +00:00
Sam Yaple
13062e23e8 Restructure builds to allow more flexibility
As a restructure, nothing is changed from the original behaviour and
naming despite the file structure changing. The symlinks to build had
to be updated generating lots of "deleted" and "new_file".

The new structure is:

docker/${base_distro}/${type}/${container}

base_distro == centos, ubuntu, fedora, etc
type == source, binary, rdo

type rdo is a symlink to binary for backwards compatibility

Two new flags are added to the build-all script to support the ability
to support different base distros and a flag to support binary or source
containers.

There are several added folders that are empty to hold the directory
structure for future containers of these types.

To use a prefix other than centos-rdo- you can set PREFIX in the toplevel
directory .buildconf file

Change-Id: Ifc7bac0d827470f506c8b5c004a833da9ce13b90
2015-05-15 01:32:22 -05:00