Skip to content

Commit

Permalink
[workflow] Add repo and build dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Jul 31, 2024
1 parent 7c9090b commit 78bd93e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:

- name: Package Helm Chart
run: |
make helm-add-kuadrant-repo
make helm-dependency-build
make helm-package
- name: Parse Tag
Expand Down
4 changes: 4 additions & 0 deletions make/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ helm-dependency-build: $(HELM) ## Build the chart dependencies
# Fetch and builds dependencies in Chart.yaml, updates the Chart.lock and downloads the charts .tgz
$(HELM) dependency build charts/$(REPO)

.PHONY: helm-add-kuadrant-repo
helm-add-kuadrant-repo: $(HELM) ## Add the Kuadrant charts repo and force update it
$(HELM) repo add kuadrant https://kuadrant.io/helm-charts --force-update

# GitHub Token with permissions to upload to the release assets
HELM_WORKFLOWS_TOKEN ?= <YOUR-TOKEN>
# GitHub Release Asset Browser Download URL, it can be find in the output of the uploaded asset
Expand Down

0 comments on commit 78bd93e

Please sign in to comment.