Project

General

Profile

Actions

action #175111

open

coordination #169654: [epic] Create test scenarios for Agama

Add CI check for agama profiles which are at json/jsonnet format

Added by rfan1 22 days ago. Updated 1 day ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Description

Hello Yam experts, as discussed offline with @mgrifalconi and @leli, I filed this ticket, please feel free to re-assign if it is not under your test scope.

As sle16 agama installer uses json/jsonnet files. it should be great we have ci check for these files. it will help us to make sure the files are usable [at least on obvious format/style issues]

More detail can be found at https://suse.slack.com/archives/C02CSAZLAR4/p1736338956797719

We should use this before pushing the files to git: https://jsonnet.org/learning/tools.html. For Yam squad, we will focus on jsonnet exclusively for now, not sure about the use of json or other format at the moment.

Acceptance criteria

  • AC1: Add CI check for agama profiles which are jsonnet format

Additional information

Get jsonnet-lint file.jsonnet in .github/workflows/ci.yml.
Some more detail info for discussion about it see https://suse.slack.com/archives/C02CLB2LB7Z/p1736393322298209

Actions #1

Updated by JERiveraMoya 22 days ago

we don't use [qe-yam] tag, we have a subproject in progress.
Do you have any idea where to start? or if there is precedent to check the xml for AutoYaST?
I guess you mean something like a linter.

Actions #2

Updated by leli 22 days ago

  • Description updated (diff)
Actions #3

Updated by rfan1 22 days ago ยท Edited

JERiveraMoya wrote in #note-1:

we don't use [qe-yam] tag, we have a subproject in progress.

Got it, I hope you can change the Project if yam team would like to pick up this ticket. :)

Do you have any idea where to start? or if there is precedent to check the xml for AutoYaST?
I guess you mean something like a linter.

Thank you for the update, I have a PR long time ago which may help a bit https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16356.

Actions #4

Updated by leli 22 days ago

  • Project changed from 46 to qe-yam
  • Subject changed from [qe-yam] add CI check for agama profiles which are at json/jsonnet format to Add CI check for agama profiles which are at json/jsonnet format
  • Description updated (diff)
Actions #5

Updated by leli 22 days ago

One thinking about the CI check, maybe we can have a simple transfer tool to make jsonnet to json, so we only need maintain jsonnet files.

Actions #6

Updated by JERiveraMoya 22 days ago

  • Tags set to qe-yam-jan-sprint-fy25
  • Status changed from New to Workable
  • Priority changed from Normal to High
  • Parent task set to #169654
Actions #7

Updated by leli 17 days ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #8

Updated by JERiveraMoya 14 days ago

leli wrote in #note-5:

One thinking about the CI check, maybe we can have a simple transfer tool to make jsonnet to json, so we only need maintain jsonnet files.

yes, that is exactly the idea: https://progress.opensuse.org/issues/175728

Actions #9

Updated by JERiveraMoya 1 day ago

  • Tags changed from qe-yam-jan-sprint-fy25 to qe-yam-feb-sprint-fy25
Actions

Also available in: Atom PDF