• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 15632199897
74%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2025 10:19AM UTC
Jobs 3
Files 537
Run time 15min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jun 2025 10:17AM UTC coverage: 62.425%. Remained the same
15632199897

push

github

web-flow
feat: allow registration with RMT without a code (#2469)

## Problem

The RMT can be configured to not require registration key. So sending
empty one should be valid option, but it is not possible with current
agama.

## Solution

Change registration API to distinguish between registered and
registration key, that can be empty ( used in past as indication of not
registered system ).


## Testing

- *Added a new unit test*
- *Tested manually*

Manually tested using iso from
https://download.opensuse.org/repositories/systemsmanagement:/Agama:/branches:/rmt_registration/images/iso/
IT is based on opensuse, so I install from console `agama-products-sles`
and restart agama. After then I try register against SCC to get failure
that I have to provide registration key.
Then I do from console `agama config load < reg_server.json` where
content of file is ( RMT is internal only, so require VPN )
```json
{
  "product": {
    "id": "SLES",
    "registrationUrl": "https://migration-rmt2.qe.nue2.suse.org"
  }
}
```
and then registration works and installation passes.

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

10 of 12 new or added lines in 3 files covered. (83.33%)

43 existing lines in 3 files now uncovered.

11235 of 18013 relevant lines covered (62.37%)

41.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% rust/agama-lib/src/product/client.rs

Uncovered Existing Lines

Lines Coverage ∆ File
13
76.87
0.0% service/lib/agama/dbus/software/product.rb
13
92.65
0.0% service/lib/agama/registration.rb
17
0.0
0.0% rust/agama-lib/src/product/client.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 15632199897.3 13 Jun 2025 10:19AM UTC 36
82.3
GitHub Action Run
3 service 15613511236.3 12 Jun 2025 02:39PM UTC 382
88.8
GitHub Action Run
1 rust 15619594608.1 12 Jun 2025 07:55PM UTC 119
1.31
GitHub Action Run
Source Files on build 15632199897
  • Tree
  • List 537
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15632199897
  • 55c8c5e8 on github
  • Prev Build on master (#15619594608)
  • Next Build on master (#15632199909)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc