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

openSUSE / agama / 9679104435 / 3 – rust
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 26 Jun 2024 12:00PM UTC
Files 85
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 Jun 2024 11:52AM UTC coverage: 23.417% (+0.1%) from 23.282%
rust – 9679104435.3

push

github

web-flow
feat(storage): load storage config for guided proposal  (#1293)

Add CLI support for setting and getting the storage config.

### Load (set) storage settings from a config file:

~~~
$ agama config load < config.json
~~~

* The given settings must match the JSON schema defined by
https://github.com/openSUSE/agama/pull/1263 (not finished yet).
* The storage service calculates either a guided proposal or an AutoYaST
proposal, depending on the given config.

Config for a guided proposal:

~~~json
{
  "storage": {
    "guided": {
      "target": {
        "disk": "/dev/vdc"
      }
    }
  }
}
~~~

Config for an AutoYaST proposal:

~~~json
{
  "legacyAutoyastStorage": [
    {
      "device": "/dev/vdc",
      "use": "all"
    }
  ]
}
~~~

### Recover (get) the storage config:

~~~
$ agama config show > config.json
$ agama config edit
~~~

NOTES

* The storage service should check whether the given settings fulfill
the JSON schema.
* Checking the schema is not done yet because the schema definition is
not finished.

1220 of 5210 relevant lines covered (23.42%)

0.74 hits per line

Source Files on job rust - 9679104435.3
  • Tree
  • List 0
  • Changed 31
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9679104435
  • 7c5639c2 on github
  • Prev Job for on master (#9678883826.3)
  • Next Job for on master (#9681157462.)
  • 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