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 19:42:37 +0000 |
commit | 13be4e4093f1a58eb907a9bf024bbb9336674291 (patch) | |
tree | dd994f6c62f60f067426da2c709663ed9331521e /installers/daisy | |
parent | decf59a64532d72654d53a3e0209ddf3a35f0fdc (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>
(cherry picked from commit 791cb3f2d864c1f8b9473f9ba4348c4435aa813b)
Diffstat (limited to 'installers/daisy')
0 files changed, 0 insertions, 0 deletions