diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-22 00:44:56 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-26 17:10:34 +0000 |
commit | 791cb3f2d864c1f8b9473f9ba4348c4435aa813b (patch) | |
tree | d127d5fba9fefc4d869ab5afa864f53a1f08ce7c /pharos | |
parent | a55ef9371da96dbdd267a516d6447bd9522641d0 (diff) |
PDF: Run YAML Linter on pod descriptors / output
We have 2 rounds of YAML files:
- PDF (input file(s) for the installer adapter templates);
- parsed PDF (output file(s) after installer adapter template parse);
Run yamllint on all these files, and summarize the output in a tuple
form: (valid YAML output, successful parse, installer templates cnt).
This helps catching various issues:
- formatting issues in installer adapter templates;
- missing values in PDFs (e.g. lf-pod4 IPMI credentials);
etc.
For now, yamllint failures for output files are non-fatal.
Sample output:
| PDF Verify Matrix | YAML Lint | ... | fuel | joid |
| pharos/config/pod1.yaml | OK | ... | 1/1/1 | 1/1/1 |
| intel/pod18.yaml | OK | ... | 1/1/1 | 1/1/1 |
| arm/pod5.yaml | OK | ... | 1/1/1 | 0/1/1 |
| lf/pod4.yaml | OK | ... | 0/1/1 | 0/1/1 |
Change-Id: Id598da89fab0e7e41641649833471194e8d248a9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'pharos')
0 files changed, 0 insertions, 0 deletions