Files
yml/pipelines/helm.yaml
DeveloperDurp 504045e17c Update 4 files
- /scripts/helm-push.sh
- /scripts/helm-login.sh
- /templates/helm.tpl.yml
- /pipelines/helm.yaml
2023-08-20 12:57:34 +00:00

47 lines
867 B
YAML

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/'