Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }}
password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }}
- name: build
uses: sysdiglabs/exporter-builder@v1.1
uses: sysdiglabs/exporter-builder@v1.2
with:
exporter: postgresql-exporter
artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
# This action is synced from https://github.com/prometheus/prometheus
version: 1
name: golangci-lint
on:
push:
Expand All @@ -25,11 +26,11 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.7
go-version: 1.25.x
- name: Install snmp_exporter/generator dependencies
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
if: github.repository == 'prometheus/snmp_exporter'
- name: Lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: v1.64
version: v2.4.0
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }}
password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }}
- name: build
uses: sysdiglabs/exporter-builder@v1.1
uses: sysdiglabs/exporter-builder@v1.2
with:
exporter: postgresql-exporter
artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }}
artifactory_username: _json_key
sysdig_secure_token: ${{ secrets.SYSDIG_SECURE_TOKEN }}
tag_name: ${{ github.event.release.tag_name }}
target: ${{ matrix.docker }}
repository: us-docker.pkg.dev
repository: us-docker.pkg.dev
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.24.6 AS base
FROM golang:1.25.1 AS base
ARG VERSION
ARG GIT_COMMIT
ARG DATE
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/prometheus-community/postgres_exporter

go 1.23.0

toolchain go1.23.7
go 1.25.0

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
Expand Down