-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8504 from mayrstefan/ubuntu2404
Add Ubuntu 24.04
- Loading branch information
Showing
15 changed files
with
367 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add detection of Ubuntu 24.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Enable bootstrapping for Ubuntu 24.04 LTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
testsuite/features/build_validation/init_clients/ubuntu2404_minion.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright (c) 2024 SUSE LLC | ||
# Licensed under the terms of the MIT license. | ||
# | ||
# 1) bootstrap a new Ubuntu minion | ||
# 2) subscribe it to a base channel for testing | ||
|
||
@ubuntu2404_minion | ||
Feature: Bootstrap a Ubuntu 24.04 Salt minion | ||
|
||
Scenario: Clean up sumaform leftovers on a Ubuntu 24.04 minion | ||
When I perform a full salt minion cleanup on "ubuntu2404_minion" | ||
|
||
Scenario: Log in as admin user | ||
Given I am authorized for the "Admin" section | ||
|
||
Scenario: Bootstrap a Ubuntu 24.04 minion | ||
When I follow the left menu "Systems > Bootstrapping" | ||
Then I should see a "Bootstrap Minions" text | ||
When I enter the hostname of "ubuntu2404_minion" as "hostname" | ||
And I enter "root" as "user" | ||
And I enter "linux" as "password" | ||
And I enter "22" as "port" | ||
And I enter "linux" as "password" | ||
And I select "1-ubuntu2404_minion_key" from "activationKeys" | ||
And I select the hostname of "proxy" from "proxies" if present | ||
And I click on "Bootstrap" | ||
And I wait until I see "Bootstrap process initiated." text | ||
And I wait until onboarding is completed for "ubuntu2404_minion" | ||
|
||
@proxy | ||
Scenario: Check connection from Ubuntu 24.04 minion to proxy | ||
Given I am on the Systems overview page of this "ubuntu2404_minion" | ||
When I follow "Details" in the content area | ||
And I follow "Connection" in the content area | ||
Then I should see "proxy" short hostname | ||
|
||
@proxy | ||
Scenario: Check registration on proxy of Ubuntu 24.04 minion | ||
Given I am on the Systems overview page of this "proxy" | ||
When I follow "Details" in the content area | ||
And I follow "Proxy" in the content area | ||
Then I should see "ubuntu2404_minion" hostname | ||
|
||
Scenario: Check events history for failures on Ubuntu 24.04 minion | ||
Given I am on the Systems overview page of this "ubuntu2404_minion" | ||
Then I check for failed events on history event page |
32 changes: 32 additions & 0 deletions
32
testsuite/features/build_validation/init_clients/ubuntu2404_ssh_minion.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright (c) 2024 SUSE LLC | ||
# Licensed under the terms of the MIT license. | ||
# | ||
# 1) bootstrap a new Ubuntu minion via salt-ssh | ||
# 2) subscribe it to a base channel for testing | ||
|
||
@ubuntu2404_ssh_minion | ||
Feature: Bootstrap a Ubuntu 24.04 Salt SSH minion | ||
|
||
Scenario: Clean up sumaform leftovers on a Ubuntu 24.04 Salt SSH minion | ||
When I perform a full salt minion cleanup on "ubuntu2404_ssh_minion" | ||
|
||
Scenario: Log in as admin user | ||
Given I am authorized for the "Admin" section | ||
|
||
Scenario: Bootstrap a SSH-managed Ubuntu 24.04 minion | ||
When I follow the left menu "Systems > Bootstrapping" | ||
Then I should see a "Bootstrap Minions" text | ||
When I enter the hostname of "ubuntu2404_ssh_minion" as "hostname" | ||
And I enter "root" as "user" | ||
And I enter "linux" as "password" | ||
And I enter "22" as "port" | ||
And I select "1-ubuntu2404_ssh_minion_key" from "activationKeys" | ||
And I select the hostname of "proxy" from "proxies" if present | ||
And I check "manageWithSSH" | ||
And I click on "Bootstrap" | ||
And I wait until I see "Bootstrap process initiated." text | ||
And I wait until onboarding is completed for "ubuntu2404_ssh_minion" | ||
|
||
Scenario: Check events history for failures on SSH-managed Ubuntu 24.04 minion | ||
Given I am on the Systems overview page of this "ubuntu2404_ssh_minion" | ||
Then I check for failed events on history event page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.