Skip to content

Commit cf5e353

Browse files
committed
Merge branch 'master' into pr/rhansen/310
2 parents 4db568d + ffd4824 commit cf5e353

6 files changed

Lines changed: 727 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# voucher/vouch-proxy
22
# https://github.com/vouch/vouch-proxy
3-
FROM golang:1.14 AS builder
3+
FROM golang:1.15 AS builder
44

55
LABEL maintainer="vouch@bnf.net"
66

Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# voucher/vouch-proxy
22
# https://github.com/vouch/vouch-proxy
3-
FROM golang:1.14 AS builder
3+
FROM golang:1.15 AS builder
44

55
LABEL maintainer="vouch@bnf.net"
66

do.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ drun () {
5858
docker stop $NAME
5959
docker rm $NAME
6060
fi
61+
WITHCERTS=""
62+
if [ -d "${SDIR}/certs" ] && [ -z $(find ${SDIR}/certs -type d -empty) ]; then
63+
WITHCERTS="-v ${SDIR}/certs:/certs"
64+
fi
65+
6166

6267
CMD="docker run --rm -i -t
6368
-p ${HTTPPORT}:${HTTPPORT}
6469
--name $NAME
6570
-v ${SDIR}/config:/config
71+
$WITHCERTS
6672
$IMAGE $* "
6773

6874
echo $CMD
@@ -90,7 +96,8 @@ watch () {
9096

9197
goget () {
9298
# install all the things
93-
go get -t -v ./...
99+
go get -u -v ./...
100+
go mod tidy
94101
}
95102

96103
REDACT=""
@@ -159,6 +166,8 @@ test() {
159166
if [ -z "$VOUCH_CONFIG" ]; then
160167
export VOUCH_CONFIG="$SDIR/config/testing/test_config.yml"
161168
fi
169+
170+
go get -t ./...
162171
# test all the things
163172
if [ -n "$*" ]; then
164173
# go test -v -race $EXTRA_TEST_ARGS $*

go.mod

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module github.com/vouch/vouch-proxy
2+
3+
go 1.15
4+
5+
require (
6+
cloud.google.com/go v0.77.0 // indirect
7+
github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b // indirect
8+
github.com/dgrijalva/jwt-go v3.2.0+incompatible
9+
github.com/dgryski/go-gk v0.0.0-20200319235926-a69029f61654 // indirect
10+
github.com/fsnotify/fsnotify v1.4.9 // indirect
11+
github.com/google/go-cmp v0.5.4
12+
github.com/gorilla/mux v1.8.0
13+
github.com/gorilla/sessions v1.2.1
14+
github.com/influxdata/tdigest v0.0.1 // indirect
15+
github.com/karupanerura/go-mock-http-response v0.0.0-20171201120521-7c242a447d45
16+
github.com/kelseyhightower/envconfig v1.4.0
17+
github.com/magiconair/properties v1.8.4 // indirect
18+
github.com/mailru/easyjson v0.7.7 // indirect
19+
github.com/mitchellh/mapstructure v1.4.1
20+
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da
21+
github.com/patrickmn/go-cache v2.1.0+incompatible
22+
github.com/pelletier/go-toml v1.8.1 // indirect
23+
github.com/spf13/afero v1.5.1 // indirect
24+
github.com/spf13/cast v1.3.1 // indirect
25+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
26+
github.com/spf13/pflag v1.0.5 // indirect
27+
github.com/spf13/viper v1.7.1
28+
github.com/streadway/quantile v0.0.0-20150917103942-b0c588724d25 // indirect
29+
github.com/stretchr/testify v1.5.1
30+
github.com/theckman/go-securerandom v0.1.1
31+
github.com/tsenart/vegeta v12.7.0+incompatible
32+
go.uber.org/multierr v1.6.0 // indirect
33+
go.uber.org/zap v1.16.0
34+
golang.org/x/net v0.0.0-20210119194325-5f4716e94777
35+
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99
36+
golang.org/x/sys v0.0.0-20210218155724-8ebf48af031b // indirect
37+
gopkg.in/ini.v1 v1.62.0 // indirect
38+
gopkg.in/yaml.v2 v2.4.0 // indirect
39+
)

0 commit comments

Comments
 (0)