Commit 794ff396 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(yamllint): add and integrate yamllint

parent e2a8c8fff9ca
Pipeline #34646 passed with stage
in 1 minute and 52 seconds
......@@ -14,3 +14,13 @@ py3:
artifacts:
paths:
- py3-deprecated-warnings.json
yamllint:
rules:
- changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
script:
- tox -e yamllint
extends: default
rules:
document-start: disable
line-length: disable
......@@ -10,3 +10,4 @@ include *.ini *.txt
recursive-include debian changelog compat control copyright rules
exclude .gitlab-ci.yml
exclude .yamllint
[tox]
envlist = py3,flake8,check-manifest
envlist = py3,flake8,check-manifest,yamllint
[testenv]
deps =
......@@ -70,3 +70,9 @@ commands =
dpkg-buildpackage -us -uc --no-check-builddeps --build=source "
sh -c "cd dist && dcmd zip latest.zip *.changes"
http -f POST https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters DIST=buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[testenv:yamllint]
skip_install = true
deps = yamllint
commands =
yamllint .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment