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

openSUSE / agama / 9679104435
72%

Build:
DEFAULT BRANCH: master
Ran 26 Jun 2024 12:00PM UTC
Jobs 3
Files 786
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.017% (+0.07%) from 70.945%
9679104435

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 %.

26 of 70 new or added lines in 8 files covered. (37.14%)

22 existing lines in 4 files now uncovered.

19098 of 26822 relevant lines covered (71.2%)

34.53 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 9679104435.3 26 Jun 2024 12:00PM UTC 0
23.42
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 0
75.3
GitHub Action Run
3 service 9677636848.3 26 Jun 2024 10:06AM UTC 0
86.74
GitHub Action Run
Source Files on build 9679104435
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9679104435
  • 7c5639c2 on github
  • Prev Build on master (#9678883826)
  • Next Build 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