Skip to content

Commit

Permalink
Merge pull request #31 from ovotech/add-go-mod
Browse files Browse the repository at this point in the history
Add go mod
  • Loading branch information
siwally authored Apr 17, 2019
2 parents 7b15338 + f28e0a6 commit 0a88ca7
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
<<: *defaults

docker:
- image: circleci/golang:1.10
- image: circleci/golang:1.12

steps:
- checkout
Expand Down Expand Up @@ -41,7 +41,10 @@ jobs:

- run:
name: go vet
command: go vet ./...
command: |
export GO111MODULE=on
go mod download
go vet ./...
go_cyclo:
<<: *defaults
Expand Down Expand Up @@ -80,7 +83,9 @@ jobs:

- run:
name: go build
command: go build
command: |
export GO111MODULE=on
go build
go_test:
<<: *defaults
Expand All @@ -93,7 +98,10 @@ jobs:

- run:
name: go test
command: go test ./...
command: |
export GO111MODULE=on
go mod download
go test ./...
workflows:
version: 2
Expand Down
40 changes: 40 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module github.com/ovotech/cloud-key-rotator

go 1.12

require (
github.com/aws/aws-sdk-go v1.19.11 // indirect
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96 // indirect
github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e // indirect
github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550 // indirect
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903 // indirect
github.com/golang/mock v1.2.0 // indirect
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf // indirect
github.com/google/uuid v0.0.0-20171113160352-8c31c18f31ed // indirect
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d // indirect
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be // indirect
github.com/jszwedko/go-circleci v0.2.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/ovotech/cloud-key-client v0.0.0-20190308153018-b87014241d7f
github.com/ovotech/mantle v0.0.0-20190313113039-b525d8003135
github.com/spf13/cobra v0.0.3
github.com/spf13/viper v1.3.2
go.uber.org/atomic v1.3.2 // indirect
go.uber.org/multierr v1.1.0 // indirect
go.uber.org/zap v1.9.1
golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
google.golang.org/api v0.3.0
gopkg.in/inf.v0 v0.9.0 // indirect
gopkg.in/src-d/go-git.v4 v4.10.0
k8s.io/api v0.0.0-20190313235455-40a48860b5ab
k8s.io/apimachinery v0.0.0-20190313205120-d7deff9243b1
k8s.io/client-go v11.0.0+incompatible
k8s.io/klog v0.0.0-20190306015804-8e90cee79f82 // indirect
k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30 // indirect
k8s.io/utils v0.0.0-20190308190857-21c4ce38f2a7 // indirect
sigs.k8s.io/yaml v1.1.0 // indirect
)
Loading

0 comments on commit 0a88ca7

Please sign in to comment.