Skip to content

Commit

Permalink
Update dependencies and to Go 1.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Feb 14, 2023
1 parent 935a19b commit 1086d8c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 515 deletions.
12 changes: 6 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
memory: 100MiB

- name: test
image: golang:1.19.3
image: golang:1.19.5
volumes:
- name: cache
path: /go
Expand All @@ -35,7 +35,7 @@ steps:
memory: 2GiB

- name: goreleaser
image: golang:1.19.3
image: golang:1.19.5
resources:
requests:
cpu: 4000
Expand Down Expand Up @@ -79,7 +79,7 @@ steps:
depends_on: [goreleaser]

- name: fury-publish
image: golang:1.19.3
image: golang:1.19.5
resources:
requests:
cpu: 250
Expand Down Expand Up @@ -116,7 +116,7 @@ name: publish-production

steps:
- name: download
image: golang:1.19.3
image: golang:1.19.5
commands:
- ./scripts/download-release ${DRONE_BUILD_PARENT} dist/
resources:
Expand All @@ -128,7 +128,7 @@ steps:
memory: 256MiB

- name: fury-publish
image: golang:1.19.3
image: golang:1.19.5
resources:
requests:
cpu: 250
Expand All @@ -150,6 +150,6 @@ trigger:
- publish
---
kind: signature
hmac: f12874efc1cc21a539cb640615e1138bb2823f6f5c8b28053e44ef5d5a7fe38c
hmac: 3132e86c22e3e51a55da273b3f813d8851ea95969cde8ff885332578ed9e1838

...
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM golang:1.17-alpine3.15 as build
FROM golang:1.19.5-alpine as build

RUN apk add --no-cache git tar

WORKDIR /go/src/github.com/abh/geodns

ENV CGO_ENABLED=0

ADD vendor/ vendor/
ADD applog/ applog/
ADD countries/ countries/
ADD geodns-logs/ geodns-logs/
Expand Down
31 changes: 24 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,23 +1,40 @@
module github.com/abh/geodns

go 1.16
go 1.18

require (
github.com/BurntSushi/toml v0.4.1 // indirect
github.com/abh/errorutil v0.0.0-20130729183701-f9bd360d00b9
github.com/fsnotify/fsnotify v1.6.0
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551
github.com/google/uuid v1.3.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/miekg/dns v1.1.50
github.com/nxadm/tail v1.4.8
github.com/oschwald/geoip2-golang v1.8.0
github.com/pborman/uuid v1.2.1
github.com/prometheus/client_golang v1.14.0
github.com/stretchr/testify v1.8.0
golang.org/x/tools v0.3.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/natefinch/lumberjack.v2 v2.0.0
gopkg.in/natefinch/lumberjack.v2 v2.2.1
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/oschwald/maxminddb-golang v1.10.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.39.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.6.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 1086d8c

Please sign in to comment.