Remove Prometheus v1 image
Following deprecation in Wallaby cycle, it's now time to remove it. Change-Id: I551b99e9bd5224433bd0ebc64e07f0ce83595ef8
This commit is contained in:
parent
ea6ceef686
commit
e8e8e5296e
@ -1,23 +0,0 @@
|
||||
FROM {{ namespace }}/{{ infra_image_prefix }}prometheus-base:{{ tag }}
|
||||
{% block labels %}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
{% endblock %}
|
||||
|
||||
{% block prometheus_server_header %}{% endblock %}
|
||||
|
||||
{% block prometheus_server_repository_version %}
|
||||
ENV prometheus_version=1.8.2
|
||||
{% endblock %}
|
||||
|
||||
{% block prometheus_server_install %}
|
||||
RUN curl -o /tmp/prometheus.tar.gz https://github.com/prometheus/prometheus/releases/download/v${prometheus_version}/prometheus-${prometheus_version}.linux-{{debian_arch}}.tar.gz \
|
||||
&& tar xvf /tmp/prometheus.tar.gz -C /opt/ \
|
||||
&& rm -f /tmp/prometheus.tar.gz \
|
||||
&& ln -s /opt/prometheus* /opt/prometheus \
|
||||
&& mkdir -p /etc/prometheus /data
|
||||
{% endblock %}
|
||||
|
||||
{% block prometheus_server_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
USER prometheus
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Prometheus v1 image has been removed.
|
Loading…
Reference in New Issue
Block a user