Add helm linting step to gitlab-ci
This commit is contained in:
parent
ab896f8e6f
commit
b3b0f9db4c
@ -9,12 +9,24 @@ variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
||||
stages:
|
||||
- test
|
||||
- lint_python
|
||||
- lint_helm
|
||||
- deploy
|
||||
|
||||
lint_helm_on_merge_request:
|
||||
image: alpine/helm
|
||||
stage: lint_python
|
||||
script:
|
||||
- echo "Linting Helm chart"
|
||||
- helm lint ./helm
|
||||
rules:
|
||||
- changes:
|
||||
- helm/*
|
||||
|
||||
|
||||
lint_python_on_merge_request:
|
||||
image: python:alpine
|
||||
stage: test
|
||||
stage: lint_python
|
||||
script:
|
||||
- echo "Linting Python code"
|
||||
- pip install --upgrade -q pip && pip install -q black && black --fast --check .
|
||||
|
Loading…
x
Reference in New Issue
Block a user