mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 09:20:31 +00:00
Partially Revert "CI: add branches filter (#1130)"
This partially reverts commit f9dd6518c0
.
This commit is contained in:
parent
0bc9f79f61
commit
7fede8ea1d
1 changed files with 3 additions and 20 deletions
|
@ -3,14 +3,6 @@ variables:
|
|||
- "charts/**"
|
||||
- ".woodpecker/helm.yml"
|
||||
|
||||
when:
|
||||
- event: push
|
||||
branch: ["${CI_REPO_DEFAULT_BRANCH}", "release/*" ]
|
||||
path: *when_path
|
||||
- event: tag
|
||||
- event: pull_request
|
||||
path: *when_path
|
||||
|
||||
pipeline:
|
||||
set-version:
|
||||
image: alpine/helm:3.5.3
|
||||
|
@ -24,10 +16,7 @@ pipeline:
|
|||
- cat charts/woodpecker-agent/Chart.yaml
|
||||
- cat charts/woodpecker-server/Chart.yaml
|
||||
when:
|
||||
path:
|
||||
include:
|
||||
- "charts/**"
|
||||
- ".woodpecker/helm.yml"
|
||||
path: *when_path
|
||||
|
||||
lint:
|
||||
image: alpine/helm:3.5.3
|
||||
|
@ -35,10 +24,7 @@ pipeline:
|
|||
- helm lint charts/woodpecker-agent/
|
||||
- helm lint charts/woodpecker-server/
|
||||
when:
|
||||
path:
|
||||
include:
|
||||
- "charts/**"
|
||||
- ".woodpecker/helm.yml"
|
||||
path: *when_path
|
||||
|
||||
release:
|
||||
image: quay.io/helmpack/chart-releaser:v1.4.0
|
||||
|
@ -56,7 +42,4 @@ pipeline:
|
|||
- 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 }}"
|
||||
when:
|
||||
event: tag
|
||||
path:
|
||||
include:
|
||||
- "charts/**"
|
||||
- ".woodpecker/helm.yml"
|
||||
path: *when_path
|
||||
|
|
Loading…
Reference in a new issue