Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
chore: Bump dependencies (PROJQUAY-5630) (#211)
Browse files Browse the repository at this point in the history
* chore: Bump dependencies (PROJQUAY-5630)

* Bump minimal Go version to 1.19

* X.509 CommonName is deprecated in Go 1.15 and removed from 1.17

* chore: Workaround for dubious ownership issue
  • Loading branch information
Oleg Bulatov authored Jul 24, 2023
1 parent 3791ff6 commit cb82a46
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 58 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.19
id: go

- name: Check out code into the Go module directory
Expand All @@ -34,7 +34,7 @@ jobs:
tests:
name: Tests
runs-on: ubuntu-latest
container: docker.io/library/golang:1.16-buster
container: docker.io/library/golang:1.19-buster
services:
postgres:
image: postgres:11.5
Expand All @@ -57,6 +57,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Workaround for dubious ownership issue
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Build
run: go build -v ./...
- name: Tests
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN yum install -y nodejs && \
npm install --ignore-engines && \
npm run build

FROM golang:1.16-alpine
FROM golang:1.19-alpine

RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* && mkdir /usr/local/share/ca-certificates/extra
WORKDIR /go/src/config-tool
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN yum install -y nodejs && \
npm install --ignore-engines

RUN yum install -y wget && \
wget https://golang.org/dl/go1.16.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
wget https://golang.org/dl/go1.19.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz

WORKDIR /go/src/config-tool
RUN go get github.com/cosmtrek/air
Expand Down
65 changes: 54 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,44 +1,87 @@
module github.com/quay/config-tool

go 1.16
go 1.19

require (
cuelang.org/go v0.2.1
github.com/Azure/azure-storage-blob-go v0.11.0
github.com/abbot/go-http-auth v0.4.0
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
github.com/aws/aws-sdk-go v1.35.31
github.com/aws/aws-sdk-go v1.44.282
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/creasty/defaults v1.4.0
github.com/dave/jennifer v1.4.0
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-ldap/ldap/v3 v3.2.4
github.com/go-redis/redis/v8 v8.0.0-beta.6
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/protobuf v1.4.3 // indirect
github.com/google/go-cmp v0.5.4 // indirect
github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334
github.com/jackc/pgx/v4 v4.11.0
github.com/jojomi/go-spew v1.1.1-0.20180323180114-b94c73b27dc1
github.com/json-iterator/go v1.1.12
github.com/lib/pq v1.7.0
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/minio/minio-go/v7 v7.0.40
github.com/ncw/swift v1.0.52
github.com/olekukonko/tablewriter v0.0.5-0.20200416053754-163badb3bac6
github.com/onsi/ginkgo v1.14.2 // indirect
github.com/onsi/gomega v1.10.3 // indirect
github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e // indirect
github.com/sirupsen/logrus v1.9.0
github.com/spf13/cobra v1.0.0
github.com/spf13/pflag v1.0.5 // indirect
github.com/swaggo/http-swagger v1.3.3
github.com/swaggo/swag v1.8.1
go.opentelemetry.io/otel v0.13.0 // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200624174652-8d2f3be8b2d9 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/go-asn1-ber/asn1-ber v1.5.1 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
github.com/go-openapi/spec v0.20.6 // indirect
github.com/go-openapi/swag v0.19.15 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/google/go-cmp v0.5.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.8.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.0.6 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.7.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.15.9 // indirect
github.com/klauspost/cpuid/v2 v2.1.0 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mattn/go-ieproxy v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/sha256-simd v1.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/onsi/ginkgo v1.14.2 // indirect
github.com/onsi/gomega v1.10.3 // indirect
github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e // indirect
github.com/rs/xid v1.4.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/swaggo/files v0.0.0-20220610200504-28940afbdbfe // indirect
go.opentelemetry.io/otel v0.13.0 // indirect
golang.org/x/exp v0.0.0-20200513190911-00229845015e // indirect
golang.org/x/net v0.1.0 // indirect
golang.org/x/sys v0.1.0 // indirect
golang.org/x/text v0.4.0 // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/ini.v1 v1.66.6 // indirect
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit cb82a46

Please sign in to comment.