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

CI: fixes to make Helm release work #303

Merged
merged 5 commits into from
Oct 20, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.ref_name }} --charts ./charts/
run: ct lint --target-branch ${{ github.ref_name }} --config ./charts/ct.yaml
7 changes: 4 additions & 3 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ on:
branches:
- main
paths:
- 'charts/Chart.yaml'
- 'charts/k6-operator/Chart.yaml'

jobs:
call-update-helm-repo:
permissions:
contents: write
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@main
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@ci/fix-for-github-apps-jwt
with:
charts_dir: charts
cr_configfile: charts/cr.yaml
ct_configfile: charts/ct.yaml
helm_tag_prefix: helm
secrets:
helm_repo_token: ${{ secrets.GITHUB_TOKEN }}
gihub_app_id: ${{ secrets.K6_OPERATOR_HELM_RELEASE_APP_ID }}
helm_repo_token: ${{ secrets.K6_OPERATOR_HELM_RELEASE_PEM_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/helm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.ref_name }})
changed=$(ct list-changed --config ./charts/ct.yaml --target-branch ${{ github.ref_name }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
Expand Down
4 changes: 2 additions & 2 deletions charts/Chart.yaml → charts/k6-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "0.0.10"
appVersion: "0.0.11"
description: A Helm chart to install the k6-operator
name: k6-operator
version: 1.0.0
version: 1.1.0
kubeVersion: ">=1.16.0-0"
home: https://k6.io
sources:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading