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

agama-project / agama / 12027129994 / 2 – rust
25%
master: 81%

Build:
Build:
LAST BUILD BRANCH: disconnect_not_bound_devices
DEFAULT BRANCH: master
Ran 26 Nov 2024 09:11AM UTC
Files 121
Run time 2s
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

26 Nov 2024 08:59AM UTC coverage: 25.193%. First build
rust – 12027129994.2

push

github

web-flow
feat(storage): initial support for a config model (#1763)

A config model is an abstraction of the storage config to make easier
for clients to deal with the storage config. Clients (e.g., the web UI)
do not need to understand the complexity of the storage config. Instead
of that, clients directly work with the config model for both reading
the config and applying changes.

Example of storage config:

~~~
{ 
  "drives": [
    {
      "search": {
        "condition": { "name": "/dev/vda" },
        "max": 1,
        "ifNotFound": "error"
      },
      "partitions": [
        { "search": "*", "delete": true },
        { "generate": "default" }
      ]
    }
  ]
}
~~~

And its equivalence in the config model:

~~~
{
  "drives": [
    {
      "name": "/dev/vda",
      "spacePolicy": "delete",
      "partitions": [
        { "name": "/dev/vda1", "delete": true },
        { "name": "/dev/vda2", "delete": true },
        {
          "mountPath": "/",
          "filesystem": {
            "default": true,
            "type": "btrfs",
            "snapshots": false
          },
          "size": {
            "default": true,
            "min": 2048
          }
        }
      ]
    }
  ]
}
~~~

Note: this PR replaces https://github.com/agama-project/agama/pull/1748
in which the model was implemented in the web side.

1663 of 6601 relevant lines covered (25.19%)

0.74 hits per line

Source Files on job rust - 12027129994.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12027129994
  • d7cc5fc4 on github
  • Prev Job for on storage-config-ui (#12027129999.)
  • Next Job for on storage-config-ui (#12049377809.2)
  • 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