Skip to content

Commit

Permalink
release: Generate helm values docs
Browse files Browse the repository at this point in the history
Generate the helm values docs during the release process.

Signed-off-by: Joe Stringer <joe@cilium.io>
  • Loading branch information
joestringer authored and nbusseneau committed Dec 10, 2021
1 parent f584267 commit 2bede03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/release/post-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ main() {

git checkout -b pr/$version-digests $version
${DIR}/pull-docker-manifests.sh "$@"
logrun make -C Documentation update-helm-values
logecho
logecho "Check that the following changes look correct:"
# TODO: Make this less interactive when we have used it enough
git add --patch install/kubernetes
git add --patch install/kubernetes Documentation/
git commit -se -m "install: Update image digests for $version" -m "Generated from $1." -m "$(cat digest-$version.txt)"
echo "Create PR for v$branch with these changes"
if ! common::askyorn ; then
Expand Down
1 change: 1 addition & 0 deletions contrib/release/start-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ main() {
echo $ersion > VERSION
sed -i 's/"[^"]*"/""/g' install/kubernetes/Makefile.digests
logrun make -C install/kubernetes all USE_DIGESTS=false
logrun make -C Documentation update-helm-values
logrun make update-authors
if ! version_is_prerelease "$version"; then
old_proj=$(grep "projects" $ACTS_YAML | sed "$PROJECTS_REGEX")
Expand Down

0 comments on commit 2bede03

Please sign in to comment.