Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
feat: Use helm build action (#305)
Browse files Browse the repository at this point in the history
* chore: Remove kubernetes-utils dependency

Signed-off-by: TannerGabriel <gabrieltanner.code@gmail.com>

* feat: Use Helm build action

Signed-off-by: TannerGabriel <gabrieltanner.code@gmail.com>

* Use CHART_NAME instead of IMAGE

Signed-off-by: TannerGabriel <gabrieltanner.code@gmail.com>
  • Loading branch information
TannerGabriel committed Jul 6, 2022
1 parent 487c2a3 commit 5507b45
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 57 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ bin/
test-data/
test-events/
assets/
gh-actions-scripts/
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}.${DATETIME}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}.${{ env.DATETIME }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as an artifact
id: upload_helm_chart
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as release asset
env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ jobs:

- name: Build Helm Charts
id: build_helm_charts
run: ./gh-actions-scripts/build_helm_chart.sh "${VERSION}" "${VERSION}" "${IMAGE}"
uses: keptn/gh-automation/.github/actions/build-helm-charts@v1.6.0
with:
VERSION: ${{ env.VERSION }}
APP_VERSION: ${{ env.VERSION }}
CHART_NAME: ${{ env.IMAGE }}

- name: Upload Helm Chart as release asset
env:
Expand Down
53 changes: 0 additions & 53 deletions gh-actions-scripts/build_helm_chart.sh

This file was deleted.

0 comments on commit 5507b45

Please sign in to comment.