1
0
mirror of https://github.com/helm/chart-releaser.git synced 2026-02-05 09:45:23 +01:00

424 Commits

Author SHA1 Message Date
Reinhard Nägele
452a96ef77 Update docs (#33)
* Update readme
* Fix Cobra command docs
* Remove outdated references to example repo

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
v0.2.0
2019-05-10 11:14:03 -04:00
Reinhard Nägele
7f5a0ec6c9 Use latest upstream instead of local branch for tags (#32)
This is to avoid accidentally tagging the wrong commit if
the wrong branch is checked out.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-30 06:46:46 +02:00
Reinhard Nägele
ad61bb2f61 Refactoring (#27)
This refactors the code to improve testability and so that it can be better integrated into an upcoming GitHub app.

- [x] Rename the binary to `cr` (similar to `ct` for chart-testing) and update package structure along with that
- [x] Fix incorrect license headers
- [x] Change default config file locations (analogous to chart-testing)
- [x] Refactor index and release creation and introduce new Releaser struct
- [x] Simplify error handling. In particul, I think we should not try and parse GitHub specific error codes. This doesn't gain us anything. The best we can do is log errors and exit
- [x] No longer check if a release already exists. Just try and create it which will fail if the release exists. So, the result is basically the same with less code
- [x] No longer download chart packages for index creation. This is unnecessary and does not scale
- [x] Remove `Chart.yaml` from releasse assets. Its unnecessary and make things more complicated
- [x] Encapsulate GitHub API within package without exposing it
- [x] Expect all charts to be released in a specific directory removing the recursive option
- [x] Add unit tests

Fixes: #18
2019-04-16 19:29:01 +02:00
Reinhard Nägele
7aceadf72e Align CI setup with chart-testing (#31)
* Align CI setup with chart-testing

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>

* Remove dep

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>

* Fix project name

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-16 10:09:47 -04:00
Reinhard Nägele
b9e7cc0493 Upgrade to Go 1.12 and switch to modules (#29)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-03-29 18:09:38 +01:00
Xiang Dai
7b221b3e87 Update README doc (#25)
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-03-17 17:42:14 +01:00
Reinhard Nägele
3351f51d85 Polish readme (#26)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-03-17 17:41:09 +01:00
KUOKA Yusuke
1b0d3e68ec Fix tag pattern for index command (#24)
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
v0.1.4
2019-02-22 17:13:40 +01:00
Scott Rigby
734f43987b Move gorelaser before hook to circle job (#22)
Signed-off-by: Scott Rigby <scott@r6by.com>
v0.1.3
2019-02-14 14:15:58 -05:00
Scott Rigby
b0a45e40c0 Use default go path instead of variable expansion (#21)
Signed-off-by: Scott Rigby <scott@r6by.com>
v0.1.2
2019-02-14 14:05:02 -05:00
Scott Rigby
985518ad7b dep ensure must be run from within a known GOPATH/src. Missed that when moving from circle to goreleaser before hook (#20)
Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-14 13:58:53 -05:00
Scott Rigby
d71efbdc8c Replace committed vendor dir with goreleaser automation (#19)
* Remove committed vendor dir
* Ignore vendor dir, and dist dir for goreleaser
* Automate goreleaser with CircleCI
* Add goreleaser file. Use before hooks for dep and strip from circle file
* Update the README with how to install, and for contribution how to build
* Prefer v tag prefix, until we decide otherwise
* Remove extra elipses
* Remove shortened url, and pin goreleaser version

Fixes #13

Signed-off-by: Scott Rigby <scott@r6by.com>
v0.1.0
2019-02-14 13:03:46 -05:00
Scott Rigby
78ba16bdee Change tag pattern to bypass semver precedence issue (#17)
Fixes #16

Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-14 15:37:19 +01:00
Scott Rigby
daa4814060 Fix licenses, and standardize on 'Copyright The Helm Authors' (#15)
Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-11 06:51:54 +01:00
Scott Rigby
fb5d6a7e9b Chart releaser CoC. See #11 and helm/community#61 (#12)
Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-07 15:35:13 -05:00
Scott Rigby
0bdb93ad03 Rename from paulczar/charthub to helm/chart-releaser (#6)
fixes #5

Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-07 15:34:55 -05:00
Reinhard Nägele
c66ddd1baf Fix regression in index file creation
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-07 15:34:55 -05:00
Reinhard Nägele
cdc2a4a526 Add chart name as metadata to release version
Also extract funtion to avoid defer in loop

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-07 15:34:27 -05:00
Reinhard Nägele
e2ae033d2a Upgrade Helm dependency to v2.12.3
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-07 15:31:45 -05:00
Reinhard Nägele
e8ab9194b6 Fix viper/cobra integration
* Refactor config loading to config package
* Bind flags to viper
* No longer mark flags as required so environment variables,
  config files, and flags can be arbitrarily combined. Instead,
  validate the final options struct
* Use CH_ prefix for environment variables

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-07 15:31:01 -05:00
Paul Czarkowski
2b91797e4a add support for provenance files
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:30:54 -05:00
Paul Czarkowski
c7451461ba fix errors on new releases
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:30:46 -05:00
Paul Czarkowski
9e6d5424a7 add go install command
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:30:32 -05:00
Paul Czarkowski
14e612c2f6 first commit
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:29:58 -05:00