Project

General

Profile

Actions

action #133109

closed

coordination #123583: [epic] Agama auto-installation

Modify existing scenario agama_auto_dolomite for selecting another installation device

Added by JERiveraMoya 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-07-20
Due date:
% Done:

0%

Estimated time:

Description

Motivation

After the bug for json was fixed there is no point to test again the default installation agama_auto_tumbleweed_bsc1210941 from the functional point of view, except that we use json there, so what we could do is to use format json in agama_auto_dolomite (we need to adapt it to the product, as current profile is for Tumbleweed).

Agama already allows to choose among the different devices to install in our system.

At the moment we have agama_auto_dolomite where we use jsonnet profile for selecting the biggest disk, but we only have one disk.

First thing to do is to fix the biggest disk selection in the same way that was done in the upstream project:
https://github.com/openSUSE/agama/pull/665/files
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/yam/agama/auto/default_alp_micro.jsonnet

Second, we can create a new test suite with name 'agama_auto_tumbleweed_select_installation_device' which add additional hdd of bigger size. The auto-installation will select that one to install the system.

Acceptance criteria

AC1: Change agama_auto_dolomite to use json
AC2: Add new test suite agama_auto_tumbleweed_select_installation_device using fixed jsonnet profile
AC3: Validate in the running system that the second disk was used in agama_auto_dolomite_select_installation_device

Additional information

Check similar scenario for interactive installation in #133073 (we can add the auto-installation for selecting disk only for one product as we test it in both products for interactive).

Actions

Also available in: Atom PDF