Project

General

Profile

Actions

action #179383

open

Enhance CI check for agama profiles for jsonnet format

Added by leli 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2025-03-24
Due date:
% Done:

0%

Estimated time:
Difficulty:

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.

  1. 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.

  2. 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.

  3. 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

Related issues 1 (0 open1 closed)

Related to qe-yam - action #175111: Add CI check for agama profiles which are at json/jsonnet formatResolvedleli

Actions
Actions #1

Updated by leli 10 days ago

  • Related to action #175111: Add CI check for agama profiles which are at json/jsonnet format added
Actions

Also available in: Atom PDF