aboutsummaryrefslogtreecommitdiff
path: root/tools/validate-all-json.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-11-05Add file validator for *.json.j2 fileJeffrey Zhang1-7/+0
All json file in Kolla are json.j2 file, it shold be render as jinja template, then validate by using json. Change-Id: Ibabbe435116fd255d68347e00407156db76fedfe Closes-Bug: #1634447
2016-05-02Remove unecessary blank linesMauricio Lima1-1/+0
TrivialFix Change-Id: I1f03d428c380dfdbde5ef33e7ea43cbf5e9154ce
2016-03-02heatclient has invalid json validation picks upSamYaple1-1/+1
We shouldn't be scanning .tox dir anyway. TrivialFix Change-Id: If570abdfa69375091751199dcce637682e8de1ef
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-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