Skip to content

Commit f85a3e0

Browse files
Feat/update repository (#39)
1 parent ebfa86f commit f85a3e0

4 files changed

Lines changed: 30 additions & 16 deletions

File tree

.github/updatecli/helm-appversion.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,21 @@ sources:
1010
pattern: ">=v2.0.0"
1111
conditions: {}
1212
targets:
13-
chartVersion:
14-
name: bump appversion
13+
appVersion:
14+
name: bump appVersion
1515
kind: helmchart
1616
spec:
1717
name: charts/steampipe
1818
file: Chart.yaml
1919
key: $.appVersion
20-
versionincrement: patch
2120
sourceid: steampipe
21+
chartVersion:
22+
name: bump chart version
23+
kind: helmchart
24+
spec:
25+
name: charts/steampipe
26+
file: Chart.yaml
27+
key: $.version
28+
sourceid: steampipe
29+
transformers:
30+
- trimprefix: "v"

.github/workflows/helm-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,21 @@ on:
99
- "charts/steampipe/**"
1010

1111
jobs:
12+
get-version:
13+
runs-on: ubuntu-latest
14+
outputs:
15+
tag: ${{ steps.version.outputs.tag }}
16+
steps:
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
19+
- name: Get chart version from Chart.yaml
20+
id: version
21+
run: |
22+
VERSION=$(grep '^version:' charts/steampipe/Chart.yaml | awk '{print $2}')
23+
echo "tag=v${VERSION}" >> $GITHUB_OUTPUT
24+
1225
release:
26+
needs: get-version
1327
permissions:
1428
contents: write
1529
packages: write
@@ -18,3 +32,4 @@ jobs:
1832
with:
1933
chart_name: steampipe
2034
charts_dir: charts
35+
tag: ${{ needs.get-version.outputs.tag }}

charts/steampipe/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: steampipe
33
description: A Helm chart for Kubernetes to deploy Steampipe
44
type: application
5-
version: 4.0.0
5+
version: 2.4.1
66
appVersion: v2.4.1
77
home: https://github.com/devops-ia/helm-steampipe
88
sources:

package.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
{
22
"name": "helm-steampipe",
3-
"version": "1.0.0",
4-
"release": {
5-
"branches": [
6-
"main"
7-
],
8-
"repositoryUrl": "https://github.com/devops-ia/helm-steampipe.git",
9-
"plugins": [
10-
"@semantic-release/release-notes-generator",
11-
"@semantic-release/github"
12-
]
13-
}
14-
}
3+
"private": true
4+
}

0 commit comments

Comments
 (0)