Skip to content

Commit

Permalink
Update go package upgrades (#60)
Browse files Browse the repository at this point in the history
* Update go package upgrades

* ODD-220 removed prometheus log and replaced it with zap

* alpine update

* changed to global logger in main

---------

Co-authored-by: cablunar <cabl@lunar.app>
  • Loading branch information
lunar-renovate and cablunar authored Feb 22, 2023
1 parent ec76983 commit 71956f0
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 427 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM golang:1.20.0 as builder
FROM golang:1.20.1 as builder

WORKDIR /src
ENV CGO_ENABLED=0
ENV GOOS=linux
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17.1 as builder
FROM alpine:3.17.2 as builder

RUN apk update
RUN apk add ca-certificates
Expand All @@ -7,4 +7,4 @@ FROM scratch

ENTRYPOINT [ "/humio_exporter" ]
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY humio_exporter /
COPY humio_exporter /
33 changes: 19 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
module github.com/lunarway/humio_exporter

go 1.17
go 1.20

require (
github.com/prometheus/client_golang v1.10.0
github.com/prometheus/common v0.25.0
github.com/prometheus/client_golang v1.14.0
go.uber.org/zap v1.24.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/sirupsen/logrus v1.6.0 // indirect
golang.org/x/sys v0.0.0-20210309074719-68d13333faf2 // indirect
google.golang.org/protobuf v1.23.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.40.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/sys v0.5.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
)
Loading

0 comments on commit 71956f0

Please sign in to comment.