Skip to content

Commit

Permalink
QE: Fix build_host renaming (uyuni-project#9784)
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios authored Feb 14, 2025
1 parent b6268ca commit e7cb007
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion testsuite/documentation/optional.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ and then run the test suite.
Inside of the test suite, the scenarios that are tagged with

```
@buildhost
@build_host
```

are executed only if the Docker and Kiwi build host is available.
Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/core/allcli_sanity.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Feature: Sanity checks
And "sle_minion" should communicate with the server using public interface
And the clock from "sle_minion" should be exact

@buildhost
@build_host
Scenario: The build host is healthy
Then "build_host" should have a FQDN
And reverse resolution should work for "build_host"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2016-2023 SUSE LLC
# Licensed under the terms of the MIT license.

@buildhost
@build_host
Feature: Bootstrap a build host via the GUI

Scenario: Log in as admin user
Expand All @@ -28,4 +28,3 @@ Feature: Bootstrap a build host via the GUI
Given I am on the Systems overview page of this "build_host"
Then I should see a "[Container Build Host]" text
Then I should see a "[OS Image Build Host]" text

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2016-2023 SUSE LLC
# Licensed under the terms of the MIT license.

@buildhost
@build_host
Feature: Bootstrap a build host via the GUI

Scenario: Clean up sumaform leftovers on build host
Expand Down
4 changes: 2 additions & 2 deletions testsuite/features/reposync/srv_create_dev_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Create custom channels with development repositories
When I prepare the development repositories of "sle_minion" as part of "dev-suse-channel" channel

@uyuni
@buildhost
@build_host
Scenario: Create a custom channel for Build Host
When I follow the left menu "Software > Manage > Channels"
And I follow "Create Channel"
Expand All @@ -41,7 +41,7 @@ Feature: Create custom channels with development repositories
Then I should see a "Channel Dev-Build-Host-Channel created." text

@uyuni
@buildhost
@build_host
Scenario: Create custom repositories inside the Build Host custom channel
When I prepare the development repositories of "build_host" as part of "dev-build-host-channel" channel

Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/reposync/srv_sync_dev_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Feature: Synchronize development channels
Then I should see a "Repository sync scheduled for Dev-RH-like-Channel." text
And I wait until the channel "dev-rh-like-channel" has been synced

@buildhost
@build_host
@uyuni
Scenario: Synchronize Dev-Build-Host-Channel channel
Given I am authorized for the "Admin" section
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This feature depends on:
# - features/secondary/min_docker_api.feature

@buildhost
@build_host
@scope_building_container_images
@auth_registry
Feature: Build image with authenticated registry
Expand All @@ -20,7 +20,7 @@ Feature: Build image with authenticated registry
And I enter URI, username and password for registry
And I click on "create-btn"
Then I wait until I see "registry" text

@scc_credentials
Scenario: Create a profile for the authenticated image store as Docker admin
When I follow the left menu "Images > Profiles"
Expand Down Expand Up @@ -66,4 +66,3 @@ Feature: Build image with authenticated registry

Scenario: Cleanup: delete registry image
When I delete the image "auth_registry_profile" with version "latest" via API calls

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# - features/secondary/min_salt_install_with_staging.feature
# Due to the images listed in the CVE Audit images

@buildhost
@build_host
@scope_building_container_images
@no_auth_registry
@skip_if_github_validation
Expand Down Expand Up @@ -169,7 +169,7 @@ Feature: Build container images
Given I am authorized as "admin" with password "admin"
When I delete the image "suse_simple" with version "latest" via API calls
And I delete the image "suse_simple" with version "Latest_simple" via API calls

@scc_credentials
Scenario: Cleanup: delete all profiles with key
When I follow the left menu "Images > Profiles"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# If the image is not created, the message shown is "There are no entries to show."

@skip_if_cloud
@buildhost
@build_host
@scope_retail
@scope_building_container_images
@scc_credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@skip_if_github_validation
@containerized_server
@proxy
@buildhost
@build_host
@private_net
@pxeboot_minion
@scope_cobbler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@containerized_server
@skip_if_github_validation
@buildhost
@build_host
@proxy
@private_net
@pxeboot_minion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@skip_if_containerized_server
@skip_if_github_validation
@buildhost
@build_host
@proxy
@private_net
@pxeboot_minion
Expand Down
4 changes: 2 additions & 2 deletions testsuite/features/secondary/srv_rename_hostname.feature
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Feature: Reconfigure the server's hostname
Scenario: Apply high state on the Debian-like Minion to populate new server CA
When I apply highstate on "deblike_minion"

@buildhost
@build_host
Scenario: Apply high state on the build host to populate new server CA
When I apply highstate on "build_host"

Expand Down Expand Up @@ -109,7 +109,7 @@ Feature: Reconfigure the server's hostname
Scenario: Apply high state on the Debian-like Minion to populate new server CA
When I apply highstate on "deblike_minion"

@buildhost
@build_host
Scenario: Apply high state on the build host to populate new server CA
When I apply highstate on "build_host"

Expand Down
6 changes: 3 additions & 3 deletions testsuite/features/support/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
'rhlike_minion' => 'RHEL8-Pool for x86_64',
'deblike_minion' => 'ubuntu-2004-amd64-main for amd64',
'pxeboot_minion' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'buildhost' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'build_host' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'sle12sp5_minion' => 'SLES12-SP5-Pool for x86_64',
'sle12sp5_ssh_minion' => 'SLES12-SP5-Pool for x86_64',
'sle12sp5_buildhost' => 'SLES12-SP5-Pool for x86_64',
Expand Down Expand Up @@ -313,7 +313,7 @@
'rhlike_minion' => 'RHEL8-Pool for x86_64',
'deblike_minion' => 'Ubuntu 20.04 LTS AMD64 Base for Uyuni',
'pxeboot_minion' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'buildhost' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'build_host' => 'SLE-Product-SLES15-SP4-Pool for x86_64',
'sle12sp5_minion' => 'SLES12-SP5-Pool for x86_64',
'sle12sp5_ssh_minion' => 'SLES12-SP5-Pool for x86_64',
'sle12sp5_buildhost' => 'SLES12-SP5-Pool for x86_64',
Expand Down Expand Up @@ -383,7 +383,7 @@
'sle_minion' => 'Fake-Base-Channel-SUSE-like',
'pxeboot_minion' => 'Fake-Base-Channel-SUSE-like',
'proxy' => 'Fake-Base-Channel-SUSE-like',
'buildhost' => 'Fake-Base-Channel-SUSE-like'
'build_host' => 'Fake-Base-Channel-SUSE-like'
}
}.freeze

Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def process_code_coverage
skip_this_scenario unless ENV.key? ENV_VAR_BY_HOST['ssh_minion']
end

Before('@buildhost') do
Before('@build_host') do
skip_this_scenario unless ENV.key? ENV_VAR_BY_HOST['build_host']
end

Expand Down

0 comments on commit e7cb007

Please sign in to comment.