Skip to content

Commit

Permalink
Use go mod and remove vendors (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
qianlei90 committed Oct 20, 2020
1 parent 4a1724b commit 3b66223
Show file tree
Hide file tree
Showing 2,369 changed files with 45 additions and 728,023 deletions.
1 change: 0 additions & 1 deletion cmd/apprepository-controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
FROM golang:1.13 as builder
WORKDIR /go/src/github.com/kubeapps/kubeapps
COPY go.mod go.sum ./
COPY vendor vendor
COPY pkg pkg
COPY cmd cmd
# With the trick below, Go's build cache is kept between builds.
Expand Down
1 change: 0 additions & 1 deletion cmd/assetsvc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
FROM golang:1.13 as builder
WORKDIR /go/src/github.com/kubeapps/kubeapps
COPY go.mod go.sum ./
COPY vendor vendor
COPY pkg pkg
COPY cmd cmd
ARG VERSION
Expand Down
1 change: 0 additions & 1 deletion cmd/kubeops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
FROM golang:1.13 as builder
WORKDIR /go/src/github.com/kubeapps/kubeapps
COPY go.mod go.sum ./
COPY vendor vendor
COPY pkg pkg
COPY cmd cmd
ARG VERSION
Expand Down
6 changes: 0 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ require (
github.com/arschles/assert v1.0.0
github.com/bugsnag/bugsnag-go v1.5.0 // indirect
github.com/bugsnag/panicwrap v1.2.0 // indirect
github.com/coreos/etcd v3.3.15+incompatible // indirect
github.com/disintegration/imaging v1.6.2
github.com/docker/distribution v2.7.1+incompatible
github.com/docker/go-metrics v0.0.0-20181218153428-b84716841b82 // indirect
Expand All @@ -22,12 +21,9 @@ require (
github.com/evanphx/json-patch v4.2.0+incompatible // indirect
github.com/garyburd/redigo v1.6.0 // indirect
github.com/ghodss/yaml v1.0.0
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
github.com/go-openapi/spec v0.19.4 // indirect
github.com/go-test/deep v1.0.4
github.com/gofrs/uuid v3.2.0+incompatible // indirect
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7 // indirect
github.com/golang/protobuf v1.3.2
github.com/google/go-cmp v0.4.0
github.com/googleapis/gnostic v0.3.1 // indirect
Expand All @@ -51,7 +47,6 @@ require (
github.com/yvasiyarov/go-metrics v0.0.0-20150112132944-c25f46c4b940 // indirect
github.com/yvasiyarov/gorelic v0.0.6 // indirect
golang.org/x/net v0.0.0-20191028085509-fe3aa8a45271
gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e // indirect
google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6 // indirect
google.golang.org/grpc v1.27.0
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
Expand All @@ -65,6 +60,5 @@ require (
k8s.io/helm v2.16.0+incompatible
k8s.io/kubernetes v1.13.0
rsc.io/letsencrypt v0.0.1 // indirect
sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06 // indirect
sigs.k8s.io/yaml v1.2.0
)
255 changes: 45 additions & 210 deletions go.sum

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions vendor/github.com/BurntSushi/toml/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/github.com/BurntSushi/toml/.travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/BurntSushi/toml/COMPATIBLE

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/BurntSushi/toml/COPYING

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/BurntSushi/toml/Makefile

This file was deleted.

218 changes: 0 additions & 218 deletions vendor/github.com/BurntSushi/toml/README.md

This file was deleted.

0 comments on commit 3b66223

Please sign in to comment.