aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Bezak <bartosz@stackhpc.com>2024-08-23 11:10:07 +0200
committerBartosz Bezak <bartosz@stackhpc.com>2024-08-23 11:10:53 +0200
commita2c07b3c2bdfe16e4f2ebe52616b08189f6b5af7 (patch)
tree8a38ac65081c441841a9d8bdaa54b38b6a605aeb
parent8f6bc332bfe84275836c9153ebab6902041ca83a (diff)
downloadkolla-a2c07b3c2bdfe16e4f2ebe52616b08189f6b5af7.tar.gz
kolla-a2c07b3c2bdfe16e4f2ebe52616b08189f6b5af7.zip
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
-rw-r--r--docker/prometheus/prometheus-msteams/Dockerfile.j219
-rw-r--r--kolla/common/sources.py10
-rw-r--r--kolla/image/unbuildable.py1
-rw-r--r--releasenotes/notes/drop-prometheus-msteams-1ead141af684ada1.yaml8
4 files changed, 8 insertions, 30 deletions
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
+ <https://prometheus.io/docs/alerting/latest/configuration/#msteams_config>`__
+ for continued support and features.