git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #13 from pusher/release-3.0.0

Release 3.0.0

commit78872725eb195a894543b4cbfc23adde21454cf2 authorJoel Speed <Joel.speed@hotmail.co.uk> dateMon 14 Jan 2019, 11:32 (8 years ago) parente1f45dd9e9b1f9
4 files changed+41−22
CHANGELOG.md+28−19 Makefile+7 README.md+3−3 configure+3
CHANGELOG.md+28−19
@@ -1,23 +1,32 @@
11# Vx.x.x (Pre-release)
22
3+## Changes since v3.0.0
4+
5+# v3.0.0
6+
7+Adoption of OAuth2_Proxy by Pusher.
8+Project was hard forked and tidied however no logical changes have occurred since
9+v2.2 as released by Bitly.
10+
311## Changes since v2.2:
412
5−- Move automated build to debian base image
6−- Add Makefile
7− - Update CI to run `make test`
8− - Update Dockerfile to use `make clean oauth2_proxy`
9− - Update `VERSION` parameter to be set by `ldflags` from Git Status
10− - Remove lint and test scripts
11−- Remove Go v1.8.x from Travis CI testing
12−- Add CODEOWNERS file
13−- Add CONTRIBUTING guide
14−- Add Issue and Pull Request templates
15−- Add Dockerfile
16−- Fix fsnotify import
17−- Update README to reflect new repository ownership
18−- Update CI scripts to separate linting and testing
19− - Now using `gometalinter` for linting
20−- Move Go import path from `github.com/bitly/oauth2_proxy` to `github.com/pusher/oauth2_proxy`
21−- Repository forked on 27/11/18
22− - README updated to include note that this repository is forked
23− - CHANGLOG created to track changes to repository from original fork
13+- [#7](https://github.com/pusher/oauth2_proxy/pull/7) Migration to Pusher (@joelspeed)
14+ - Move automated build to debian base image
15+ - Add Makefile
16+ - Update CI to run `make test`
17+ - Update Dockerfile to use `make clean oauth2_proxy`
18+ - Update `VERSION` parameter to be set by `ldflags` from Git Status
19+ - Remove lint and test scripts
20+ - Remove Go v1.8.x from Travis CI testing
21+ - Add CODEOWNERS file
22+ - Add CONTRIBUTING guide
23+ - Add Issue and Pull Request templates
24+ - Add Dockerfile
25+ - Fix fsnotify import
26+ - Update README to reflect new repository ownership
27+ - Update CI scripts to separate linting and testing
28+ - Now using `gometalinter` for linting
29+ - Move Go import path from `github.com/bitly/oauth2_proxy` to `github.com/pusher/oauth2_proxy`
30+ - Repository forked on 27/11/18
31+ - README updated to include note that this repository is forked
32+ - CHANGLOG created to track changes to repository from original fork
Makefile+7
@@ -54,3 +54,10 @@ release: lint test
5454 mkdir release
5555 GOOS=darwin GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-darwin-amd64 github.com/pusher/oauth2_proxy
5656 GOOS=linux GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-linux-amd64 github.com/pusher/oauth2_proxy
57+ GOOS=windows GOARCH=amd64 go build -ldflags="-X main.VERSION=${VERSION}" -o release/$(BINARY)-windows-amd64 github.com/pusher/oauth2_proxy
58+ shasum -a 256 release/$(BINARY)-darwin-amd64 > release/$(BINARY)-darwin-amd64-sha256sum.txt
59+ shasum -a 256 release/$(BINARY)-linux-amd64 > release/$(BINARY)-linux-amd64-sha256sum.txt
60+ shasum -a 256 release/$(BINARY)-windows-amd64 > release/$(BINARY)-windows-amd64-sha256sum.txt
61+ tar -cvf release/$(BINARY)-$(VERSION).darwin-amd64.$(GO_VERSION).tar.gz release/$(BINARY)-darwin-amd64
62+ tar -cvf release/$(BINARY)-$(VERSION).linux-amd64.$(GO_VERSION).tar.gz release/$(BINARY)-linux-amd64
63+ tar -cvf release/$(BINARY)-$(VERSION).windows-amd64.$(GO_VERSION).tar.gz release/$(BINARY)-windows-amd64
README.md+3−3
@@ -19,17 +19,17 @@ A list of changes can be seen in the [CHANGELOG](CHANGELOG.md).
1919
20201. Choose how to deploy:
2121
22− a. Download [Prebuilt Binary](https://github.com/pusher/oauth2_proxy/releases) (current release is `v2.2`)
22+ a. Download [Prebuilt Binary](https://github.com/pusher/oauth2_proxy/releases) (current release is `v3.0.0`)
2323
2424 b. Build with `$ go get github.com/pusher/oauth2_proxy` which will put the binary in `$GOROOT/bin`
2525
2626 c. Using the prebuilt docker image [quay.io/pusher/oauth2_proxy](https://quay.io/pusher/oauth2_proxy)
2727
28−Prebuilt binaries can be validated by extracting the file and verifying it against the `sha256sum.txt` checksum file provided for each release starting with version `v2.3`.
28+Prebuilt binaries can be validated by extracting the file and verifying it against the `sha256sum.txt` checksum file provided for each release starting with version `v3.0.0`.
2929
3030```
3131sha256sum -c sha256sum.txt 2>&1 | grep OK
32−oauth2_proxy-2.3.linux-amd64: OK
32+oauth2_proxy-3.0.0.linux-amd64: OK
3333```
3434
35352. Select a Provider and Register an OAuth Application with a Provider
configure+3
@@ -95,6 +95,8 @@ check_go_version() {
9595 exit 1
9696 ;;
9797 esac
98+ VERSION=$(${tools[go]} version | ${tools[awk]} '{print $3}')
99+ tools["go_version"]="${VERSION}"
98100}
99101
100102check_docker_version() {
@@ -129,6 +131,7 @@ echo
129131cat <<- EOF > .env
130132 MAKE := "${tools[make]}"
131133 GO := "${tools[go]}"
134+ GO_VERSION := ${tools[go_version]}
132135 DEP := "${tools[dep]}"
133136EOF
134137