Skip to content

Commit

Permalink
issue-753: update mysqld_exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
shunki-fujita committed Nov 13, 2024
1 parent dbd1351 commit 6693ced
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 69 deletions.
1 change: 0 additions & 1 deletion containers/mysqld_exporter/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*
!mysql84.patch
5 changes: 1 addition & 4 deletions containers/mysqld_exporter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
# Stage1: build from source
FROM ghcr.io/cybozu/golang:1.22-jammy AS build

ARG MYSQLD_EXPORTER_VERSION=v0.15.1

COPY mysql84.patch .
ARG MYSQLD_EXPORTER_VERSION=v0.16.0

RUN git clone -b ${MYSQLD_EXPORTER_VERSION} --depth 1 https://github.com/prometheus/mysqld_exporter \
&& patch -d mysqld_exporter -Np1 < mysql84.patch \
&& make -C mysqld_exporter build

# Stage2: setup runtime container
Expand Down
2 changes: 1 addition & 1 deletion containers/mysqld_exporter/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.1.2
0.16.0.1
63 changes: 0 additions & 63 deletions containers/mysqld_exporter/mysql84.patch

This file was deleted.

0 comments on commit 6693ced

Please sign in to comment.