From a2c07b3c2bdfe16e4f2ebe52616b08189f6b5af7 Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Fri, 23 Aug 2024 11:10:07 +0200 Subject: Drop prometheus-msteams container images The prometheus-msteams project is no longer maintained [1]. As a result we are removing its associated container images from our repository. Users are encouraged to switch to the native Prometheus Alertmanager integration with Microsoft Teams [2], which offers ongoing support and features. [1] https://github.com/prometheus-msteams/prometheus-msteams/issues/343 [2] https://prometheus.io/docs/alerting/latest/configuration/#msteams_config Change-Id: I66421b14668722607b58865a2ad100204fd387f7 --- docker/prometheus/prometheus-msteams/Dockerfile.j2 | 19 ------------------- kolla/common/sources.py | 10 ---------- kolla/image/unbuildable.py | 1 - .../drop-prometheus-msteams-1ead141af684ada1.yaml | 8 ++++++++ 4 files changed, 8 insertions(+), 30 deletions(-) delete mode 100644 docker/prometheus/prometheus-msteams/Dockerfile.j2 create mode 100644 releasenotes/notes/drop-prometheus-msteams-1ead141af684ada1.yaml diff --git a/docker/prometheus/prometheus-msteams/Dockerfile.j2 b/docker/prometheus/prometheus-msteams/Dockerfile.j2 deleted file mode 100644 index e05eb20b6..000000000 --- a/docker/prometheus/prometheus-msteams/Dockerfile.j2 +++ /dev/null @@ -1,19 +0,0 @@ -FROM {{ namespace }}/{{ image_prefix }}prometheus-base:{{ tag }} -{% block labels %} -LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" -{% endblock %} - -{% block prometheus_msteams_header %}{% endblock %} - -{% block prometheus_msteams_install %} -ADD prometheus-msteams-archive /prometheus-msteams-source - -RUN cp /prometheus-msteams-source /opt/prometheus-msteams \ - && chmod 0755 /opt/prometheus-msteams \ - && mkdir -p /etc/msteams -{% endblock %} - -{% block prometheus_msteams_footer %}{% endblock %} -{% block footer %}{% endblock %} - -USER prometheus diff --git a/kolla/common/sources.py b/kolla/common/sources.py index 5ba79d5a3..354b424d5 100644 --- a/kolla/common/sources.py +++ b/kolla/common/sources.py @@ -335,16 +335,6 @@ SOURCES = { 'releases/download/v${version}/' 'memcached_exporter' '-${version}.linux-${debian_arch}.tar.gz')}, - 'prometheus-msteams': { - 'version': '1.5.2', - 'type': 'url', - 'sha256': { - 'amd64': '0f4df9ee31e655d1ec876ea2c53ab5ae5b07143ef21b9190e61b4d52839e135c'}, # noqa: E501 - 'location': ('https://github.com/' - 'prometheus-msteams/prometheus-msteams/' - 'releases/download/v${version}/' - 'prometheus-msteams' - '-linux-${debian_arch}')}, 'prometheus-mtail': { 'version': '3.0.0-rc54', 'type': 'url', diff --git a/kolla/image/unbuildable.py b/kolla/image/unbuildable.py index 8a6eb5250..826316c26 100644 --- a/kolla/image/unbuildable.py +++ b/kolla/image/unbuildable.py @@ -17,7 +17,6 @@ UNBUILDABLE_IMAGES = { 'aarch64': { "bifrost-base", # someone need to get upstream working first - "prometheus-msteams", # no aarch64 binary "prometheus-mtail", # no aarch64 binary }, diff --git a/releasenotes/notes/drop-prometheus-msteams-1ead141af684ada1.yaml b/releasenotes/notes/drop-prometheus-msteams-1ead141af684ada1.yaml new file mode 100644 index 000000000..1608a7230 --- /dev/null +++ b/releasenotes/notes/drop-prometheus-msteams-1ead141af684ada1.yaml @@ -0,0 +1,8 @@ +--- +upgrade: + - | + The ``prometheus-msteams`` container images have been removed as the + project is no longer maintained. Users should migrate to the `native + Prometheus Alertmanager integration with Microsoft Teams + `__ + for continued support and features. -- cgit v1.2.3