Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527)

This commit is contained in:
sam boyer
2021-04-08 04:11:11 -04:00
committed by GitHub
parent 7351645d63
commit bba4d9bd7f
87 changed files with 2446 additions and 1136 deletions

View File

@ -526,18 +526,6 @@ def shellcheck_step():
],
}
def dashboard_schemas_check():
return {
'name': 'check-dashboard-schemas',
'image': build_image,
'depends_on': [
'initialize',
],
'commands': [
'cue export --out openapi -o - ./dashboard-schemas/...',
],
}
def gen_version_step(ver_mode, include_enterprise2=False, is_downstream=False):
deps = [
'build-backend',
@ -547,7 +535,6 @@ def gen_version_step(ver_mode, include_enterprise2=False, is_downstream=False):
'test-frontend',
'codespell',
'shellcheck',
'check-dashboard-schemas',
]
if include_enterprise2:
sfx = '-enterprise2'