parent
a3e07705cd
commit
0cc9088ce2
4 changed files with 30 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
charts/
|
charts/
|
||||||
node_modules/
|
node_modules/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
tmp/
|
||||||
|
|
|
@ -29,4 +29,6 @@ Makefile
|
||||||
.markdownlintignore
|
.markdownlintignore
|
||||||
.markdownlint.yaml
|
.markdownlint.yaml
|
||||||
.drone.yml
|
.drone.yml
|
||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
|
.woodpecker/
|
||||||
|
tmp/
|
|
@ -1,10 +1,9 @@
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
- main
|
- pages
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
helm-lint:
|
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