tripleo-validations/zuul.d
Gael Chamoulaud e50e1a067d
Validate the playboooks metadata structure
This patch add a custom ansible-lint rule to enforce the structure of
the validations playbooks:

*ValidationHasMetadataRule*:
Throw an ansible-lint error if:
- the *hosts* key is empty or not found,
- *vars* dictionary is missing,
- *metadata* dict is missing in *vars*
- *name*/*description*/*groups* keys are missing or found with a wrong
  data type
- the validation belongs to one or several groups NOT in the official list of
  groups (groups.yaml)

*YAMLLINT*:
- Enable yamllint check in tox linters
- WIP Fix detected yamllint errors

Change-Id: If233286aa9f4299f02f13dc34f1e8c05d89df851
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2020-01-13 14:03:10 +01:00
..
playbooks Validate the playboooks metadata structure 2020-01-13 14:03:10 +01:00
base.yaml Switch to promote docs job 2019-08-21 19:06:06 +02:00
layout.yaml Stop testing python2.7 2019-10-28 16:35:37 +08:00
molecule.yaml New validation: validate-selinux 2020-01-06 10:48:53 +00:00