Partially Revert "CI: add branches filter (#1130)"

This partially reverts commit f9dd6518c0.
This commit is contained in:
6543 2022-10-14 13:39:46 +02:00
parent 0bc9f79f61
commit 7fede8ea1d
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

@ -3,14 +3,6 @@ variables:
- "charts/**" - "charts/**"
- ".woodpecker/helm.yml" - ".woodpecker/helm.yml"
when:
- event: push
branch: ["${CI_REPO_DEFAULT_BRANCH}", "release/*" ]
path: *when_path
- event: tag
- event: pull_request
path: *when_path
pipeline: pipeline:
set-version: set-version:
image: alpine/helm:3.5.3 image: alpine/helm:3.5.3
@ -24,10 +16,7 @@ pipeline:
- cat charts/woodpecker-agent/Chart.yaml - cat charts/woodpecker-agent/Chart.yaml
- cat charts/woodpecker-server/Chart.yaml - cat charts/woodpecker-server/Chart.yaml
when: when:
path: path: *when_path
include:
- "charts/**"
- ".woodpecker/helm.yml"
lint: lint:
image: alpine/helm:3.5.3 image: alpine/helm:3.5.3
@ -35,10 +24,7 @@ pipeline:
- helm lint charts/woodpecker-agent/ - helm lint charts/woodpecker-agent/
- helm lint charts/woodpecker-server/ - helm lint charts/woodpecker-server/
when: when:
path: path: *when_path
include:
- "charts/**"
- ".woodpecker/helm.yml"
release: release:
image: quay.io/helmpack/chart-releaser:v1.4.0 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 }}" - 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: when:
event: tag event: tag
path: path: *when_path
include:
- "charts/**"
- ".woodpecker/helm.yml"