Skip to content

Commit 3d5c5cb

Browse files
committed
fix: Helm release only supports one changed chart at a time
1 parent 66f06cd commit 3d5c5cb

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

.github/workflows/helm-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@ jobs:
1919
exit 1
2020
fi
2121
22-
call-lint-test:
22+
call-lint-test-pyroscope:
2323
uses: grafana/helm-charts/.github/workflows/lint-test.yaml@main
2424
with:
2525
ct_configfile: operations/pyroscope/helm/ct.yaml
2626
ct_check_version_increment: false
2727
helm_version: v3.14.3
28+
call-lint-test-pyroscope-monitoring:
29+
uses: grafana/helm-charts/.github/workflows/lint-test.yaml@main
30+
with:
31+
ct_configfile: operations/pyroscope/helm/ct-monitoring.yaml
32+
ct_check_version_increment: false
33+
helm_version: v3.14.3

.github/workflows/helm-release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,30 @@ on:
55
branches:
66
- main
77
- "release-[0-9]+.[0-9]+"
8+
- "20251030_fix-chart-release"
89

910
jobs:
10-
call-update-helm-repo:
11+
call-update-helm-repo-pyroscope:
12+
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@0b2c5a7aad1a11c1516aae3972d2961d41838167
1113
permissions:
1214
contents: "write"
1315
id-token: "write"
1416
packages: "write"
15-
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@0b2c5a7aad1a11c1516aae3972d2961d41838167
1617
with:
1718
charts_dir: operations/pyroscope/helm/
1819
cr_configfile: operations/pyroscope/helm/cr.yaml
1920
ct_configfile: operations/pyroscope/helm/ct.yaml
2021
secrets:
2122
vault_repo_secret_name: grafana-pyroscope-releases
23+
call-update-helm-repo-pyroscope-monitoring:
24+
uses: grafana/helm-charts/.github/workflows/update-helm-repo.yaml@0b2c5a7aad1a11c1516aae3972d2961d41838167
25+
permissions:
26+
contents: "write"
27+
id-token: "write"
28+
packages: "write"
29+
with:
30+
charts_dir: operations/pyroscope/helm/
31+
cr_configfile: operations/pyroscope/helm/cr.yaml
32+
ct_configfile: operations/pyroscope/helm/ct-monitoring.yaml
33+
secrets:
34+
vault_repo_secret_name: grafana-pyroscope-releases
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://github.com/helm/chart-testing#configuration
2+
remote: origin
3+
target-branch: main
4+
kubeVersion: "1.23"
5+
chart-dirs:
6+
- operations/pyroscope/helm/
7+
helm-extra-args: --timeout 600s
8+
validate-maintainers: false
9+
excluded-charts:
10+
- pyroscope

operations/pyroscope/helm/ct.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ chart-repos:
99
- grafana=https://grafana.github.io/helm-charts
1010
helm-extra-args: --timeout 600s
1111
validate-maintainers: false
12+
excluded-charts:
13+
- pyroscope-monitoring

0 commit comments

Comments
 (0)