Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xta-test-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
lib
xta-test-server
Commits
b50ebda4
Commit
b50ebda4
authored
3 months ago
by
Jan Zickermann
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7121 helm: Add pipeline-steps for main and release
parent
85d09c53
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!3
Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline
#1438
skipped
Stage: publish
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab-ci.yml
with
34 additions
and
0 deletions
.gitlab-ci.yml
+
34
−
0
View file @
b50ebda4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment