c7b25726df
test: fixed docker link tests
2017-12-24 10:14:55 -02:00
cdc306a310
added one more test to cover 2-level directory linking
2017-12-21 12:11:42 +01:00
e4da87b262
feat: docker - added linker for extra directories
...
When adding extra files to docker using a hard link it is impossible
to add a directory because only files can be linked hard. For directories
I added a linker that recursively linkes all files in a directory and re-
creates the directory structure in the dist directory.
2017-12-20 22:57:15 +01:00
f2965192b0
test: fixed docker pipe tests
...
Couldnt test locally due to https://github.com/docker/for-mac/issues/2339
2017-12-17 21:00:50 -02:00
25e1cddc1b
feat: allow env vars for docker tag_template
...
Add env var support for the Docker tag_template field incl. test.
2017-12-05 21:42:04 -02:00
0074b79819
fix: fixing test to use the right import
...
VSCode used alecthomas/template instead of text/template
automatically, tests begin to fail when I fixed it
2017-12-05 14:49:25 -02:00
14d1347ed9
feat: allow templates on docker tags
...
Allow to template docker tags.
Closes #433
2017-12-05 14:49:25 -02:00
b702adfc61
test: docker tests
...
Added tests for docker defaulter
2017-12-03 13:00:01 -02:00
1ed299a6d7
refactor: defaulter interface
...
Right now the code looks weird because the defaults
of a pipe are far away of the implementation of the pipe.
the intend of this PR is to bring them closer by having a
Defaulter interface.
I also renamed the Pipe interface to Piper, and removed
the Description method in favor for fmt.Stringer.
2017-12-03 13:00:01 -02:00
7d6ef4d338
chore: improved docker test code
...
using defer and added a log
2017-10-07 23:26:54 -03:00
650e14d297
fix: docker tests should not depend on the main docker registry
...
Makes it not necessary to be logged in the in the docker registry for
the tests to work by using a local registry.
Fixes #379
2017-10-07 23:26:54 -03:00
d85a9001ec
removing all assert.New because vet shadow complains about this now
...
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
2175bf1e80
also supporting latest docker tag
2017-09-14 20:16:49 -03:00
f4c79826da
tests updated
2017-09-14 19:41:55 -03:00
bbc594864e
added some docker pipe tests
2017-09-12 20:58:02 -03:00
7e1a4b4f94
initial test
2017-09-12 00:29:12 -03:00