aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2015-10-13 15:12:52 +0000
committerPaul Bourke <paul.bourke@oracle.com>2015-10-19 13:31:30 +0100
commit592b3bd066a47e38fa83499757960028c64db092 (patch)
tree9cf12c293b3ef60b851d57dcb5cdc02661c10e42 /etc
parent42b34bb782c934714ebd05ce8759ccd1407a4703 (diff)
downloadkolla-592b3bd066a47e38fa83499757960028c64db092.tar.gz
kolla-592b3bd066a47e38fa83499757960028c64db092.zip
Add build profiles to build.py
Add ability to define "profiles" in kolla-build.conf, which are predefined sets of images to build at once. The supplied profiles match what Steven defined in the restructure-template bp, though others can easily be added by the user. Multiple profiles can be supplied at once, as well as supplemented by the existing regex mechanism, e.g. to build profiles infra, main, and also ironic, one can use: tools/build.py --profile infra --profile main ironic Change-Id: I0c6f450152cb23dcfc58e0969669fcedf03fab01 Implements: bp restructure-template Doc-Impact
Diffstat (limited to 'etc')
-rw-r--r--etc/kolla/kolla-build.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/kolla/kolla-build.conf b/etc/kolla/kolla-build.conf
index 537351bfb..468641ce0 100644
--- a/etc/kolla/kolla-build.conf
+++ b/etc/kolla/kolla-build.conf
@@ -36,15 +36,23 @@
# Turn on debugging log level
#debug = False
-# Path to custome file to be addded at beginning of base Dockerfile
+# Path to custom file to be addded at beginning of base Dockerfile
#include_header = /path/to/header_file
-# Path to custome file to be addded at end of Dockerfiles for final images
+# Path to custom file to be addded at end of Dockerfiles for final images
#include_footer = /path/to/footer_file
# The registry host. The default registry host is Docker Hub.
#registry = None
+
+# Preset build profiles can be set here to easily build common sets of images
+[profiles]
+infra = ceph,data,mariadb,haproxy,keepalived,kolla-ansible,memcached,mongodb,openvswitch,rabbitmq
+main = cinder,ceilometer,glance,heat,horizon,keystone,neutron,nova,swift
+aux = designate,gnocchi,ironic,magnum,zaqar
+default = data,kolla-ansible,glance,haproxy,heat,horizon,keystone,memcached,mariadb,neutron,nova,rabbitmq
+
# Provide location of sources for source install builds.
# Example:
#