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
846107f0
Commit
846107f0
authored
5 months ago
by
Jan Zickermann
Browse files
Options
Downloads
Patches
Plain Diff
#2
OZG-7121 pipeline: Post helm package to nexus
parent
802295a1
No related branches found
No related tags found
1 merge request
!3
Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline
#1291
passed with warnings
5 months ago
Stage: publish
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-3
5 additions, 3 deletions
.gitlab-ci.yml
with
5 additions
and
3 deletions
.gitlab-ci.yml
+
5
−
3
View file @
846107f0
...
@@ -37,12 +37,13 @@ test:
...
@@ -37,12 +37,13 @@ test:
.helm
:
.helm
:
before_script
:
before_script
:
-
apk add --no-cache helm git
-
apk add --no-cache helm git curl
-
helm plugin install https://github.com/helm-unittest/helm-unittest.git
test-helm
:
test-helm
:
stage
:
test
stage
:
test
extends
:
.helm
extends
:
.helm
before_script
:
-
helm plugin install https://github.com/helm-unittest/helm-unittest.git
script
:
script
:
-
helm template ./src/main/helm/ -f src/test/helm-linter-values.yaml
-
helm template ./src/main/helm/ -f src/test/helm-linter-values.yaml
-
helm lint -f src/test/helm-linter-values.yaml ./src/main/helm/
-
helm lint -f src/test/helm-linter-values.yaml ./src/main/helm/
...
@@ -87,7 +88,8 @@ push-merge-request-helm-nexus:
...
@@ -87,7 +88,8 @@ push-merge-request-helm-nexus:
-
.get-version
-
.get-version
-
.helm
-
.helm
script
:
script
:
-
cd src/main/helm && helm package --version=MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION}
-
helm package src/main/helm --version=MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION}
-
curl -u ${NEXUS_USER}:${NEXUS_PASSWORD} https://nexus.ozg-sh.de/service/rest/v1/components?repository=ozg-base-apps-snapshot -F file=@${PROJECT_ARTIFACTID}-MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION}.tgz
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
when
:
manual
when
:
manual
...
...
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