Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QE: Partially synchronize opensuse_leap15_5-x86_64 #9670

Merged
merged 4 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions testsuite/features/reposync/srv_sync_products.feature
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,8 @@ Feature: Synchronize products in the products page of the Setup Wizard
# When I kill running spacewalk-repo-sync for "sles15-sp4"

@uyuni
Scenario: Add openSUSE Leap 15.5 product, including Uyuni Client Tools
When I use spacewalk-common-channel to add all "leap15.5" channels with arch "x86_64"
And I kill running spacewalk-repo-sync for "leap15.5-x86_64"
Scenario: Partially add openSUSE Leap 15.5 product, only including the required packages to generate the bootstrap repository
When I use spacewalk-repo-sync to sync channel "opensuse_leap15_5-x86_64" including "python3-ply dmidecode libunwind venv-salt-minion" packages
And I use spacewalk-common-channel to add all "leap15.5-client-tools" channels with arch "x86_64"
And I wait until all synchronized channels for "leap15.5-client-tools-x86_64" have finished

Expand Down
5 changes: 5 additions & 0 deletions testsuite/features/step_definitions/command_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@
$command_output, _code = get_target('server').run_until_ok("spacewalk-repo-sync -c #{channel}")
end

When(/^I use spacewalk-repo-sync to sync channel "([^"]*)" including "([^"]*)" packages?$/) do |channel, packages|
append_includes = packages.split.map { |pkg| "--include #{pkg}" }.join(' ')
$command_output, _code = get_target('server').run_until_ok("spacewalk-repo-sync -c #{channel} #{append_includes}")
end

Then(/^I should get "([^"]*)"$/) do |value|
raise ScriptError, "'#{value}' not found in output '#{$command_output}'" unless $command_output.include? value
end
Expand Down
Loading