f5554bc743
fix: allow multiple images with the same dockerfile
...
closes #673
2018-05-23 09:42:33 -03:00
ad118b0f7c
feat: added Commit to docker name_template
2018-04-30 20:46:45 -07:00
b5818a7225
feat: skip_push on docker to match draft releases
2018-03-25 13:30:49 -03:00
7778a49499
feat: --skip-publish is back ( #587 )
...
* feat: --skip-publish is back
* style: using previously resolved flag
* test: docker test
* test: main coverage
* test: fixed brew tests
2018-03-01 01:12:58 -03:00
fdc032ec15
refactor: unifying snapshot with skip-validate and skip-publish ( #575 )
...
* refactor: removed goreleaserlib: moved all to main
* refactor: wip: snapshot
* fix: more pipes
* fix: more pipes
* fix: git tests
* fix: some other validate and publish usages
* fix: git dirty check when snapshoting
* fix: nfpm: use tag instead of version
* test: docker: print docker run output if registry fails
2018-02-24 17:59:08 -03:00
66338de1bb
style: removed elses, improved test code
2018-02-16 15:03:37 -02:00
675e2ea211
feat: allow Major, Minor and Patch fields on docker tags
2018-01-18 23:55:26 -02:00
e9351781cb
test: improved docker pipe coverage
2018-01-18 21:40:16 -02:00
92231bc930
feat: support multiple tag_templates for docker
2018-01-18 21:40:16 -02:00
9021160b11
fix: break if env not available
...
closes #467
2018-01-02 19:01:55 -02:00
6b0e6686a5
test: fixed tests
2017-12-29 17:35:22 -02:00
ef85d587fe
test: fixed one test
2017-12-26 16:37:05 -02:00
f99de0aeb6
test: fix start/stop registry
2017-12-26 15:41:50 -02:00
1d117b4b1a
test: flag.Parse
2017-12-26 15:24:19 -02:00
76b30d6f40
test: improved docker pipe test coverage
2017-12-26 15:20:25 -02:00
1b7e4cea85
test: improved docker pipe coverage
...
also added support for running tests against docker.io registry
2017-12-26 14:56:44 -02:00
deff38ebe9
test: parallelism
2017-12-25 23:53:44 -02:00
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