1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

33 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
f5554bc743 fix: allow multiple images with the same dockerfile
closes #673
2018-05-23 09:42:33 -03:00
Carlos Alexandro Becker
ad118b0f7c feat: added Commit to docker name_template 2018-04-30 20:46:45 -07:00
Carlos Alexandro Becker
b5818a7225 feat: skip_push on docker to match draft releases 2018-03-25 13:30:49 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
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
Carlos Alexandro Becker
66338de1bb style: removed elses, improved test code 2018-02-16 15:03:37 -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
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
deff38ebe9
test: parallelism 2017-12-25 23:53:44 -02:00
Carlos Alexandro Becker
c7b25726df
test: fixed docker link tests 2017-12-24 10:14:55 -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
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
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
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
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
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
2175bf1e80
also supporting latest docker tag 2017-09-14 20:16:49 -03:00
Carlos Alexandro Becker
f4c79826da
tests updated 2017-09-14 19:41:55 -03:00
Carlos Alexandro Becker
bbc594864e
added some docker pipe tests 2017-09-12 20:58:02 -03:00
Carlos Alexandro Becker
7e1a4b4f94
initial test 2017-09-12 00:29:12 -03:00