Project

General

Profile

Actions

action #27505

closed

[sle][functional][y][autoyast][fast] Modify autoyast profiles during the run

Added by riafarov about 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2017-11-08
Due date:
2018-05-22
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

We want to modify profiles during the run and it is required for SLE15, as we need to put at least url and regcode in the registration section for most of the scenarios.
At the moment, we use static profiles and only in scenarios with support server we expand some variables. However, this mechanism is not flexible enough and allows only static mapping.

With this ticket we should use functionality implemented here: https://progress.opensuse.org/issues/27076

Some of the profiles became pretty different, but some still can use common base.

Acceptance criteria

  • AC1: DONE Adjust tests to use autoinst profiles as template and inject registration section according to the architecture and build number
  • AC2: Try to reuse the templates we have for SLE12, but modifying them according to the version
  • AC3: DONE Use {{variable}} syntax for variables in the template, as it's done for profiles in aytests repository

Tasks

  • identify profiles which are same, except registration and sections (e.g. mini.xml)
  • use the same profile template and adjust them on-the-fly based on SLE version for profiles from the task above
  • use same test suite for SLE15 and SLE12

Related issues 2 (0 open2 closed)

Related to openQA Tests - action #23736: [sle][functional] Adjust autoinst profiles for sle 15Resolvedriafarov2017-08-28

Actions
Blocked by openQA Project - action #27076: [tools][functional][hard] Add functionality to be able to modify data available via http in share directoryResolvedriafarov2017-10-272017-12-19

Actions
Actions #1

Updated by riafarov about 7 years ago

  • Related to action #23736: [sle][functional] Adjust autoinst profiles for sle 15 added
Actions #2

Updated by riafarov about 7 years ago

  • Blocked by action #27076: [tools][functional][hard] Add functionality to be able to modify data available via http in share directory added
Actions #3

Updated by okurz about 7 years ago

  • Target version set to Milestone 13
Actions #4

Updated by okurz almost 7 years ago

  • Description updated (diff)
  • Assignee set to riafarov
  • Target version changed from Milestone 13 to Milestone 16

We have AC1 and AC3 done. Still missing is to use the same profile template and adjust them on-the-fly based on SLE version.

@riafarov please refine with more specific suggestions what to do in the next step.

Actions #5

Updated by riafarov almost 7 years ago

  • Subject changed from [sle][functional] Modify autoyast profiles during the run to [sle][functional][autoyast] Modify autoyast profiles during the run
  • Description updated (diff)
  • Status changed from New to Workable
  • Assignee deleted (riafarov)
Actions #6

Updated by okurz over 6 years ago

  • Subject changed from [sle][functional][autoyast] Modify autoyast profiles during the run to [sle][functional][y][autoyast] Modify autoyast profiles during the run
  • Due date set to 2018-06-05
Actions #7

Updated by JERiveraMoya over 6 years ago

  • Assignee set to JERiveraMoya
Actions #8

Updated by JERiveraMoya over 6 years ago

  • Status changed from Workable to In Progress

SLE15 profiles differ too much from SLE12, which was not know from the beginning. Discussed with @riafarov that remaining step here is to evaluate possible better solution for xml profiles.

Actions #9

Updated by JERiveraMoya over 6 years ago

  • Status changed from In Progress to Resolved

Source code for POC to demo in the review: https://github.com/jknphy/ay_generator

Actions #10

Updated by riafarov over 6 years ago

  • Subject changed from [sle][functional][y][autoyast] Modify autoyast profiles during the run to [sle][functional][y][autoyast][fast] Modify autoyast profiles during the run
  • Due date changed from 2018-06-05 to 2018-05-22
Actions

Also available in: Atom PDF