Skip to content

Commit 1d34b8b

Browse files
authored
Switching to managing dependencies with govendor. (ddev#142)
* Purging old vendor files. * govendor fetch --tree github.com/drud/drud-go/drudapi * govendor fetch --tree cloud.google.com/go/storage * govendor fetch --tree github.com/spf13/viper * govendor fetch --tree github.com/spf13/cobra/doc * govendor fetch --tree github.com/kennygrant/sanitize * govendor fetch --tree github.com/inconshreveable/go-update * govendor fetch --tree github.com/hashicorp/vault/builtin/credential/github * govendor fetch --tree github.com/ghodss/yaml * govendor fetch --tree github.com/fsouza/go-dockerclient * govendor fetch --tree github.com/drud/drud-go/utils * govendor fetch --tree github.com/drud/drud-go/secrets * govendor fetch --tree github.com/aws/aws-sdk-go/service/s3/s3manager * govendor fetch --tree github.com/Masterminds/sprig * Excluding appengine per a reference in the govendor docs. * Purge glide. * Updating Dockerfile * govendor fetch --tree github.com/stretchr/testify@v1
1 parent aeb4fef commit 1d34b8b

File tree

11,408 files changed

+105679
-4693724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,408 files changed

+105679
-4693724
lines changed

.dockerignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
docs/*
22
.vscode/*
3-
glide.lock

Dockerfile

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
FROM golang:1.7-alpine
22
ENV DRUD_BUILD_DIR $GOPATH/src/github.com/drud/bootstrap/cli
3-
ENV GLIDE_VERSION 0.11.1
4-
ENV GLIDE_SHA256 de0c7870738c6bc11128761d53a99ad68687b0a213fe52cea15ad05d93f10e42
53
ENV CGO_ENABLED=0
64
ENV GOOS=linux
75

8-
ADD https://github.com/Masterminds/glide/releases/download/v0.12.0/glide-v0.12.0-linux-amd64.tar.gz /glide.tar.gz
96
RUN apk add --update bzr git ca-certificates wget gcc abuild binutils binutils-doc gcc-doc cmake cmake-doc bash musl-dev openssl \
10-
&& mkdir -p $DRUD_BUILD_DIR \
11-
&& wget --quiet https://github.com/Masterminds/glide/releases/download/v${GLIDE_VERSION}/glide-v${GLIDE_VERSION}-linux-amd64.tar.gz \
12-
&& echo "${GLIDE_SHA256} */glide-v${GLIDE_VERSION}-linux-amd64.tar.gz" \
13-
&& tar -zxf glide-v${GLIDE_VERSION}-linux-amd64.tar.gz \
14-
&& mv linux-amd64/glide /usr/bin \
15-
&& rm -rf linux-amd64 glide-v${GLIDE_VERSION}-linux-amd64.tar.gz
16-
7+
&& mkdir -p $DRUD_BUILD_DIR
178

189
WORKDIR $DRUD_BUILD_DIR
1910

2011
ADD . $DRUD_BUILD_DIR
2112

22-
RUN go get .
23-
2413
RUN go build -a -installsuffix cgo -ldflags '-w' -o $GOPATH/bin/drud ./main.go
2514

2615
# We repeat this as a cmd so you can volume mount in a bin directory to generate a binary.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export GOPATH=$HOME/goworkspace
1111
export PATH=$PATH:$GOPATH/bin
1212
mkdir -p $GOPATH/src/github.com/drud
1313
cd $GOPATH/src/github.com/drud && git clone git@github.com:drud/bootstrap.git
14-
cd bootstrap && glide install
14+
cd bootstrap
1515
make osxbin
1616
```
1717

glide.lock

-280
This file was deleted.

glide.yaml

-51
This file was deleted.

vendor/cloud.google.com/go/.travis.yml

-11
This file was deleted.

0 commit comments

Comments
 (0)