Carlos Alexandro Becker
0694b46bcc
fix: better deprecation notices ( #561 )
...
* fix: better deprecation notices
* test: covered deprecate with tests
* docs: improved docs
* docs: improved docs
* chore: organize imports
* style: code improve
2018-02-17 13:43:29 -02:00
Carlos Alexandro Becker
66338de1bb
style: removed elses, improved test code
2018-02-16 15:03:37 -02:00
Carlos Alexandro Becker
79c8e05738
fix: keeping the same naming as other pipes
2018-02-13 14:24:12 -02:00
Carlos Alexandro Becker
8cf855f447
fix: do not print ctx in docker pipe when on debug
2018-02-13 14:24:12 -02:00
Carlos Alexandro Becker
e0f77520cc
Merge branch 'master' into docker-major-minor-etc
2018-01-19 01:20:36 -02:00
Carlos Alexandro Becker
d13a97b46d
fix: improved deprecation warning output
2018-01-19 00:57:21 -02:00
Carlos Alexandro Becker
dd3b0cdcf2
feat: added deprecation warnings
...
closes #513
closes #514
2018-01-19 00:57:21 -02:00
Carlos Alexandro Becker
675e2ea211
feat: allow Major, Minor and Patch fields on docker tags
2018-01-18 23:55:26 -02:00
Carlos Alexandro Becker
e9351781cb
test: improved docker pipe coverage
2018-01-18 21:40:16 -02:00
Carlos Alexandro Becker
92231bc930
feat: support multiple tag_templates for docker
2018-01-18 21:40:16 -02:00
Carlos Alexandro Becker
9021160b11
fix: break if env not available
...
closes #467
2018-01-02 19:01:55 -02:00
Carlos Alexandro Becker
6b0e6686a5
test: fixed tests
2017-12-29 17:35:22 -02:00
Carlos Alexandro Becker
a84148c620
feat: make goreleaser timeoutable
2017-12-29 17:07:06 -02:00
Carlos Alexandro Becker
98b70f460e
docker: added missing params to artifact
...
closes #486
2017-12-29 15:07:21 -02:00
Carlos Alexandro Becker
ef85d587fe
test: fixed one test
2017-12-26 16:37:05 -02:00
Carlos Alexandro Becker
f99de0aeb6
test: fix start/stop registry
2017-12-26 15:41:50 -02:00
Carlos Alexandro Becker
1d117b4b1a
test: flag.Parse
2017-12-26 15:24:19 -02:00
Carlos Alexandro Becker
76b30d6f40
test: improved docker pipe test coverage
2017-12-26 15:20:25 -02:00
Carlos Alexandro Becker
1b7e4cea85
test: improved docker pipe coverage
...
also added support for running tests against docker.io registry
2017-12-26 14:56:44 -02:00
Carlos Alexandro Becker
219babd044
fix: treatment for when an extra file doesnt exist
2017-12-26 14:56:20 -02:00
Carlos Alexandro Becker
deff38ebe9
test: parallelism
2017-12-25 23:53:44 -02:00
Carlos Alexandro Becker
d96d321c79
fix: improved docker pipe output
2017-12-25 23:30:39 -02:00
Carlos Alexandro Becker
ca35acf434
feat: docker in parallel
2017-12-25 23:28:09 -02:00
Carlos Alexandro Becker
32ca896a24
feat: docker in parallel
2017-12-25 23:27:06 -02:00
Carlos Alexandro Becker
c7b25726df
test: fixed docker link tests
2017-12-24 10:14:55 -02:00
Carlos Alexandro Becker
bceb42d50b
feat: using filepath.Walk to link files and folders
2017-12-24 10:12:51 -02:00
Sven Loth
cdc306a310
added one more test to cover 2-level directory linking
2017-12-21 12:11:42 +01:00
Sven Loth
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
Carlos Alexandro Becker
64485c9c37
fix: docker images on release notes
2017-12-17 23:11:17 -02:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
3cfa0787b3
refactor: fixed docker pipe
2017-12-17 18:10:38 -02:00
Carlos Alexandro Becker
32fbebcc58
refactor: small fixes here and there
2017-12-17 18:01:58 -02:00
Carlos Alexandro Becker
1982259c29
refactor: improved artifact filtering
2017-12-17 16:59:54 -02:00
Carlos Alexandro Becker
e9b276923a
refactor: fixed docker and archive pipes
2017-12-17 16:46:45 -02:00
Frank Schroeder
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
Carlos Alexandro Becker
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
Carlos Alexandro Becker
3be7299047
fix: using the right import
...
VSCode used alecthomas/template instead of
text/template automatically
2017-12-05 14:49:25 -02:00
Carlos Alexandro Becker
14d1347ed9
feat: allow templates on docker tags
...
Allow to template docker tags.
Closes #433
2017-12-05 14:49:25 -02:00
Carlos Alexandro Becker
44d01ceccb
fix: removed uneeded docs
...
We use fmt.Stringer now
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
b702adfc61
test: docker tests
...
Added tests for docker defaulter
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
2cc10c3cc8
chore: fixed/ignore lint issues
...
GAS started to break on file/folder permissions
and executing things with variables.
closes #422
2017-11-26 20:40:07 -02:00
Carlos Alexandro Becker
7d6ef4d338
chore: improved docker test code
...
using defer and added a log
2017-10-07 23:26:54 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
d85a9001ec
removing all assert.New because vet shadow complains about this now
...
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
Carlos Alexandro Becker
b72e2bc27e
fixed lint errors
2017-09-26 18:50:00 -03:00
Carlos Alexandro Becker
bd7e503961
allows extra copies in the docker image
2017-09-25 19:10:04 -03:00
Carlos Alexandro Becker
ff0750285c
typo
2017-09-22 09:44:15 -03:00
Carlos Alexandro Becker
230d794c75
fix
2017-09-22 09:26:35 -03:00
Carlos Alexandro Becker
2e31f04bf9
fix
2017-09-22 09:26:19 -03:00