mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-12 02:25:27 +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/**"
|
- "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"
|
|
||||||
|
|
Loading…
Reference in a new issue