Skip to content

Commit d347e1a

Browse files
Merge pull request #235 from stlaz/golang_bump_1.17
Golang bump 1.17
2 parents 9ea1ebc + cedc569 commit d347e1a

File tree

44 files changed

+125
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+125
-428
lines changed

.ci-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: release
33
namespace: openshift
4-
tag: rhel-8-release-golang-1.15-openshift-4.6
4+
tag: rhel-8-release-golang-1.17-openshift-4.10

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.9 AS builder
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.17-openshift-4.10 AS builder
22
WORKDIR /go/src/github.com/openshift/oauth-proxy
33
COPY . .
44
RUN go build .
55

6-
FROM registry.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.9
6+
FROM registry.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.10
77
COPY --from=builder /go/src/github.com/openshift/oauth-proxy/oauth-proxy /usr/bin/oauth-proxy
88
ENTRYPOINT ["/usr/bin/oauth-proxy"]

dependencymagnet.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build tools
12
// +build tools
23

34
// go mod won't pull in code that isn't depended upon, but we have some code we don't depend on from code that must be included

go.mod

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openshift/oauth-proxy
22

3-
go 1.15
3+
go 1.17
44

55
require (
66
github.com/18F/hmacauth v0.0.0-20151013130326-9232a6386b73
@@ -23,4 +23,58 @@ require (
2323
k8s.io/client-go v0.19.2
2424
)
2525

26+
require (
27+
github.com/PuerkitoBio/purell v1.1.1 // indirect
28+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
29+
github.com/beorn7/perks v1.0.1 // indirect
30+
github.com/blang/semver v3.5.0+incompatible // indirect
31+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
32+
github.com/davecgh/go-spew v1.1.1 // indirect
33+
github.com/go-logr/logr v0.2.0 // indirect
34+
github.com/go-openapi/jsonpointer v0.19.3 // indirect
35+
github.com/go-openapi/jsonreference v0.19.3 // indirect
36+
github.com/go-openapi/spec v0.19.3 // indirect
37+
github.com/go-openapi/swag v0.19.5 // indirect
38+
github.com/gogo/protobuf v1.3.1 // indirect
39+
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect
40+
github.com/golang/protobuf v1.4.2 // indirect
41+
github.com/google/go-cmp v0.4.0 // indirect
42+
github.com/google/gofuzz v1.1.0 // indirect
43+
github.com/google/uuid v1.1.1 // indirect
44+
github.com/googleapis/gnostic v0.4.1 // indirect
45+
github.com/hashicorp/golang-lru v0.5.1 // indirect
46+
github.com/imdario/mergo v0.3.7 // indirect
47+
github.com/json-iterator/go v1.1.10 // indirect
48+
github.com/kr/pretty v0.2.0 // indirect
49+
github.com/kr/text v0.1.0 // indirect
50+
github.com/mailru/easyjson v0.7.0 // indirect
51+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
52+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
53+
github.com/modern-go/reflect2 v1.0.1 // indirect
54+
github.com/pmezard/go-difflib v1.0.0 // indirect
55+
github.com/prometheus/client_golang v1.7.1 // indirect
56+
github.com/prometheus/client_model v0.2.0 // indirect
57+
github.com/prometheus/common v0.10.0 // indirect
58+
github.com/prometheus/procfs v0.1.3 // indirect
59+
github.com/spf13/pflag v1.0.5 // indirect
60+
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 // indirect
61+
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect
62+
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
63+
golang.org/x/text v0.3.6 // indirect
64+
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
65+
google.golang.org/appengine v1.6.5 // indirect
66+
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
67+
google.golang.org/grpc v1.27.0 // indirect
68+
google.golang.org/protobuf v1.24.0 // indirect
69+
gopkg.in/inf.v0 v0.9.1 // indirect
70+
gopkg.in/yaml.v2 v2.3.0 // indirect
71+
k8s.io/component-base v0.19.2 // indirect
72+
k8s.io/klog/v2 v2.3.0 // indirect
73+
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6 // indirect
74+
k8s.io/utils v0.0.0-20200729134348-d5654de09c73 // indirect
75+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.9 // indirect
76+
sigs.k8s.io/structured-merge-diff/v4 v4.0.1 // indirect
77+
sigs.k8s.io/yaml v1.2.0 // indirect
78+
)
79+
2680
replace vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787

validator_watcher_copy_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.3 && !plan9 && !solaris && !windows
12
// +build go1.3,!plan9,!solaris,!windows
23

34
// Turns out you can't copy over an existing file on Windows.

validator_watcher_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.3 && !plan9 && !solaris
12
// +build go1.3,!plan9,!solaris
23

34
package main

vendor/github.com/cespare/xxhash/v2/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

vendor/github.com/cespare/xxhash/v2/go.sum

Whitespace-only changes.

vendor/github.com/fsnotify/fsnotify/go.mod

Lines changed: 0 additions & 5 deletions
This file was deleted.

vendor/github.com/fsnotify/fsnotify/go.sum

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)