Albert Salim
ae2e6ddc0e
feat: Add support image templates
...
Docker config takes a list of image templates as image specification.
Existing config with image and tag templates are still accepted,
but will display deprecation notice.
Either image templates or image + tag templates is supported,
but not both at the same time.
This will also support publishing to multiple docker registries (#832 ).
Deprecated:
- `docker.image`
- `docker.tag_templates`
2018-10-20 13:15:15 -03:00
Albert Salim
ca2aafa367
feat: Add support for publishing to additional docker registries
...
Created a list of registries based on the docker image name and
additional registries. Image is then tagged with all permutations
of registry and tags.
See #832
2018-10-20 13:15:15 -03:00
Carlos Alexandro Becker
2bade44c73
refactor: artifactory: pipe -> publisher
2018-10-16 23:01:52 -03:00
Carlos Alexandro Becker
ad11351902
refactor: fix tests
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
089731afc4
refactor: (s3/http): pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
0b04e454fc
test: fix
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
dd81fec3dd
refactor: release: pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
6d6d6ece8f
test: add more tests
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
23eb2c7756
fix: publish skip handling
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
c449328428
fix: improved publish output
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
5474d1ede7
wip: publish
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
71aba28e18
chore: more logs
2018-10-10 13:27:53 -03:00
Carlos Alexandro Becker
9628eb8f89
chore: improved log output
2018-10-10 13:27:53 -03:00
Alan Scherger
6c79a6c51a
fix: be explicit when we query git for tags
...
When Jenkins is configured with 'Check out to matching local branch' the branch and tag name will conflict.
If we use explicit references to tags, then life is much better.
This patch also replaces our manual 'tag or not' boolean with a regex to check if the return is a SHA1.
If it is not a SHA1, it is assumed to be a tag. Hopefully this helps with future maintainability.
2018-10-06 22:21:46 -03:00
Alan Scherger
f6a7fb308c
feat: image names can ontain template variables
...
This now allows us to use things like the ProjectName as variables
in our docker image name. This is especially helpful when trying to
make the `.goreleaser.yml` as generic as possible.
2018-10-05 13:43:19 -03:00
Carlos Alexandro Becker
ba77abe07c
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
6a035b83e9
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
3c72ad1081
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71171ba222
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71df84f829
refactor: added publish pipe
2018-10-05 09:42:32 -03:00
Carlos Alexandro Becker
5c63f88290
test: add more tests
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
748d97ef22
feat: git remote url in the template engine
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
af99acf244
feat: add new template fields
2018-10-04 09:23:06 -03:00
Albert Salim
94f88bac84
feat: Add templating support for docker build-flags
...
I enhanced `BuildFlagTemplates` field in Docker image config to accept
templates. Build flags are tested by checking for images created with
labels applied through templates.
See #813
2018-10-03 10:51:01 -03:00
Albert Salim
c773e57165
feat: Add support for docker build-flags
...
I added `BuildFlags` field to Docker image config. Docker pipe is
updated to append build flags to the `docker build` command.
Build flags are not validated, leaving it Docker to error
when given an unknown flag.
See #813
2018-10-03 10:51:01 -03:00
Carlos Alexandro Becker
652645b3bf
feat: artifactory checksum header ( #772 )
...
* feat: artifactory checksum header
* fix: merge fixes
2018-10-01 16:52:16 -03:00
Carlos Alexandro Becker
aded99f621
feat: scoop: accept name/project name ( #811 )
...
* feat: scoop: accept name/project name
* fix: added todo to fix an issue
2018-09-30 11:04:32 -03:00
Carlos Alexandro Becker
0ebf43a0fd
chore: go fmt
2018-09-19 13:52:23 -03:00
He Liu
281632fe6c
fix: github.com/Masterminds/semver import path ( #808 )
...
* fix import path casing in Mastermind/semver
* fix import path in Gopkg.lock
2018-09-19 13:51:52 -03:00
Carlos Alexandro Becker
4206de324e
fix: added more logs
2018-09-18 10:14:30 -03:00
Carlos Alexandro Becker
817f0a7a13
fix: remove go generate
2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
a6965e6272
fix: remove dep on stringer
2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
c3a6c3f40d
chore: add debug to http put
...
refs ##790
2018-09-13 22:03:51 -03:00
Carlos Alexandro Becker
ac3dabbe4c
Merge branch 'master' into organizing
2018-09-13 21:38:09 -03:00
Pablo Lalloni
91dc94aae5
fix: remove windows cert pool support
2018-09-13 20:47:29 -03:00
Pablo Lalloni
4728741b29
fix: move certificates setting to pipelines
2018-09-13 20:47:29 -03:00
Pablo Lalloni
1948df1a55
feat: support setting trusted x509 certificates for tls clients
2018-09-13 20:47:29 -03:00
Carlos Alexandro Becker
39de856eb4
refactor: better package organization
2018-09-12 14:18:01 -03:00
Carlos Alexandro Becker
3d8725caee
chore: removed file that shouldnt have been commited
2018-09-12 13:36:31 -03:00
Carlos Alexandro Becker
bd5b15dc6b
docs: package graph
2018-09-12 13:34:26 -03:00
Mikhail Grachev
e08a473b8d
feat: add hash to scoop manifest
2018-09-10 09:10:10 -03:00
Pablo Lalloni
33a25e05a9
fix: remove location header requirement on http put responses ( #794 )
2018-09-10 09:08:54 -03:00
Carlos Alexandro Becker
0b28e3372d
fix: s3 test
2018-09-04 09:34:09 -03:00
Carlos Alexandro Becker
431c28b2bd
fix: gosec lint issues
2018-09-04 09:26:45 -03:00
Carlos Alexandro Becker
3a4e41096f
fix: added skip log to s3
2018-09-04 09:26:08 -03:00
Igor German
99a9da4c3b
feat: docker in docker support ( #785 )
...
* feat: docker in docker support
* fix: pr comments
2018-09-04 09:19:01 -03:00
Pablo Lalloni
93a0055d03
fix: Improve http test coverage
2018-08-25 18:24:34 -03:00
Carlos Alexandro Becker
99d5525c66
chore: lint fixes
2018-08-25 17:59:34 -03:00
Carlos Alexandro Becker
235fff7b8a
test: fix clear env on s3 tests
2018-08-25 17:47:05 -03:00
Krzysztof Grodzicki
8595a80384
refactor: extract aws session creation, add tests
...
To be able to write some tests in an easy way session creation logic has
been extracted. Added tests for configuration and different providers.
#754
2018-08-25 17:33:56 -03:00