ansible/test/utils/shippable
Adrien Vergé 527d8307c1 Lint YAML files under test/
This commit extends YAML linting by enabling standard rules from the
`yamllint` tool [1]. Since syntax errors and key duplicates are already
checked since 4d48711, this change only adds detection for cosmetic
problems. It also narrows checks to the test/ dir only.

The main goal is to prevent future problems to enter the code base
without being noticed. While it would be a huge effort to be PEP8
compliant, it is relatively easy to have correct YAML style *now* and
prevent future errors by enabling linting.

Note: for those (like me) caring about code attribution: use `git blame
-w` to ignore whitespace-only changes.

Note: I disabled some linting checks (such as indentation), they can be
enforced in the future if needed. Similarly, current checks can also be
disabled. See the `.yamllint` file.

[1]: https://yamllint.readthedocs.io/
2016-11-11 14:50:57 -08:00
..
modules Fix role path for generate-tests. 2016-10-13 13:04:48 -07:00
ansible-core-ci Disable expect continue in ansible-core-ci. (#17737) 2016-09-23 22:09:46 -07:00
ci.sh
code-smell-requirements.txt Unpin yamllint now that version 1.3.2 is out. (#16479) 2016-06-28 11:40:14 -07:00
code-smell.sh Lint YAML files under test/ 2016-11-11 14:50:57 -08:00
download-logs Update log url for Shippable download-logs script. 2016-11-07 10:07:42 -08:00
integration-requirements.txt Put integration.sh pip reqs in separate file. (#17338) 2016-08-31 15:16:15 -07:00
integration.sh Disable privileged mode on Shippable. (#17844) 2016-09-30 22:06:28 -07:00
python3-test-tag-blacklist.txt Enable the git test on py3 2016-10-21 09:03:35 -07:00
python3-test-target-blacklist.txt Fix ansible-pull on python3 2016-10-17 16:31:08 -07:00
remote-integration.sh Run test_template tests on OS X. (#17791) 2016-09-27 23:30:58 -07:00
remote-requirements.txt fix remote shippable target failures (#17287) 2016-08-29 14:01:25 -07:00
remote.sh fix remote shippable target failures (#17287) 2016-08-29 14:01:25 -07:00
sanity-requirements.txt Install dependencies for validate-modules (#18028) 2016-10-14 12:23:29 +01:00
sanity.sh Move ansible ad-hoc tests to integration targets. 2016-11-10 23:58:32 -08:00