jbonofre commented on code in PR #2179: URL: https://github.com/apache/polaris/pull/2179#discussion_r2242746852
########## site/content/release-guide.md: ########## @@ -188,18 +198,55 @@ cd polaris-dist-dev mkdir x.y.z cp /path/to/polaris/github/clone/repo/build/distribution/* x.y.z cp /path/to/polaris/github/clone/repo/runtime/distribution/build/distributions/* x.y.z -cp -r /path/to/polaris/github/clone/repo/helm/polaris helm-chart/x.y.z svn add x.y.z +``` + +### Stage Helm Chart package + +You can now create a Helm package with the following command in the Polaris source folder: + +``` +cd helm +helm package --sign --key '<YOUR KEY ID HERE>' --keyring ~/.gnupg/secring.kbx polaris +``` + +Create the signature and checksum for the Helm package tgz and prov files: + +``` +shasum -a 512 polaris-x.y.z.tgz > polaris-x.y.z.tgz.sha512 +gpg --armor --output polaris-x.y.z.tgz.asc --detach-sig polaris-x.y.z.tgz +shasum -a 512 polaris-x.y.z.tgz.prov > polaris-x.y.z.tgz.prov +gpg --armor --output polaris-x.y.z.tgz.prov.asc --detach-sig polaris-x.y.z.tgz.prov +``` + +Copy and Add the Helm package files to dist folder: + +``` +cd polaris-dist-dev +mkdir helm-chart/x.y.z +cp helm/*.tgz* helm-chart/x.y.z svn add helm-chart/x.y.z -svn commit -m"Stage Apache Polaris x.y.z RCx" +``` + +You can now update the Helm index: + +``` +cd helm-chart +helm repo index . Review Comment: Good point. The index in staging is only useful for testing RC (as it's not the one used after release). Let me update here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org