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
Branches
Tags
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: ...@@ -35,11 +35,14 @@ test:
script: script:
- mvn test $MAVEN_CLI_OPTS - mvn test $MAVEN_CLI_OPTS
test-helm: .helm:
stage: test
before_script: before_script:
- apk add --no-cache helm - apk add --no-cache helm git
- helm plugin install https://github.com/helm-unittest/helm-unittest.git - helm plugin install https://github.com/helm-unittest/helm-unittest.git
test-helm:
stage: test
extends: .helm
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/
...@@ -80,9 +83,9 @@ push-merge-request-image-nexus: ...@@ -80,9 +83,9 @@ push-merge-request-image-nexus:
push-merge-request-helm-nexus: push-merge-request-helm-nexus:
stage: publish stage: publish
extends: .get-version extends:
before_script: - .get-version
- apk add --no-cache helm - .helm
script: script:
- cd src/main/helm && helm package --version=MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION} - cd src/main/helm && helm package --version=MR-${CI_MERGE_REQUEST_IID}-${PROJECT_VERSION}
rules: rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment