You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/01/02 13:47:01 UTC
[couchdb-helm] branch publish_dates created (now 7575421)
This is an automated email from the ASF dual-hosted git repository.
willholley pushed a change to branch publish_dates
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git.
at 7575421 Fix overwriting publish dates of old chart versions
This branch includes the following new commits:
new 7575421 Fix overwriting publish dates of old chart versions
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb-helm] 01/01: Fix overwriting publish dates of old chart
versions
Posted by wi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
willholley pushed a commit to branch publish_dates
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git
commit 757542123c9e5cfb818f31eeb933d8974d0677d3
Author: Will Holley <wi...@gmail.com>
AuthorDate: Thu Jan 2 13:44:07 2020 +0000
Fix overwriting publish dates of old chart versions
By default, `helm repo index` will update all chart publication dates
in the index. This results in us losing the publication dates for
old chart versions. The workaround is to index new chart versions only
and merge the new data with the existing index. This commit updates
`make publish` to do that.
---
Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index bf58f7e..02865b8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,12 @@ lint:
.PHONY: publish
publish: lint
- @helm package couchdb -d docs
- @helm repo index docs --url https://apache.github.io/couchdb-helm
+ @mkdir -p new_charts
+ @helm package -u -d new_charts couchdb
+ @helm repo index --url "https://apache.github.io/couchdb-helm" --merge docs/index.yaml new_charts
+ @mv new_charts/couchdb*.tgz docs
+ @mv new_charts/index.yaml docs/index.yaml
+ @rm -rf new_charts
# Run end to end tests using KinD
.PHONY: test