kolla-ansible/etc/kolla/kolla-build.conf
Kuo-tung Kao 52b7253811 add "registry" flag to "tools/build.py"
With registry flag,
build image using `tools/build.py --registry 172.22.2.81:4000`
the image name looks like `172.22.2.81:4000/kollaglue/data`
When user use kolla-ansible,
user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`.

Build image using `tools/build.py -n abcd`
the image name looks like `abcd/data`
When user use kolla-ansible,
user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`.

build image using `tools/build.py -n abcd --registry 172.22.2.81:4000`
the image name looks like `abcd/data`
When user use kolla-ansible,
user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`.
user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`.

With the feature, it will reduce user confusing and mistaking.

Change-Id: I18ac7a3ccec032888e35f5e9a79fc190760cc8a0
Closes-Bug: #1505056
2015-10-17 10:08:03 +08:00

124 lines
2.8 KiB
Plaintext

# Configuration for kolla build script
[kolla-build]
# The Docker namespace name
#namespace = kollaglue
# The Docker tag
#tag = latest
# The base distro to use when building
#base = centos
# The base distro image tag
#base_tag = latest
# The method of the OpenStack install
#install_type = binary
# Do not use Docker cache when building
#no_cache = False
# Keep failed intermediate containers
#keep = False
# Push images after building
#push = False
# The number of threads to use while building
# Note: setting to one will allow real time logging
#threads = 8
# The number of times to retry while building
#retries = 3
# Turn on debugging log level
#debug = False
# Path to custome 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
#include_footer = /path/to/footer_file
# The registry host. The default registry host is Docker Hub.
#registry = None
# Provide location of sources for source install builds.
# Example:
#
# [image-name]
# type = url
# location: http://address/of/archive.tgz
#
# [another-image-name]
# type = git
# location: git://address/of/repository.git
# reference: stable # git reference to pull, commit sha, tag or branch name
# # pulls from master branch unless specified otherwise
[ceilometer-base]
type = url
location = http://tarballs.openstack.org/ceilometer/ceilometer-master.tar.gz
[cinder-base]
type = url
location = http://tarballs.openstack.org/cinder/cinder-master.tar.gz
[designate-base]
type = url
location = http://tarballs.openstack.org/designate/designate-master.tar.gz
[glance-base]
type = url
location = http://tarballs.openstack.org/glance/glance-master.tar.gz
[gnocchi-base]
type = url
location = http://tarballs.openstack.org/gnocchi/gnocchi-master.tar.gz
[heat-base]
type = url
location = http://tarballs.openstack.org/heat/heat-master.tar.gz
[horizon]
type = url
location = http://tarballs.openstack.org/horizon/horizon-master.tar.gz
[ironic-base]
type = url
location = http://tarballs.openstack.org/ironic/ironic-master.tar.gz
[keystone]
type = url
location = http://tarballs.openstack.org/keystone/keystone-master.tar.gz
[magnum-base]
type = url
location = http://tarballs.openstack.org/magnum/magnum-master.tar.gz
[murano-base]
type = url
location = http://tarballs.openstack.org/murano/murano-master.tar.gz
[neutron-base]
type = url
location = http://tarballs.openstack.org/neutron/neutron-master.tar.gz
[nova-base]
type = url
location = http://tarballs.openstack.org/nova/nova-master.tar.gz
[nova-novncproxy]
type = url
location = http://github.com/kanaka/noVNC/tarball/v0.5.1
[swift-base]
type = url
location = http://tarballs.openstack.org/swift/swift-master.tar.gz
[zaqar]
type = url
location = http://tarballs.openstack.org/zaqar/zaqar-master.tar.gz