parent
a3e07705cd
commit
0cc9088ce2
4 changed files with 30 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
charts/
|
||||
node_modules/
|
||||
.DS_Store
|
||||
tmp/
|
||||
|
|
|
@ -30,3 +30,5 @@ Makefile
|
|||
.markdownlint.yaml
|
||||
.drone.yml
|
||||
CONTRIBUTING.md
|
||||
.woodpecker/
|
||||
tmp/
|
|
@ -1,10 +1,9 @@
|
|||
platform: linux/amd64
|
||||
|
||||
when:
|
||||
event: [ push, pull_request ]
|
||||
branch:
|
||||
exclude:
|
||||
- main
|
||||
- pages
|
||||
|
||||
pipeline:
|
||||
helm-lint:
|
25
.woodpecker/release-version.yml
Normal file
25
.woodpecker/release-version.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
platform: linux/amd64
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
when:
|
||||
tag: v*
|
||||
|
||||
pipeline:
|
||||
generate-chart:
|
||||
image: alpine:3.17
|
||||
pull: true
|
||||
commands:
|
||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
|
||||
- apk add --no-cache curl
|
||||
- helm dependency update
|
||||
- rm -rf tmp/
|
||||
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
|
||||
- git fetch origin
|
||||
- git checkout pages
|
||||
- helm repo index tmp/ --merge index.yaml
|
||||
- mv -f tmp/* .
|
||||
- git add -A
|
||||
- 'git commit -m "chore: update charts to ${CI_COMMIT_TAG}"'
|
||||
- git push origin pages
|
Loading…
Reference in a new issue