This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3baddd
commit 84ca5b8
Showing
6 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vendor/ | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM golang:1.6.2-alpine | ||
|
||
ENV APP $GOPATH/src/github.com/agonzalezro/polo | ||
RUN mkdir -p $APP | ||
WORKDIR $APP | ||
|
||
ADD glide.yaml $APP/glide.yaml | ||
ADD glide.lock $APP/glide.lock | ||
RUN apk add --no-cache git \ | ||
&& go get -u github.com/Masterminds/glide/... \ | ||
&& go get -u github.com/jteeuwen/go-bindata/... \ | ||
&& glide install \ | ||
&& apk del git | ||
|
||
ADD . $APP | ||
RUN apk add --no-cache make \ | ||
&& make \ | ||
&& apk del make | ||
|
||
ENTRYPOINT ["bin/polo"] | ||
CMD ["--help"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
machine: | ||
services: | ||
- docker | ||
|
||
dependencies: | ||
override: | ||
- go get github.com/constabulary/gb/... | ||
- docker info | ||
- docker build -t agonzalezro/polo . | ||
|
||
test: | ||
override: | ||
- gb test | ||
- docker run --entrypoint go agonzalezro/polo test $(docker run --entrypoint glide agonzalezro/polo novendor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
parent: null | ||
package: main | ||
import: | ||
- package: github.com/Sirupsen/logrus | ||
- package: gopkg.in/fsnotify.v1 | ||
- package: github.com/jessevdk/go-flags | ||
- package: github.com/russross/blackfriday | ||
- package: gopkg.in/alecthomas/kingpin.v2 | ||
- package: github.com/stretchr/testify |