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

fix(csi-1054): fixed ci-publish #115

Merged
merged 1 commit into from
Dec 19, 2024
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
5 changes: 5 additions & 0 deletions .circleci/publish_helm_charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REVISION=${GITHUB_TAG:-$GIT_SHA1}
LOCAL_HELM_MOJALOOP_REPO_URI=${HELM_MOJALOOP_REPO_URI:-'https://mojaloop.github.io/charts/repo'}

echo "DIR=${DIR}"
echo "PWD=${PWD}"
Expand All @@ -28,6 +29,10 @@ echo "Moving packaged charts to release directory and repo folder" | tee git.log
mv repo/*.* $WORKING_RELEASE_DIRECTORY/repo
mv README.md LICENSE.md CODEOWNERS $WORKING_RELEASE_DIRECTORY

echo "Indexing repo folder" | tee git.log
cd $WORKING_RELEASE_DIRECTORY/repo
helm repo index . --url "$LOCAL_HELM_MOJALOOP_REPO_URI"

echo "Switching to release directory" | tee git.log
cd $WORKING_RELEASE_DIRECTORY
git status
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Here you will find the Business Operational Helm Charts for Reporting Services,

## Quick Links

- [http://docs.mojaloop.io/charts/](http://docs.mojaloop.io/charts/) Mojaloop Published Helm Repo
- [https://mojaloop.github.io/charts/](https://mojaloop.github.io/charts) Mojaloop Published Helm Repo
- [Documentation - Deploying Mojaloop](https://docs.mojaloop.io/documentation/deployment-guide)
- [Helm v3 Docs](https://docs.helm.sh/)

Expand Down
5 changes: 2 additions & 3 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

set -e

#LOCAL_HELM_MOJALOOP_REPO_URI=${HELM_MOJALOOP_REPO_URI:-'https://docs.mojaloop.io/charts/repo'}
LOCAL_HELM_MOJALOOP_REPO_URI=https://docs.mojaloop.io/charts/repo ## https://mojaloop.github.io/charts/repo
LOCAL_HELM_MOJALOOP_REPO_URI=${HELM_MOJALOOP_REPO_URI:-'https://mojaloop.github.io/charts/repo'}

#
# Script to Package all charts, and create an index.yaml in ./repo directory
Expand Down Expand Up @@ -76,7 +75,7 @@ do
done

cd ./repo
helm repo index . --url $LOCAL_HELM_MOJALOOP_REPO_URI
helm repo index . --url "$LOCAL_HELM_MOJALOOP_REPO_URI"

set +x

Expand Down