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

#2 OZG-7121 pipeline: Add git to helm jobs

parent 8b81c98d
No related branches found
No related tags found
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline #1289 passed with warnings
......@@ -35,11 +35,14 @@ test:
script:
- mvn test $MAVEN_CLI_OPTS
test-helm:
stage: test
.helm:
before_script:
- apk add --no-cache helm
- apk add --no-cache helm git
- helm plugin install https://github.com/helm-unittest/helm-unittest.git
test-helm:
stage: test
extends: .helm
script:
- helm template ./src/main/helm/ -f src/test/helm-linter-values.yaml
- helm lint -f src/test/helm-linter-values.yaml ./src/main/helm/
......@@ -80,9 +83,9 @@ push-merge-request-image-nexus:
push-merge-request-helm-nexus:
stage: publish
extends: .get-version
before_script:
- apk add --no-cache helm
extends:
- .get-version
- .helm
script:
- cd src/main/helm && helm package --version=MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION}
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment