Skip to content

Commit

Permalink
Improve ci workflow (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten authored May 12, 2023
1 parent 646531a commit 4dbb013
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
17 changes: 10 additions & 7 deletions .woodpecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ pipeline:
commands:
- helm lint --with-subcharts

release:
pack-chart:
image: quay.io/helmpack/chart-releaser:v1.5.0
secrets:
- source: github_token
target: CR_TOKEN
commands:
- git config --global user.email "[email protected]"
- git config --global user.name "woodpecker-bot"
- mkdir -p .cr-index
- cr package .

release-chart:
image: quay.io/helmpack/chart-releaser:v1.5.0
secrets:
- source: github_token
target: CR_TOKEN
commands:
- cr upload --owner woodpecker-ci --git-repo woodpecker-ci.github.io --release-name-template "helm-{{ .Name }}-{{ .Version }}"
- git clone https://github.com/woodpecker-ci/woodpecker-ci.github.io.git
- cd woodpecker-ci.github.io/ && cr index --owner woodpecker-ci --git-repo woodpecker-ci.github.io --pages-branch master --package-path ../.cr-release-packages --index-path ../.cr-index/index.yaml --charts-repo https://woodpecker-ci.org --push --release-name-template "helm-{{ .Name }}-{{ .Version }}"
Expand All @@ -30,10 +34,9 @@ pipeline:
image: jnorwood/helm-docs:v1.11.0
commands:
- helm-docs -t README.md.gotmpl
when:
- event: tag
- cat README.md

push-updated-readme:
push-readme:
image: appleboy/drone-git-push
settings:
remote: ssh://[email protected]/woodpecker-ci/helm.git
Expand Down
8 changes: 4 additions & 4 deletions Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: server
repository: ""
version: 0.1.3
version: 0.1.4
- name: agent
repository: ""
version: 0.1.3
digest: sha256:2459ccd528f00ae48c1a0c9d3b499c19bc042d7b1a0f7a8e2de5346eef81fc32
generated: "2023-05-12T18:15:46.87196402+02:00"
version: 0.1.4
digest: sha256:c2f31e23a10e3c0f29c2307d0d7a4ed96ffea3fec5334bc57acace545f7602d9
generated: "2023-05-12T18:20:08.013880236+02:00"
6 changes: 3 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: woodpecker
description: A Helm chart for Woodpecker CI
type: application
version: 0.1.3
version: 0.1.4
appVersion: "v0.15.9"
home: https://woodpecker-ci.org/
icon: https://avatars.githubusercontent.com/u/84780935?s=200&v=4
Expand All @@ -26,8 +26,8 @@ sources:

dependencies:
- name: server
version: "0.1.3"
version: "0.1.4"
condition: server.enabled
- name: agent
version: "0.1.3"
version: "0.1.4"
condition: agent.enabled
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: agent
description: A Helm chart for the Woodpecker agent
type: application
version: 0.1.3
version: 0.1.4
appVersion: "v0.15.9"
home: https://woodpecker-ci.org/
icon: https://avatars.githubusercontent.com/u/84780935?s=200&v=4
Expand Down
2 changes: 1 addition & 1 deletion charts/server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: server
description: A Helm chart for the Woodpecker server
type: application
version: 0.1.3
version: 0.1.4
appVersion: "v0.15.9"
home: https://woodpecker-ci.org/
icon: https://avatars.githubusercontent.com/u/84780935?s=200&v=4
Expand Down

0 comments on commit 4dbb013

Please sign in to comment.