
Includes: * JSON-schema to validate gate manifests. * `tox -e gate-lint` job to check gate manifests. * More robust handling of conformance test results. * Bufix in `tools/g2/lib/kube.sh` where a missing `fail` method was called. Change-Id: I90740f659a691cb6ee92144205976ef97133f7bf
12 lines
315 B
Bash
Executable File
12 lines
315 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(realpath "$(dirname "${0}")")
|
|
WORKSPACE=$(realpath "${SCRIPT_DIR}/..")
|
|
|
|
for manifest in $(find "${WORKSPACE}/tools/g2/manifests" -type f | sort); do
|
|
echo Checking "${manifest}"
|
|
python -m jsonschema "${WORKSPACE}/tools/g2/manifest-schema.json" -i "${manifest}"
|
|
done
|