Skip to content

Commit 3349f85

Browse files
committed
golang 1.25
1 parent 706676f commit 3349f85

File tree

10 files changed

+79
-548
lines changed

10 files changed

+79
-548
lines changed

charts/keepup/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: keepup
3-
version: 1.0.3
4-
appVersion: 1.0.1
3+
version: 1.1.0
4+
appVersion: 1.1.0

charts/keepup/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ main:
77

88
redis:
99
enabled: true
10-
image: "redis:6.2.7"
10+
image: "redis:8.2.3"
1111
pullPolicy: "IfNotPresent"
1212

1313
ingress:

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16.0-buster AS builder
1+
FROM golang:1.25.5-trixie AS builder
22
ARG BUILD_VERSION='v1.2.3'
33
ENV LISTEN_PORT=9101
44
WORKDIR /opt/keepup/
@@ -8,7 +8,7 @@ COPY src ./src
88
RUN go mod download
99
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.buildVersion=${BUILD_VERSION}" -a -installsuffix cgo -o keepup src/main.go
1010

11-
FROM debian:buster
11+
FROM debian:trixie
1212
WORKDIR /opt/keepup/
1313
RUN apt-get update \
1414
&& apt-get install -y --no-install-recommends \

go.mod

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
module keepup
22

3-
go 1.16
3+
go 1.25
44

55
require (
6-
github.com/prometheus/client_golang v1.13.0
7-
github.com/joho/godotenv v1.4.0
8-
github.com/google/uuid v1.0.0
9-
github.com/go-redis/redis/v9 v9.0.0-beta.2
6+
github.com/google/uuid v1.6.0
7+
github.com/joho/godotenv v1.5.1
8+
github.com/prometheus/client_golang v1.23.2
9+
github.com/redis/go-redis/v9 v9.17.2
10+
github.com/golang/protobuf v1.5.4
11+
)
12+
13+
require (
14+
github.com/beorn7/perks v1.0.1 // indirect
15+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
16+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
17+
github.com/kr/text v0.2.0 // indirect
18+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
19+
github.com/prometheus/client_model v0.6.2 // indirect
20+
github.com/prometheus/common v0.67.5 // indirect
21+
github.com/prometheus/procfs v0.19.2 // indirect
22+
go.yaml.in/yaml/v2 v2.4.3 // indirect
23+
golang.org/x/sys v0.40.0 // indirect
24+
google.golang.org/protobuf v1.36.11 // indirect
1025
)

go.sum

Lines changed: 49 additions & 533 deletions
Large diffs are not rendered by default.

src/handler/helmscrape.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"log"
99
"time"
1010

11-
"github.com/go-redis/redis/v9"
1211
"github.com/google/uuid"
12+
"github.com/redis/go-redis/v9"
1313
)
1414

1515
type KubernetesCluster struct {

src/handler/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strings"
1010
"sync"
1111

12-
"github.com/go-redis/redis/v9"
1312
"github.com/google/uuid"
13+
"github.com/redis/go-redis/v9"
1414
)
1515

1616
type PackageVersionsHandler struct {

src/handler/osrelease.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"log"
99
"time"
1010

11-
"github.com/go-redis/redis/v9"
1211
"github.com/google/uuid"
12+
"github.com/redis/go-redis/v9"
1313
)
1414

1515
type OsRelease struct {

src/handler/packageversions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/go-redis/redis/v9"
1514
"github.com/google/uuid"
15+
"github.com/redis/go-redis/v9"
1616
)
1717

1818
const UUIDSuffix = "PACKAGE_UUID"

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/prometheus/client_golang/prometheus"
1919
"github.com/prometheus/client_golang/prometheus/promhttp"
2020

21-
"github.com/go-redis/redis/v9"
21+
"github.com/redis/go-redis/v9"
2222
)
2323

2424
var (

0 commit comments

Comments
 (0)