Skip to content

Commit

Permalink
[service] Remove repos from ALP-Dolomite config
Browse files Browse the repository at this point in the history
- The product has to be registered
  • Loading branch information
joseivanlopez committed Nov 15, 2023
1 parent e5e7510 commit f6d5bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions products.d/ALP-Dolomite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ translations:
bezpečnost pro poskytování úplného minima ke spuštění úloh a služeb v
kontejnerech nebo virtuálních strojích.
software:
installation_repositories:
- url: https://updates.suse.com/SUSE/Products/ALP-Dolomite/1.0/x86_64/product/
archs: x86_64
- url: https://updates.suse.com/SUSE/Products/ALP-Dolomite/1.0/aarch64/product/
archs: aarch64
- url: https://updates.suse.com/SUSE/Products/ALP-Dolomite/1.0/s390x/product/
archs: s390
- url: https://updates.suse.com/SUSE/Products/ALP-Dolomite/1.0/ppc64le/product/
archs: ppc

mandatory_patterns:
- alp_base_zypper
- alp_cockpit
Expand Down
4 changes: 2 additions & 2 deletions service/test/agama/software/manager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
stub_const("Agama::Software::Manager::REPOS_DIR", repos_dir)
stub_const("Agama::Software::Manager::REPOS_BACKUP", backup_repos_dir)
FileUtils.mkdir_p(repos_dir)
subject.select_product("ALP-Dolomite")
subject.select_product("Tumbleweed")
end

after do
Expand All @@ -218,7 +218,7 @@
end

it "registers the repository from config" do
expect(repositories).to receive(:add).with(/Dolomite/)
expect(repositories).to receive(:add).with(/tumbleweed/)
expect(repositories).to receive(:load)
subject.probe
end
Expand Down

0 comments on commit f6d5bfe

Please sign in to comment.