git.iko.soy/typeable/oauth2-proxy
on master help sign in
build: use go 1.12 (#124)
bf9fedbDan Bond
.travis.yml+1−1
@@ -1,7 +1,7 @@
1language: go
1language: go
2go:
2go:
3− - 1.10.x
4 - 1.11.x
3 - 1.11.x
4+ - 1.12.x
5install:
5install:
6 # Fetch dependencies
6 # Fetch dependencies
7 - wget -O dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
7 - wget -O dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
CHANGELOG.md+1
@@ -21,6 +21,7 @@
21- [#83](https://github.com/pusher/oauth2_proxy/pull/83) Add `id_token` refresh to Google provider (@leki75)
21- [#83](https://github.com/pusher/oauth2_proxy/pull/83) Add `id_token` refresh to Google provider (@leki75)
22- [#10](https://github.com/pusher/oauth2_proxy/pull/10) fix redirect url param handling (@dt-rush)
22- [#10](https://github.com/pusher/oauth2_proxy/pull/10) fix redirect url param handling (@dt-rush)
23- [#122](https://github.com/pusher/oauth2_proxy/pull/122) Expose -cookie-path as configuration parameter (@costelmoraru)
23- [#122](https://github.com/pusher/oauth2_proxy/pull/122) Expose -cookie-path as configuration parameter (@costelmoraru)
24+- [#124](https://github.com/pusher/oauth2_proxy/pull/124) Use Go 1.12 for testing and build environments (@syscll)
24
25
25# v3.1.0
26# v3.1.0
26
27
Dockerfile+1−1
@@ -1,4 +1,4 @@
1−FROM golang:1.11-stretch AS builder
1+FROM golang:1.12-stretch AS builder
2
2
3# Download tools
3# Download tools
4RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
4RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
configure+2−2
@@ -81,7 +81,7 @@ check_for() {
81check_go_version() {
81check_go_version() {
82 echo -n "Checking go version... "
82 echo -n "Checking go version... "
83 GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}')
83 GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}')
84− vercomp $GO_VERSION 1.10
84+ vercomp $GO_VERSION 1.11
85 case $? in
85 case $? in
86 0) ;&
86 0) ;&
87 1)
87 1)
@@ -91,7 +91,7 @@ check_go_version() {
91 ;;
91 ;;
92 2)
92 2)
93 printf "${RED}"
93 printf "${RED}"
94− echo "$GO_VERSION < 1.10"
94+ echo "$GO_VERSION < 1.11"
95 exit 1
95 exit 1
96 ;;
96 ;;
97 esac
97 esac