1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-10-31 09:10:25 +03:00
* Update minimum supported Go to 1.24.0.
* Update Go build to 1.25.x.
* Update PostgreSQL testing versions.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2025-09-30 00:57:16 -07:00
committed by GitHub
parent 320b684f3d
commit a95b518a68
4 changed files with 10 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ executors:
# This must match .promu.yml. # This must match .promu.yml.
golang: golang:
docker: docker:
- image: cimg/go:1.24 - image: cimg/go:1.25
jobs: jobs:
test: test:
@@ -23,7 +23,7 @@ jobs:
integration: integration:
docker: docker:
- image: cimg/go:1.24 - image: cimg/go:1.25
- image: << parameters.postgres_image >> - image: << parameters.postgres_image >>
environment: environment:
POSTGRES_DB: circle_test POSTGRES_DB: circle_test
@@ -57,13 +57,11 @@ workflows:
matrix: matrix:
parameters: parameters:
postgres_image: postgres_image:
- circleci/postgres:11 - cimg/postgres:13.22
- circleci/postgres:12 - cimg/postgres:14.19
- circleci/postgres:13 - cimg/postgres:15.14
- cimg/postgres:14.9 - cimg/postgres:16.10
- cimg/postgres:15.4 - cimg/postgres:17.6
- cimg/postgres:16.0
- cimg/postgres:17.0
- prometheus/build: - prometheus/build:
name: build name: build
parallelism: 3 parallelism: 3

View File

@@ -1,6 +1,6 @@
go: go:
# This must match .circle/config.yml. # This must match .circle/config.yml.
version: 1.24 version: 1.25
repository: repository:
path: github.com/prometheus-community/postgres_exporter path: github.com/prometheus-community/postgres_exporter
build: build:

View File

@@ -7,7 +7,7 @@
Prometheus exporter for PostgreSQL server metrics. Prometheus exporter for PostgreSQL server metrics.
CI Tested PostgreSQL versions: `11`, `12`, `13`, `14`, `15`, `16`, `17`. CI Tested PostgreSQL versions: `13`, `14`, `15`, `16`, `17`.
## Quick Start ## Quick Start
This package is available for Docker: This package is available for Docker:

4
go.mod
View File

@@ -1,8 +1,6 @@
module github.com/prometheus-community/postgres_exporter module github.com/prometheus-community/postgres_exporter
go 1.23.0 go 1.24.0
toolchain go1.24.1
require ( require (
github.com/DATA-DOG/go-sqlmock v1.5.2 github.com/DATA-DOG/go-sqlmock v1.5.2