Compare commits
2 commits
48f9e4f606
...
3ee2cb2b2a
Author | SHA1 | Date | |
---|---|---|---|
3ee2cb2b2a | |||
3cd81ad97f |
1 changed files with 2 additions and 10 deletions
12
.drone.yml
12
.drone.yml
|
@ -10,14 +10,6 @@ steps:
|
||||||
- name: lint_docker_compose
|
- name: lint_docker_compose
|
||||||
image: python:3.8-slim-bullseye
|
image: python:3.8-slim-bullseye
|
||||||
commands:
|
commands:
|
||||||
- "pip3 install yamllint"
|
|
||||||
- "yamllint --version"
|
|
||||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./*.yml'
|
|
||||||
|
|
||||||
- name: python3.8
|
|
||||||
image: python:3.8-slim-bullseye
|
|
||||||
commands:
|
|
||||||
- "python3 --version"
|
|
||||||
- "pip3 install yamllint"
|
- "pip3 install yamllint"
|
||||||
- "yamllint --version"
|
- "yamllint --version"
|
||||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" .'
|
||||||
|
@ -44,7 +36,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "pip3 install yamllint"
|
- "pip3 install yamllint"
|
||||||
- "yamllint --version"
|
- "yamllint --version"
|
||||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./arr/*.yml'
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" arrs/*.yml'
|
||||||
when:
|
when:
|
||||||
condition:
|
condition:
|
||||||
- change_match:
|
- change_match:
|
||||||
|
@ -56,7 +48,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "pip3 install yamllint"
|
- "pip3 install yamllint"
|
||||||
- "yamllint --version"
|
- "yamllint --version"
|
||||||
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" ./downloaders/*.yml'
|
- 'yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" downloaders/*.yml'
|
||||||
when:
|
when:
|
||||||
condition:
|
condition:
|
||||||
- change_match:
|
- change_match:
|
||||||
|
|
Reference in a new issue