Skip to content

Commit

Permalink
Merge pull request #23 from lalithkota/develop-G2P-2355
Browse files Browse the repository at this point in the history
Helm charts: Fixed dependency builds
  • Loading branch information
lalithkota authored Jul 5, 2024
2 parents 53427f6 + 3c0fe26 commit 996ba5c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ jobs:
echo "::warning::No Charts to publish";
echo "SKIP=TRUE" >> $GITHUB_ENV
else
for chartpath in charts/*/; do
helm dep up $chartpath
done
RANCHER_CHARTS=()
while IFS= read -r chartpath; do
echo "chartpath: $chartpath"
chartname=$(basename "$chartpath")
echo "Chartname: $chartname"
helm dep up charts/$chartpath
helm package charts/$chartpath
is_rancher_chart=$(grep "$RANCHER_CHART_FILTER" charts/${chartpath%*/}/Chart.yaml || true)
if [ -n "$is_rancher_chart" ]; then
Expand Down
2 changes: 1 addition & 1 deletion charts/reporting/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
charts/
charts/*.tgz
Chart.lock
2 changes: 0 additions & 2 deletions charts/reporting/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ dependencies:
repository: oci://registry-1.docker.io/bitnamicharts
condition: opensearch.enabled
- name: debezium
repository: https://openg2p.github.io/openg2p-helm
version: 2.6.0
condition: debezium.enabled
- name: opensearch-kafka-connector
repository: https://openg2p.github.io/openg2p-helm
version: 0.0.0-develop
condition: opensearch-kafka-connector.enabled
icon: https://openg2p.github.io/openg2p-helm/openg2p-logo.png
Expand Down
1 change: 1 addition & 0 deletions charts/reporting/charts/debezium
1 change: 1 addition & 0 deletions charts/reporting/charts/opensearch-kafka-connector

0 comments on commit 996ba5c

Please sign in to comment.