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

Helm Chart release workflow adjustments #144

Merged
merged 3 commits into from
Jun 18, 2024
Merged
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
21 changes: 5 additions & 16 deletions .github/workflows/release-helm-chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: release-helm-chart
# Description: This workflow is used to release the Helm chart to the GitHub repository. The chart manifests should be already
# built with the target `helm-build` and the manifests changes already committed to the tag to be released.

name: Release Helm Chart
on:
# TODO: The following commented lines should be used depending on the release strategy
# release:
Expand All @@ -14,14 +17,6 @@ on:
description: Operator bundle version
default: 0.0.0
type: string
limitadorVersion:
description: Limitador version
default: latest
type: string
releaseId:
description: Release ID
default: 0
type: string

jobs:
chart_release:
Expand All @@ -41,12 +36,6 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- name: Build the Helm Chart manifests
run: |
make helm-build \
VERSION=${{ inputs.operatorVersion }} \
LIMITADOR_VERSION=${{ inputs.limitadorVersion }}

- name: Package Helm Chart
run: |
make helm-package
Expand All @@ -56,7 +45,7 @@ jobs:
id: upload-chart
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: charts/limitador-operator-${{ inputs.operatorVersion }}.tgz
file: limitador-operator-${{ inputs.operatorVersion }}.tgz
asset_name: chart-limitador-operator-${{ inputs.operatorVersion }}.tgz
tag: ${{ github.ref }}
overwrite: true
Expand Down
Loading