Commit Graph

17 Commits

Author SHA1 Message Date
Michal Nasiadka 750a137815 Move curl sources to sources.py
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
2024-02-21 08:26:52 +00:00
Bartosz Bezak 773c6963e2 Update Prometheus services to latest releases
blackbox_exporter 0.22.0 -> 0.24.0
elasticsearch_exporter 1.5.0 -> 1.6.0
haproxy_exporter 0.13.0 -> 0.15.0
memcached_exporter 0.10.0 -> 0.13.0
mysqld_exporter 0.14.0 -> 0.15.0
node_exporter 1.4.0 -> 1.7.0
ovn_exporter 1.0.6 -> 1.0.7
prometheus 2.38.0 -> 2.48.0
prometheus_alertmanager 0.24.0 -> 0.26.0
prometheus_cadvisor 0.45.0 -> 0.47.2
prometheus_mtail v3.0.0-rc50 -> v3.0.0-rc52
prometheus_msteams 1.5.1 -> 1.5.2

Change-Id: If3f6ff059bedba5c92d97442d77e44aeecef71c4
2023-11-24 13:54:39 +00:00
wuchunyang 26b027f0b3 Bump prometheus services to latest version
blackbox_exporter ->  0.22.0
prometheus_cadvisor ->  0.45.0
elasticsearch_exporter -> 1.5.0
haproxy_exporter -> 0.13.0
prometheus_libvirt_exporter -> 2.3.2
memcached_exporter_version -> 0.10.0
prometheus_msteams -> 1.5.1
prometheus_mtail -> v3.0.0-rc50
mysqld_exporter -> 0.14.0
node_exporter -> 1.3.1
prometheus  -> 2.38.0

Change-Id: I3452e8904992bfb977dcae4084a0d98aab82e221
2022-08-30 16:25:19 +08:00
Marcin Juszkiewicz a1510870e8 drop infra_image_prefix
We have one install_type only now so that infra stuff is not needed
anymore.

Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-04-11 06:22:21 +00:00
Maksim Malchuk 83efe32546 Unify curl use (customisation options)
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>
2022-03-11 15:58:05 +03:00
Piotr Parczewski 2676a66163 Bump up cAdvisor's version
Change-Id: I987ea163e4c4e331e0e2c136b7f55890dd9d469b
2021-06-22 09:06:10 +02:00
Michal Nasiadka ec358f4cf7 Revert "Fix error when github return 302"
This reverts commit 61def281d0.

Reason for revert: --location was already in curlrc and it was unified in change I46b77978926fc2b578a68d1aaa944b2198af0685

Change-Id: I066d747400ede30037ff324ad55430af7c35dc18
2021-03-04 14:51:08 +00:00
Sergei Chekanov 61def281d0 Fix error when github return 302
-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
2021-03-02 17:28:59 +03:00
Michał Nasiadka 22c32a30e6 Unify curl options
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
2020-12-02 18:48:22 +01:00
Marcin Juszkiewicz 90adc2b851 introduce 'infra_image_prefix' for infra images
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.

Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-07-09 23:31:42 +02:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Doug Szumski b534c2219f Update cAdvisor to latest release
Updates cAdvisor to the latest release for x86 arch. See the change
log for more info [1].

[1] https://github.com/google/cadvisor/blob/master/CHANGELOG.md

Change-Id: I0bd4054e3d2aed67fd27453e3cba321764f09dc9
2020-01-23 16:09:17 +00:00
Michal Nasiadka 5e89fbd3b7 Bump up Prometheus and components versions
Change-Id: I846989b16fa7f76b11b309b7a9764cec8aaf538d
2019-02-06 20:11:40 +01:00
Martin André 27bab79096 Download binaries more securely
Obtain binaries from encrypted source when we're unable to check for
their signatures. This should provide better security than downloading
the files over HTTP but does not replace signature verification or file
integrity check.

Related-Bug: #1791674
Change-Id: I7d6eed9ab14ceb130ea4f5f03d893ddaaa0a7acd
2018-09-10 19:19:16 +02:00
Jon Schlueter 2b023ba13e validate-indentation: expand check to also catch macros.install_packages
Fixed up 5 Dockerfile.j2 files that had the issue

Change-Id: I8a5551050a75d64712c36d53573437a18777a82f
2018-07-26 14:51:41 -04:00
Marcin Juszkiewicz e795f8580a cadvisor: add debian/aarch64 support
Use Debian package from unstable on Debian/aarch64. It works in
stretch-backports container fine and saves us from backporting huge pile
of Golang packages.

Change-Id: Ib4dd540446c58ee69bb46b36f5d7968910943e38
2018-06-04 09:14:38 -04:00
Mark Giles 3dc8302717 Add cAdvisor image for Prometheus monitoring.
cAdvisor is a performance monitoring tool for containers which can be used
in conjunction with Prometheus.

Change-Id: Ib329fa30e8ab1c969b3b21bcbccf26bd562b9b83
2018-05-23 12:35:44 -04:00