1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
Commit Graph

589 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
530feac44a
fix: improved artifact add logs 2017-12-18 09:19:02 -02:00
Carlos Alexandro Becker
10c6df73c0
chore: more cleanup 2017-12-18 09:00:19 -02:00
Carlos Alexandro Becker
245e888359
chore: cleanup 2017-12-18 00:53:48 -02:00
Carlos Alexandro Becker
64485c9c37
fix: docker images on release notes 2017-12-17 23:11:17 -02:00
Carlos Alexandro Becker
9cfa2c35ce
fix: general cleanup 2017-12-17 23:04:29 -02:00
Carlos Alexandro Becker
97ac740233
fix: added more tests to artifactory 2017-12-17 22:54:24 -02:00
Carlos Alexandro Becker
9ac3b8cf79
fix: cleaning up artifactory 2017-12-17 22:50:49 -02:00
Carlos Alexandro Becker
ab5e431b95
fix: cleaning up artifactory 2017-12-17 22:46:49 -02:00
Carlos Alexandro Becker
aceb41b0b2
fix: cleaning up 2017-12-17 22:31:27 -02:00
Carlos Alexandro Becker
f9dbfb5d70
fix: cleaning up 2017-12-17 22:28:24 -02:00
Carlos Alexandro Becker
35e92aa0f4
test: fix sign pipe tests (hopefully) 2017-12-17 22:18:12 -02:00
Carlos Alexandro Becker
5ff07c38ea
fix: cleaning up 2017-12-17 22:12:25 -02:00
Carlos Alexandro Becker
92b9d92bc8
fix: cleaning up 2017-12-17 22:11:04 -02:00
Carlos Alexandro Becker
df5d9c0b43
test: fixed artifactory pipe tests 2017-12-17 21:57:24 -02:00
Carlos Alexandro Becker
df6076e406
test: fixed fpm pipe tests 2017-12-17 21:31:34 -02:00
Carlos Alexandro Becker
826dd45fa8
test: fixed release pipe tests 2017-12-17 21:26:03 -02:00
Carlos Alexandro Becker
8828be1f8b
test: fixed snap pipe tests 2017-12-17 21:22:36 -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
82a24d048d
test: fixed checksums pipe tests 2017-12-17 20:33:28 -02:00
Carlos Alexandro Becker
753359a63a
test: removed useless test 2017-12-17 20:26:30 -02:00
Carlos Alexandro Becker
d8987e281f
test: fixing build pipe tets 2017-12-17 20:25:54 -02:00
Carlos Alexandro Becker
f433bcb59c
fix: brew tests/multiple darwin builds/gh enterprise 2017-12-17 20:15:18 -02:00
Carlos Alexandro Becker
9dcfcd4db6
test: wip fixing sign tests 2017-12-17 19:37:27 -02:00
Carlos Alexandro Becker
8a0b484cab
fix: wip fixing artifactory 2017-12-17 19:19:44 -02:00
Carlos Alexandro Becker
d4b84becd7
fix: signature upload 2017-12-17 19:16:25 -02:00
Carlos Alexandro Becker
30a7867604
test: fixed archive tests 2017-12-17 18:40:19 -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
24f186a63c
refactor: fixed sign and snap pipe 2017-12-17 17:25:04 -02:00
Carlos Alexandro Becker
906c8b08e3
refactor: fixed fpm pipe 2017-12-17 17:11:08 -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
Carlos Alexandro Becker
bdacb33cea
refactor: fixed checksums pipe 2017-12-17 16:37:19 -02:00
Carlos Alexandro Becker
248810535e
refactor: fixed brew pipe 2017-12-17 16:31:06 -02:00
Carlos Alexandro Becker
574b2942b3
refactor: refactored artifactory pipe 2017-12-17 16:10:40 -02:00
Carlos Alexandro Becker
d83b420f39
refactor: changed code on archive pipe 2017-12-17 15:50:09 -02:00
Carlos Alexandro Becker
b9cc820e1d
refactor: changed code on build pipe 2017-12-17 15:24:49 -02:00
Carlos Alexandro Becker
0d9b227f48
chore: fixed gitignore 2017-12-16 20:23:08 -02:00
Frank Schroeder
523a650f4f
test: make gometalinter happy
Fix strange things gometalinter complains about and which break the CI
build.
2017-12-16 00:30:17 +01:00
Frank Schroeder
1f0d44d576
fix: simplify code and improve test
Remove some paths from the code where you can shoot yourself in the
foot.
Improve tests to check for most cases.
2017-12-15 18:51:54 +01:00
Frank Schroeder
d68b864f01
test: add test for sign pipeline
The unit tests needs a test key to work with. I have tried to create a
test keyring on the fly and while that worked I was not able to
successfully sign with that. gpg would bail with an ioctl error which I
didn't track down since using a static key works.
2017-12-15 15:38:49 +01:00
Frank Schroeder
7b95e1e342
feat: add artifact sign pipeline
This patch adds a generic artifact signing pipeline.

Fixes #166
2017-12-13 23:02:19 +01:00
Andy Grunwald
5358724f0b Merge branch 'master' into artifactory-support
* master:
  fix: lint warnings
  test: fixed tests
  test: added tests to effective config pipe
  feat: write actual config to dist
2017-12-10 16:55:55 +01:00
Carlos Alexandro Becker
36015b4724 fix: lint warnings
added nosec for a mkdir 0755
2017-12-10 13:02:48 -02:00
Carlos Alexandro Becker
07c04b33f8 test: fixed tests
broken because of dist not being removed anymore
2017-12-10 13:02:48 -02:00
Carlos Alexandro Becker
f3fcb48983 test: added tests to effective config pipe
Also renamed the pipe from finalconfig to effectiveconfig
2017-12-10 13:02:48 -02:00
Carlos Alexandro Becker
06ddedf12a feat: write actual config to dist
Writes the actual config file (with defaults
merged, etc) into the dist folder.

Can be useful for debug purposes.
2017-12-10 13:02:48 -02:00
Andy Grunwald
af618f9b69 refactor: Removed os.Getenv / os.Setenv in favor of ctx.Env
goreleaser offers a ctx.Env map to access env variables.
os.GetEnv and os.Setenv usages where removed from
Artifactory pipeline in favor of cts.Env access.
This makes testing easier
2017-12-10 14:41:27 +01:00
Andy Grunwald
4e4529bbf8 refactor: Simplified if checks for configured artifactories
-       if l := len(ctx.Config.Artifactories); l == 0 {
+       if len(ctx.Config.Artifactories) == 0 {
2017-12-10 14:23:32 +01:00
Andy Grunwald
240a70e17c test: Added three new unit tests for Artifactory pipeline
New tests added:
- TestRunPipe_TargetTemplateError
- TestRunPipe_UnparsableErrorResponse
- TestRunPipe_SkipWhenPublishFalse
2017-12-09 23:34:25 +01:00