aboutsummaryrefslogtreecommitdiff
path: root/tools/validate-all-yaml.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02Fix pre-commit-hookmnasiadka1-1/+1
Currently pre-commit-hook is failing due to yaml validations using unversioned python and using non-existent json validations. Change-Id: I67dc11efe667e2cc67ea1a731edc5c4a03ebd1e7 Closes-Bug: #1778146
2020-01-20Make tools bash compatibleDincer Celik1-1/+2
Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b
2016-05-02Remove unecessary blank linesMauricio Lima1-1/+0
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2015-04-27Change the default shell to bashChen Zhiwei1-1/+1
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
2015-04-14Fix validate-all-yaml.sh to check for files with yml extensionMartin André1-1/+1
YAML files can have .yaml or .yml extension. Make `validate-all-yaml.sh` check for *.yml files in addition to *.yaml files since we now have some of these in our source tree. This should help to prevent bogus YAML files to land in the repository. Change-Id: Id59273680fc2424f7b636033b1d641efcaaeba22
2015-01-19Make scripts work on latest Atomic imagesMartin André1-4/+3
Remove git and jq dependency in most scripts, allowing to run them on latest atomic images, or even distribute Kolla in the form of tarball. The only remainings of git dependency are in the git pre-commit hook, and in the image build scripts. We can remove the latter one and have the scripts running in degraded mode if we really want to. I opted for a python based approach to finding the top-level directory for portability, ensuring consistent result on Linux and BSD, including OSX. Change-Id: I987174032d11b2e9d6a993c563b5dc877c15dd2d
2014-10-14add better validation checks (part 1)Lars Kellogg-Stedman1-0/+9
This patch adds a script for validating YAML files, and replaces the existing JSON checks with one largely identical to the YAML check. This also provides a script that can be installed as a pre-commit hook that will perform this checks when you commit changes. You can install the hook by running tools/pre-commit-hook --install. Change-Id: Ib4742a9db062362cfa61d669c691151bc1ca376c