Skip to content

Commit a6a2aab

Browse files
committed
ci: configure release-please to manage helm chart and uv lock versions
Helm Chart version will be pinned to STAC-Auth-Proxy version
1 parent 976dfab commit a6a2aab

4 files changed

Lines changed: 36 additions & 2 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ jobs:
2424
- uses: googleapis/release-please-action@v4
2525
id: release
2626
with:
27-
release-type: python
2827
token: ${{ steps.app-token.outputs.token }}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.11.0"
3+
}

.vscode/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,13 @@
55
"auto"
66
],
77
"python.testing.unittestEnabled": false,
8-
"python.testing.pytestEnabled": true
8+
"python.testing.pytestEnabled": true,
9+
"json.schemas": [
10+
{
11+
"fileMatch": [
12+
"release-please-config.json"
13+
],
14+
"url": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json"
15+
}
16+
]
917
}

release-please-config.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "python",
5+
"extra-files": [
6+
{
7+
"type": "yaml",
8+
"path": "helm/Chart.yaml",
9+
"jsonpath": "$.version"
10+
},
11+
{
12+
"type": "yaml",
13+
"path": "helm/Chart.yaml",
14+
"jsonpath": "$.appVersion"
15+
},
16+
{
17+
"path": "uv.lock",
18+
"type": "toml",
19+
"jsonpath": "$.package[?(@.name.value=='stac-auth-proxy')].version"
20+
}
21+
]
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)