Skip to content

Commit

Permalink
QE: correctly upgrade Salt in product migrations (#9416)
Browse files Browse the repository at this point in the history
* QE: upgrade OS Salt on SSH minion before attempting a product migration

* QE: remove migrations scenarios no longer needed
  • Loading branch information
NamelessOne91 authored Oct 28, 2024
1 parent d494487 commit cd0636e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ Feature: Migrate a SLES 15 SP3 Salt minion to 15 SP4
Then I wait until I see "SUSE Linux Enterprise Server 15 SP4" text, refreshing the page
And vendor change should be enabled for product migration on "sle15sp3_minion"

Scenario: Install the latest Salt on this minion
When I migrate the non-SUMA repositories on "sle15sp3_minion"
And I enable repositories before installing Salt on this "sle15sp3_minion"
And I install Salt packages from "sle15sp3_minion"
And I disable repositories after installing Salt on this "sle15sp3_minion"

Scenario: Subscribe the SLES minion to a SLES 15 SP4 child channel
Given I am on the Systems overview page of this "sle15sp3_minion"
When I follow "Software" in the content area
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ Feature: Migrate a SLES 15 SP3 Salt SSH minion to 15 SP4
Scenario: Log in as admin user
Given I am authorized for the "Admin" section

# pristine images for SSH minions use an old version of OS Salt
# Product Migration will be possible only if we update to latest
Scenario: Prerequisite: update OS Salt to the latest version
Given I am on the Systems overview page of this "sle15sp3_ssh_minion"
When I follow "Software" in the content area
And I follow "Packages"
And I follow "Upgrade"
And I enter "salt" as the filtered package name
And I click on the filter button
And I click on "Select All"
And I click on "Upgrade Packages"
And I click on "Confirm"
Then I should see a "packages upgrades have been scheduled" text
And I wait until event "Package Install/Upgrade scheduled" is completed

Scenario: Migrate this SSH minion to SLE 15 SP4
Given I am on the Systems overview page of this "sle15sp3_ssh_minion"
When I follow "Software" in the content area
Expand All @@ -31,12 +46,6 @@ Feature: Migrate a SLES 15 SP3 Salt SSH minion to 15 SP4
Then I should see a "SUSE Linux Enterprise Server 15 SP4" text
And vendor change should be enabled for product migration on "sle15sp3_ssh_minion"

Scenario: Install the latest Salt on this SSH minion
When I migrate the non-SUMA repositories on "sle15sp3_ssh_minion"
And I enable repositories before installing Salt on this "sle15sp3_ssh_minion"
And I install Salt packages from "sle15sp3_ssh_minion"
And I disable repositories after installing Salt on this "sle15sp3_ssh_minion"

Scenario: Subscribe the SSH-managed SLES minion to a SLES 15 SP4 child channel
Given I am on the Systems overview page of this "sle15sp3_ssh_minion"
When I follow "Software" in the content area
Expand Down

0 comments on commit cd0636e

Please sign in to comment.