Skip to content

Commit

Permalink
Merge pull request #639 from solarwinds/bugfix/fixForLargeHelmIndex
Browse files Browse the repository at this point in the history
Fix for large Helm index
  • Loading branch information
pstranak-sw authored May 31, 2024
2 parents 708a321 + e3d0e7e commit d42adc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@ push_files() {
--jq '.sha')

MESSAGE="New release $release_name"
CONTENT=$(base64 -i .cr-index/index.yaml)

# Push new index.yaml to the feature branch
echo "Pushing new index.yaml to branch '$branch_name'..."
gh api --method PUT /repos/solarwinds/swi-k8s-opentelemetry-collector/contents/index.yaml \
--field message="$MESSAGE" \
--field content="$CONTENT" \
--field encoding="base64" \
--field content=@<(base64 -i .cr-index/index.yaml) \
--field branch="$branch_name" \
--field sha="$SHA"
}
Expand Down

0 comments on commit d42adc2

Please sign in to comment.