Commit cb6fbc3 1 parent 4062667 commit cb6fbc3 Copy full SHA for cb6fbc3
File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,8 @@ Feature: Synchronize products in the products page of the Setup Wizard
108
108
# When I kill running spacewalk-repo-sync for "sles15-sp4"
109
109
110
110
@uyuni
111
- Scenario : Add openSUSE Leap 15.5 product, including Uyuni Client Tools
112
- When I use spacewalk-common-channel to add all "leap15.5" channels with arch "x86_64"
113
- And I kill running spacewalk-repo-sync for "leap15.5-x86_64"
111
+ Scenario : Partially add openSUSE Leap 15.5 product, only including the required packages to generate the bootstrap repository
112
+ When I use spacewalk-repo-sync to sync channel "opensuse_leap15_5-x86_64" including "python3-ply dmidecode libunwind venv-salt-minion" packages
114
113
And I use spacewalk-common-channel to add all "leap15.5-client-tools" channels with arch "x86_64"
115
114
And I wait until all synchronized channels for "leap15.5-client-tools-x86_64" have finished
116
115
Original file line number Diff line number Diff line change 184
184
$command_output, _code = get_target ( 'server' ) . run_until_ok ( "spacewalk-repo-sync -c #{ channel } " )
185
185
end
186
186
187
+ When ( /^I use spacewalk-repo-sync to sync channel "([^"]*)" including "([^"]*)" packages?$/ ) do |channel , packages |
188
+ append_includes = packages . split . map { |pkg | "--include #{ pkg } " } . join ( ' ' )
189
+ $command_output, _code = get_target ( 'server' ) . run_until_ok ( "spacewalk-repo-sync -c #{ channel } #{ append_includes } " )
190
+ end
191
+
187
192
Then ( /^I should get "([^"]*)"$/ ) do |value |
188
193
raise ScriptError , "'#{ value } ' not found in output '#{ $command_output} '" unless $command_output. include? value
189
194
end
You can’t perform that action at this time.
0 commit comments