Running yaml formatter on the gitlab-ci file
This commit is contained in:
parent
1171d62ffb
commit
2b2fbe1f8e
@ -17,19 +17,16 @@ lint_helm:
|
|||||||
image: alpine/helm
|
image: alpine/helm
|
||||||
stage: lint_helm
|
stage: lint_helm
|
||||||
script:
|
script:
|
||||||
- echo "Linting Helm chart"
|
|
||||||
- helm lint ./helm
|
- helm lint ./helm
|
||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
- helm/*
|
- helm/*
|
||||||
|
|
||||||
|
|
||||||
lint_python:
|
lint_python:
|
||||||
image: python:alpine
|
image: python:alpine
|
||||||
stage: lint_python
|
stage: lint_python
|
||||||
script:
|
script:
|
||||||
- echo "Linting Python code"
|
- pip install -q black && black --fast --check .
|
||||||
- pip install --upgrade -q pip && pip install -q black && black --fast --check .
|
|
||||||
rules:
|
rules:
|
||||||
- changes:
|
- changes:
|
||||||
- app/*
|
- app/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user