kolla-ansible/etc/kolla/kolla-build.conf
Paul Bourke 72a8f5aabd Use openstack/requirements for repeatable builds
Add this repo to the openstack-base image, and use the upper-constraints
to install the client packages. Will follow up with dependant patches
for the child images to reduce the risk of breaking everything at once.

--

Background:

Many dependencies in the requirements.txt of OpenStack components have
quite loose version requirements, in many cases they will just specify a
minimum version (e.g. WebOb>=1.2.3).

The result of this is that given a Kolla image for Keystone built today,
another build of the exact same ref of Keystone could be broken
tomorrow, due to it picking up a later unsupported dependency.

The https://github.com/openstack/requirements repo exists to bring some
sanity to this situation. (It also outlines other problems it solves in
it's readme).

We also may like to checkout the stable/liberty branch of this project
in our liberty branch, once it appears.

Change-Id: Iccb4e99f8e4b6659a19c1817d0f4c697824af25c
Partial-Bug: #1505306
2015-10-15 12:07:48 +01:00

127 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
# 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
[openstack-base]
type = git
location = https://github.com/openstack/requirements.git
reference = master
[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