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

openSUSE / agama / 9679104440
72%

Build:
DEFAULT BRANCH: master
Ran 26 Jun 2024 11:55AM UTC
Jobs 3
Files 794
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

26 Jun 2024 11:52AM UTC coverage: 71.344% (+0.4%) from 70.945%
9679104440

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.

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

252 of 283 new or added lines in 11 files covered. (89.05%)

154 existing lines in 6 files now uncovered.

19586 of 27370 relevant lines covered (71.56%)

34.68 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 9679104440.3 26 Jun 2024 11:55AM UTC 0
87.04
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 0
75.3
GitHub Action Run
3 rust 9678883826.3 26 Jun 2024 11:42AM UTC 0
23.28
GitHub Action Run
Source Files on build 9679104440
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9679104440
  • 7c5639c2 on github
  • Prev Build on master (#9678883826)
  • Next Build on master (#9679104435)
  • 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