Skip to content
Snippets Groups Projects
Commit b50ebda4 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-7121 helm: Add pipeline-steps for main and release

parent 85d09c53
Branches
Tags
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline #1438 skipped
......@@ -134,6 +134,24 @@ push-snapshot-image-nexus:
only:
- main
push-snapshot-helm-nexus:
stage: publish
variables:
NEXUS_HELM_REPO_NAME: ozg-base-apps-snapshot
before_script:
- !reference [.get-version, before_script]
- !reference [.helm, before_script]
script:
- export HELM_CHART_VERSION=${PROJECT_VERSION}-main
- !reference [ .helm, script ]
- export HELM_CHART_VERSION=${PROJECT_VERSION}-main-${CI_COMMIT_SHORT_SHA}
- !reference [.helm, script]
only:
- main
artifacts:
paths:
- "*.tgz"
# Release jobs
push-release-image-gitlab:
stage: publish
......@@ -155,3 +173,19 @@ push-release-image-nexus:
- mvn deploy -Pnexus-deploy $MAVEN_DEPLOY_CLI_OPTS $MAVEN_CLI_OPTS
rules:
- if: $CI_COMMIT_TAG
push-release-helm-nexus:
stage: publish
variables:
NEXUS_HELM_REPO_NAME: ozg-base-apps
before_script:
- !reference [.get-version, before_script]
- !reference [.helm, before_script]
script:
- export HELM_CHART_VERSION=${PROJECT_VERSION}
- !reference [.helm, script]
rules:
- if: $CI_COMMIT_TAG
artifacts:
paths:
- "*.tgz"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment