Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] fix chart publish from overwriting teraslice registry #3919

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/publish-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
helm repo index . --merge=index.yaml --url oci://ghcr.io/terascope/teraslice-chart:${{ env.CHART_VERSION }}
echo $(cat index.yaml)
echo $(ls)
sed -i 's|/teraslice-${{ env.CHART_VERSION }}.tgz||' index.yaml
sed -i 's|/teraslice-chart-${{ env.CHART_VERSION }}.tgz||' index.yaml
echo $(cat index.yaml)

- name: Commit Updated index.yaml
Expand All @@ -191,8 +191,6 @@ jobs:
run: |
cd ./helm/helm-repo-site
echo $(ls)
mv ./teraslice-${{ env.CHART_VERSION }}.tgz teraslice-chart-${{ env.CHART_VERSION }}.tgz
echo $(ls)
CHART_FILE=$(ls teraslice-chart-${{ env.CHART_VERSION }}.tgz)
echo "Publishing $CHART_FILE to GHCR..."
helm push $CHART_FILE oci://ghcr.io/terascope --debug
Expand Down
2 changes: 1 addition & 1 deletion helm/helm-repo-site/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ releases:
- name: teraslice
namespace: ts-dev1
version: {{ (index (index .Entries "teraslice") 0).Version }}
chart: terascope/teraslice
chart: terascope/teraslice-chart
needs:
- ts-dev1/opensearch1
values:
Expand Down
2 changes: 1 addition & 1 deletion helm/teraslice/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: teraslice
name: teraslice-chart
description: Teraslice - Distributed computing platform for processing JSON data
type: application
version: 2.0.0
Expand Down
Loading