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

agama-project / agama / 11250689691
73%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2024 08:09AM UTC
Jobs 2
Files 570
Run time 1min
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

09 Oct 2024 07:59AM UTC coverage: 70.324%. Remained the same
11250689691

push

github

web-flow
feature(storage): config support for generating physical volumes (#1652)

Add support to the storage config for using a *generate* section for
physical volumes.

~~~json
"physicalVolumes": [
  { "generate": ["first-disk", "second-disk"] }
]
~~~

~~~json
"physicalVolumes": [
  {
    "generate": {
      "targetDevices": ["first-disk"],
      "encryption": {
        "luks2": { "password": "12345" }
      }
    }
  }
]
~~~

The *generate* section allows to indicate the target devices in which to
automatically create physical volumes, if needed. Agama will try to
create physical volumes to allocate the defined logical volumes. If an
*encryption* section is provided by the *generate* section, then the new
physical volumes will be encrypted.

Notes:

* For now, *physicalVolumes* can contain either device aliases or a
*generate*. In the future it will allow both.
* If there is more than one *generate* in the list of physical volumes,
then only the first one will be considered (the rest ones are ignored).
Note that the schema does not complain.

140 of 140 new or added lines in 27 files covered. (100.0%)

9 existing lines in 5 files now uncovered.

15640 of 22240 relevant lines covered (70.32%)

26.73 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.75
0.0% service/lib/agama/storage/config_conversions/from_json_conversions/base.rb
1
96.97
0.0% service/lib/agama/storage/config.rb
1
98.2
0.0% service/lib/agama/storage/proposal.rb
1
98.75
0.0% service/lib/y2storage/agama_proposal.rb
5
91.38
0.0% service/lib/agama/storage/config_conversions/from_json_conversions/encryption.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 11250689691.2 09 Oct 2024 08:09AM UTC 106
25.4
GitHub Action Run
2 service 11121722229.2 01 Oct 2024 08:41AM UTC 464
88.58
GitHub Action Run
Source Files on build 11250689691
  • Tree
  • List 570
  • Changed 31
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11250689691
  • c48515cd on github
  • Prev Build on master (#11209402104)
  • Next Build on master (#11252810563)
  • 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