Justin Cormack
315e5f80e8
Merge pull request #185 from justincormack/fix-make
...
Stop make test from removing binary
2017-11-17 15:21:08 +00:00
Justin Cormack
8f75b635ec
Stop make test from removing binary
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-11-17 14:40:49 +00:00
Ian Campbell
532b41ff8b
Disable CGO so as to build a static binary
...
https://github.com/linuxkit/kubernetes/pull/1#issuecomment-345253075 lead to
https://circleci.com/gh/linuxkit/kubernetes/15
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-17 14:39:19 +00:00
Justin Cormack
45333d2480
Update dependencies to use sirupsen not Sirupsen
...
That entailed a few other fixes, eg small Notary API changes.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-11-01 15:14:58 +00:00
Justin Cormack
a7158e1cb2
Add a build target which works when GOPATH is not set or correct
...
Getting Homebrew to work with a GOPATH is horrible...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-10-30 14:39:59 +00:00
Justin Cormack
71dfe66ee1
rm -rf for clean
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-10-30 13:31:33 +00:00
Daniel Nephin
e009b670f3
Improve makefile and circleci config
...
Use gometalinter for linting
put build artifact in dist/
store artifacts in circleci
Signed-off-by: Daniel Nephin <dnephin@gmail.com >
2017-10-17 17:30:44 -04:00
Ian Campbell
52de62206d
Ensure moby is rebuilt if deps change.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-13 10:59:55 +01:00
Justin Cormack
11b573c6fb
Rename "output" to "format"
...
This was confusing as there is an option to output to a file as well.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-09-01 23:45:25 +01:00
Dave Tucker
5934a24206
Makefile: Update for ease of Homebrew installation
...
This removes the `lint` dependency from building Moby.
I've also added ineffassign to check ineffecutal assignments alongside
checks to ensure that both it and golint are installed.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk >
2017-07-14 10:03:44 +01:00
Ian Campbell
5e75f8ca8b
Only run go test and go vet if not cross building (i.e. ${GOOS} unset)
...
They will try to run things and hence cannot be done when cross building.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2017-07-07 10:27:19 +01:00
Justin Cormack
e7ebabdb05
Split out into a small stub command line and a library
...
- this is pretty much the smallest change to split this out and it
exposes a few things that can be improved later
- no change to logging yet
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-06-21 16:19:31 -07:00
Justin Cormack
1cb9fab3e1
Merge pull request #45 from justincormack/clean
...
Add make clean, .gitignore
2017-05-26 13:34:06 +01:00
Justin Cormack
cbbedbfc57
Remove output formats from the Yaml file, put in CLI
...
This removes outputs from yaml, instead you can do
```
moby build -output tar -output qcow2 file.yaml
```
or alternative syntax
```
moby build -output tar,qcow2 file.yaml
```
In future we may change this to be available in a `moby package`
step, but lets try this for now.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-05-26 13:00:45 +01:00
Justin Cormack
dfd1cd9c1c
Add make clean, .gitignore
...
Also tidy Makefile a bit
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-05-26 12:47:06 +01:00
Justin Cormack
c734b47e9c
Add support for override of parameters using a label
...
Using the label `org.mobyproject.config` will use that JSON
(or yaml, but it is very hard to get yaml into a label as newlines are
not respected) for parameters that are not explicitly set in the yaml file.
Had to change parameter definitions so override behaves as expected.
fix #16
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-05-18 17:48:15 +01:00
Riyaz Faizullabhoy
039e4f6f60
Change to tar output
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-05-15 09:58:26 -07:00
Riyaz Faizullabhoy
39d74773fc
Simple make test target
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-05-15 09:27:29 -07:00
Riyaz Faizullabhoy
b93922a1c5
Add standard lint tools to Makefile
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-05-01 10:49:54 -07:00
Justin Cormack
719025a708
Add a simple Makefile
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-04-27 14:25:07 +01:00