-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (40 loc) · 1.25 KB
/
add-verticadb-chart.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Add verticadb helm chart
on:
workflow_dispatch:
inputs:
operator_version:
description: 'The release version of the operator we are adding the chart for (e.g. 1.8.0)'
type: string
required: true
workflow_call:
inputs:
operator_version:
description: 'The release version of the operator we are adding the chart for (e.g. 1.8.0)'
type: string
required: true
env:
TARBALL_HOST: https://github.com/vertica/vertica-kubernetes/releases/download
CHART_PREFIX: verticadb-operator
jobs:
generate-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download chart tarball
run: |
curl \
--remote-name \
--show-error \
--location \
--fail \
${TARBALL_HOST}/v${{ inputs.operator_version }}/$CHART_PREFIX-${{ inputs.operator_version }}.tgz
- name: Generate the helm repo index
run: |
helm repo index \
--merge index.yaml \
--url $TARBALL_HOST/v${{ inputs.operator_version }} \
.
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Add verticadb-operator-${{ inputs.operator_version }}
file_pattern: index.yaml