Skip to content

Commit

Permalink
Rename operator helmchart directory (pixie-io#1492)
Browse files Browse the repository at this point in the history
Summary: Originally the path was just `helm_chart/index.yaml`. However
if we name it `helm_charts/operator/index.yaml`, then we can potentially
add more helm charts in the future.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Build runs

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
  • Loading branch information
aimichelle authored Jun 14, 2023
1 parent d2e42c3 commit 7f569c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/operator_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ jobs:
GIT_SSH_COMMAND: "ssh -i /tmp/ssh.key"
# yamllint disable rule:indentation
run: |
cp index-artifacts/index.yaml helm_chart/index.yaml
git add helm_chart/index.yaml
cp index-artifacts/index.yaml helm_charts/operator/index.yaml
git add helm_charts/operator/index.yaml
export VERSION="$(echo "${TAG_NAME}" | cut -d'/' -f3)"
git commit -s -m "Release Helm chart ${VERSION}"
git push origin "gh-pages"
Expand Down
2 changes: 1 addition & 1 deletion ci/operator_helm_build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ gsutil rsync "${tmp_dir}/${helm_gcs_bucket}" "gs://${helm_gcs_bucket}"
mkdir -p "${tmp_dir}/gh_helm_chart"
helm package "${helm_path}" -d "${tmp_dir}/gh_helm_chart"
# Pull index file.
curl https://artifacts.px.dev/helm_chart/index.yaml -o old_index.yaml
curl https://artifacts.px.dev/helm_charts/operator/index.yaml -o old_index.yaml
# Update the index file.
helm repo index "${tmp_dir}/gh_helm_chart" --merge old_index.yaml --url "https://github.com/${gh_repo}/releases/download/release%2Foperator%2Fv${VERSION}"
mv "${tmp_dir}/gh_helm_chart/index.yaml" "${index_file}"

0 comments on commit 7f569c0

Please sign in to comment.