Actually enforce dashboard schema on devenv (#53797)

* Relocate dashboards test so it runs

* Cover newer schema versions in stripnulls

* Strip nulls and remove iteration fields

* Fix fiscalYearStartMonth bounds

* Fix up and format dashboard schema

* Update thema, tidy Go dependencies
This commit is contained in:
sam boyer
2022-08-16 22:07:57 -04:00
committed by GitHub
parent 25de383540
commit c23a9d78ab
12 changed files with 86 additions and 78 deletions

View File

@@ -7,7 +7,7 @@
SED=$(command -v gsed)
SED=${SED:-"sed"}
FILES=$(grep -rl '"schemaVersion": 3[3456]' devenv)
FILES=$(grep -rl '"schemaVersion": 3[3456789]' devenv)
set -e
set -x
for DASH in ${FILES}; do echo "${DASH}"; grep -v 'null,$' "${DASH}" > "${DASH}-nulless"; mv "${DASH}-nulless" "${DASH}"; done