ci-includes-yml/pipelines/helm.yml

40 lines
739 B
YAML
Raw Normal View History

stages:
- build
- publish
include:
- project: 'durfy/ci-includes/yml'
ref: 'main'
file:
- 'jobs/version.yml'
- 'jobs/helm.yml'
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-push:
extends: .helm-push
stage: publish
needs:
- job: helm-build
2023-08-20 13:38:31 +00:00
artifacts: true
- job: version
artifacts: true
rules:
- if: $CI_COMMIT_REF_NAME == 'main'
- if: $CI_COMMIT_BRANCH =~ '/^release/'