action #179383
openEnhance CI check for agama profiles for jsonnet format
0%
Description
Description¶
Now we will choose PR 21496 as the current solution.
But it may have better solution to enhance the CI check for jsonnet, I will describe my investigation and limit during that.
Install jsonnet package, use the binary to do the check, but unfortunately jsonnet pkg only can be found on bookworm version while currently we used buster version, some existing pkg will have dependency issue on bookwork. Anyway, we can install jsonnet separately on bookworm, 'Add CI check for agama profiles which are at json/jsonnet format (option 1)' PR 21168. This method will cause more images for container and complex condition.
On current container, install jsonnet for python, apply the check for jsonnet files via this format. PR 21496. This method need tester to use the format tool(jsonnet) installing go locally if see that the style doesn't match.
Another way is to install golang-go pkg to use the 'jsonnetfmt' tool, the pkg exists on bookworm-backports image, while can't find the image of 'bookworm-backports' on upstream project https://hub.docker.com/repository/docker/perldocker/perl-tester/. Maybe later we can continue this investigation when found such suitable image on upstream project.
Besides, maybe there are better solutions, welcome any ideas.
Acceptance criteria¶
- AC1: Enhance CI check for agama profiles for jsonnet format
Updated by leli 10 days ago
- Related to action #175111: Add CI check for agama profiles which are at json/jsonnet format added