| Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch adds a way to patch files in a Docker
image built by Kolla. This is very useful for several
reasons, specifically:
- Custom modifications
- The stable branch of some library has a fix but no pip
package has been released
- Eliminates the need to package your own pip packages
- Eliminates the need to invent your own versioning to prevent
upstream versioning
- Eliminates the need to manage a pip server
- In other words, it eliminates the need to get a wheel into
the image and install it manually using any method not
previously mentioned
It is also highly desirable because, although Kolla can replace
the source for a service with a custom URL for a tarball or its
own Git repo, it cannot do this for dependencies pulled from pip.
I would also like to point out that this is a feature with its own
code path and works only if the user "inserts" a patch into the folder
patches/docker-image/something.patch and creates an analogous series
file for patch source code.
Simply said, this code will never interfere with the upstream build process
since this feature is not intended for use in upstream.
It is rather meant for downstream users who know what they are doing.
Now they just have an option to patch their images.
Everything works on all layers of the Docker image and stores a report
of applied patches which can then be seen in /etc.
This mechanism is similar as debian patch quilt.
Change-Id: I61d0790c5d4d070b7ea9e8c99c0a76ff5d22bf9d
|
|
Move most curl sources to sources.py, so it can be automatically
updated in future.
This also makes overriding the versions/locations/sha256 easier.
Change-Id: Ib3497fe96162ae190e5c113cacaaa3ef8334f590
|
|
Change-Id: I4bd581c3ea422e1c9a075a71721413d47fdbdfe4
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828902
|
|
We have one install_type only now so that infra stuff is not needed
anymore.
Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
|
|
This change adds and unifies an ability to override hardcoded URLs for
air-gapped environments via the usual blocks mechanism. Also, this
change replaces ENV with ARG instruction for the variables used only
in building images, and uses bash variable expansion where it possible.
This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685
Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
|
|
This reverts commit 61def281d077f88051d1b1a14dfdbfabac036c8c.
Reason for revert: --location was already in curlrc and it was unified in change I46b77978926fc2b578a68d1aaa944b2198af0685
Change-Id: I066d747400ede30037ff324ad55430af7c35dc18
|
|
-L for curl: If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place
It fixes build error for me:
INFO:kolla.common.utils.prometheus-v2-server: ---> Running in 693fd4095c77
INFO:kolla.common.utils.prometheus-v2-server:curl (https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometheus-2.23.0.linux-amd64.tar.gz): response: 302, time: 0.166583, size: 640
INFO:kolla.common.utils.prometheus-v2-server:
INFO:kolla.common.utils.prometheus-v2-server:gzip: stdin: not in gzip format
INFO:kolla.common.utils.prometheus-v2-server:
INFO:kolla.common.utils.prometheus-v2-server:tar: Child returned status 1
INFO:kolla.common.utils.prometheus-v2-server:tar: Error is not recoverable: exiting now
Change-Id: I095ca6f34cc7c7bca485e9ec019cc52aeb8e3ff4
|
|
Change-Id: Ie54703e6ecf6a3332ef6f769fa500091068ea155
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
|
|
Currently we use couple of curl options throughout Dockerfiles, this change
adds all common options to curlrc (-sSLf) and removes usage of those in
Dockerfiles.
Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
|
|
Change-Id: I19edf083c2f96098773d1198796e60cb8679eb4d
|
|
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.
Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
|
|
Change-Id: Ia2306507d6ef97f01ff520dc4222bc48c1eb9843
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
|
|
v1.0.0 has been released, use that release as a
base for prometheus_openstack_exporter.
Change-Id: I6b8bb18633fd277f3ab46788fa76bb4af67f5942
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
|
|
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
|
|
There appears to be a bug in the prometheus openstack exporter versions
<= 0.2.1 causing cinder data to stop being collected after about 24
hours.
Bumping to latest stable version 0.6.0.
Change-Id: Iccaf4c0bb79e7e33072e37aa83711b37938d6719
Signed-off-by: Keith Plant <kplantjr@gmail.com>
|
|
Bump the default version to 0.2.1 of the
openstack-exporter.
Change-Id: I6e893c25a9dfbbbac6bd69f2fa26e6c72a4154d7
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
|
|
Version 0.0.9 has been released, also the default organization
has been changed to its own org[0].
[0] https://github.com/openstack-exporter/openstack-exporter
Change-Id: Ib82810a8d33dd91d28537058e873724a22067103
Signed-off-by: Jorge Niedbalski <niedbalski@gmail.com>
|
|
This commit bumps the prometheus-openstack-exporter
version to the latest release 0.0.7.
Change-Id: I4244f15d4eae4bc670cb2158ecf072781fd4c2ac
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
|
|
Many images have 'if x86_64 then amd64 elif aarch64 then arm64' check to
comply with Debian like architecture names in several projects.
This patch creates 'debian_arch' variable which can be used in all
Docker files (similar to 'base_arch' one).
All required images got converted to use it.
Change-Id: I9c5e6f13d6c9b24fe323408512bd5aef290111ad
|
|
This commit bumps the prometheus-openstack-exporter
version to the latest release 0.0.5.
Change-Id: I8cd77c4973722cd7622ffc7a1833c6ed76ffd630
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
|
|
This commit adds the base image for openstack-exporter [0].
The selected exporter is released for amd64 and arm64
architectures.
[0] https://github.com/Linaro/openstack-exporter
Change-Id: Ic785711421c6af9d3e7c67f01c57c660501fbcee
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
|