mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-09 00:31:33 -05:00
Update 2 files
- /pipelines/helm.yaml - /pipelines/helm.yml
This commit is contained in:
parent
8669ce1b77
commit
a1db997227
1 changed files with 0 additions and 0 deletions
46
pipelines/helm.yml
Normal file
46
pipelines/helm.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
stages:
|
||||
- build
|
||||
- publish
|
||||
|
||||
include:
|
||||
- template: Security/Secret-Detection.gitlab-ci.yml
|
||||
- project: 'developerdurp/yml'
|
||||
ref: main
|
||||
file:
|
||||
- 'jobs/version.yml'
|
||||
- 'jobs/helm.yml'
|
||||
|
||||
secret_detection:
|
||||
stage: .pre
|
||||
rules:
|
||||
- when: always
|
||||
allow_failure: false
|
||||
|
||||
version:
|
||||
extends: .version
|
||||
stage: .pre
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == 'main'
|
||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
|
||||
helm-build:
|
||||
extends: .helm-build
|
||||
stage: build
|
||||
needs:
|
||||
- job: version
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == 'main'
|
||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
|
||||
helm:
|
||||
extends: .helm-push
|
||||
stage: publish
|
||||
needs:
|
||||
- job: helm-build
|
||||
artifacts: false
|
||||
- job: version
|
||||
artifacts: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == 'main'
|
||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
Loading…
Add table
Add a link
Reference in a new issue