| Age | Commit message (Collapse) | Author | Files | Lines |
|
1. Move setup_docker.sh to tools directory
2. Make a setup_gate.sh that installs necessary packages including
docker and starts docker.
3. Add logging output.
4. Add default test timeout of 2 hours.
5. Add user to the docker group before running test cases.
6. Run image build as dockerroot group.
This patch has to be one commit to fix the gate in one go.
Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
(cherry picked from commit 78b27e3e6017ceda4e15c5b2c87516ec3750fd98)
|
|
Use kilo upstream RPM packages
Partially-implements: blueprint port-kilo
Change-Id: Ia0b4db5dc8e40c01184871e77458dc718c3c46cd
|
|
This represents the Juno release of the images.
Partially-implements: blueprint port-kilo
Change-Id: I2837ec25a2aa093b7fff7519f3ed608ec93736bf
|
|
Introduce a new --no-use-released-parent option to `build-docker-image`
that allows specifying whether the parent image uses the same tag as
the one that's currently build or the release tag.
Default is to use the release tag for parent image, however
`build-all-docker-images` script forces it to be the current tag.
Change to Dockerfile is coming next.
Change-Id: Ief11c9abb722c181ca85f38ee11800dbf4332a5f
|
|
Previously, Fedora was set as the default image prefix. Since our
reference architecture focuses on CentOS, the default image prefix
has been changed accordingly.
Change-Id: I794ac1aa035d793204fa315752ae8188ce872a3e
|
|
|
|
By changing the PREFIX variable in the .buildconf one is now able to
build docker images from different bases.
For example, add the following line to your .buildconf file to build
CentOS based images:
PREFIX=centos-rdo-
Default base image is Fedora. For now only RH family is supported.
Additionally, changing the namespace either with the NAMESPACE variable
in .buildconf or via --namespace commandline option now changes the
source namespace as well from the default kollaglue one.
Implements: blueprint multi-baseos
Co-Authored-By: Steven Dake <stdake@cisco.com>
Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
|
|
Make the build scripts work in copies of Kolla so that developers can
continue working while a build is is progress, which can be very long
in the case of build-all-docker-images.
Change-Id: I1b5d9b59ed34dfa622a42495e07d9a1d2ecde86e
|
|
This patch permits symlinks in the docker build. Normally docker
does not permit symlinked files in the build context sent to the
docker server. To work around this problem, a secure directory
is created in /tmp and the container contents are copied to that
directory. Any symlinks are turned into their non-symlinked
equivalents.
Change-Id: I38cd5aeed4c73b90449354a0979fc6ddf7891ccb
Implements-blueprint: linked-build
|
|
|
|
It is usually considered good practice for a script to respond to both
short style `-h` and long style `--help` options to display help
message.
This commits adds support for short style `-h` option.
Change-Id: I8426b5ec136d08b3a476beea3cb983089e08c401
|
|
Source .buildconf file in $IMGDIR last in order to prevent silently
overloading configuration by the less specific $TOPDIR/.buildconf.
Change-Id: Ia38101b6d4743b454dc2c8ba48d3b55af47ed53b
|
|
Record the image directory path to a variable and use it instead of the
current directory to allow the build script to work independently of the
location.
Closes-Bug: 1398648
Change-Id: I84c52e41e43af10998f8e9267ccc059eca716c1c
|
|
- fix typo in --namespace option
build-docker-image had a missing '$' in the code that handled the
--namespace option.
- force builds to kollaglue namespace with 'latest' tag to use
the --release flag
- build IMAGE after config and options processing to permit overriding
PREFIX in .buildconf
Change-Id: Icf70b33080ef19643f133f2b6f60087c524bd4fb
|
|
This patch replaces the collection of individual "build" scripts with a
single script (tools/build-docker-image), made available as "build"
inside each image directory.
The build-docker-image script will, by default, build images tagged with
the current commit id in order to prevent developers from accidentally
stepping on each other or on release images.
Documentation in docs/image-building.md describes the script in more
detail.
Change-Id: I444d5c2256a85223f8750a0904cb4b07f18ab67f
|