Skip to content

Commit 82a8a32

Browse files
committed
Updating helm chart version
Signed-off-by: S3B4SZ17 <[email protected]>
1 parent 52c32f7 commit 82a8a32

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/helm_test.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
pull_request:
66
branches:
77
- beta
8+
- main
89
paths:
910
- 'charts/**'
1011
push:
@@ -33,7 +34,7 @@ jobs:
3334
- name: Set up Helm
3435
uses: azure/setup-helm@v4
3536
with:
36-
version: v3.5.0
37+
version: v3.13.3
3738

3839
- uses: actions/setup-python@v4
3940
with:
@@ -56,9 +57,17 @@ jobs:
5657
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
5758

5859
- name: Create kind cluster
59-
if: steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
60+
if: steps.list-changed.outputs.changed == 'true'
6061
uses: helm/[email protected]
6162

6263
- name: Run chart-testing (install)
63-
if: steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
64-
run: ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
64+
if: steps.list-changed.outputs.changed == 'true'
65+
run: |
66+
DRY_RUN=${{ github.ref_name == 'beta' && 'false' || (github.ref_name == 'main' && 'false' || 'true') }}
67+
if [ "$DRY_RUN" = "true" ]; then
68+
echo "Running in dry-run mode"
69+
ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts --helm-extra-args '--dry-run --debug'
70+
else
71+
echo "Running in install mode"
72+
ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
73+
fi

charts/sysdig-mcp/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ type: application
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 0.1.2
23+
version: 0.1.3
2424

2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to
2727
# follow Semantic Versioning. They should reflect the version the application is using.
2828
# It is recommended to use it with quotes.
29-
appVersion: "v0.1.2"
29+
appVersion: "v0.1.3-beta.0"

charts/sysdig-mcp/templates/configmap.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
{{- if .Values.configMap.enabled -}}
32
apiVersion: v1
43
kind: ConfigMap

charts/sysdig-mcp/templates/secrets.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
{{- if .Values.sysdig.secrets.create -}}
32
apiVersion: v1
43
kind: Secret

0 commit comments

Comments
 (0)