Chore: Add jsonnet library for devenv dashboards (#57928)

This commit is contained in:
Todd Treece
2022-11-03 11:04:39 -04:00
committed by GitHub
parent 813ebf988d
commit e105b5a107
25 changed files with 1315 additions and 272 deletions
+15
View File
@@ -1158,6 +1158,21 @@ def verify_gen_cue_step(edition):
],
}
def verify_gen_jsonnet_step(edition):
deps = []
if edition in ('enterprise', 'enterprise2'):
deps.extend(['init-enterprise'])
return {
'name': 'verify-gen-jsonnet',
'image': build_image,
'depends_on': deps,
'commands': [
'# It is required that generated jsonnet is committed and in sync with its inputs.',
'# The following command will fail if running code generators produces any diff in output.',
'CODEGEN_VERIFY=1 make gen-jsonnet',
],
}
def trigger_test_release():
return {
'name': 'trigger-test-release',