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

agama-project / agama / 13411639555
73%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2025 11:41AM UTC
Jobs 2
Files 666
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

19 Feb 2025 11:37AM UTC coverage: 70.859% (+0.07%) from 70.787%
13411639555

push

github

web-flow
Unattended installation reboots automatically after finish the installation (#1940) (#1970)

## Problem

After an unattended installation the user needs to reboot manually which
is not very unattended... it should do it automatically unless the user
wanted to stop in the congrats screen explicitly

- https://trello.com/c/wXYDjhyj (Avoid manual reboot after unattended
installation - part1)
- https://trello.com/c/VNS3L31L (Avoid automatic reboot after unattended
installation - part2)

## Solution - Part1

- Agama reboot command added. Only does something if Agama is in a final
state

```
suse@vikingo-laptop:~$ sudo agama reboot
Cannot reboot the system
Anyhow(The installation has not finished correctly)
```

- Unattended installation try to reboot the system when finished
installing.
```
## AGAMA AUTO calls
  /usr/bin/agama profile import "$url"
  /usr/bin/agama install
  /usr/bin/agama reboot

```

## Solution - Part2

Added the `agama.finish` kernel cmdline argument allowing to stop in the
congrats screen only honored by the unattended installation

By default it will reboot the system unless the `stop` value is given,
maybe would be nice to modify the `agama reboot` call by `agama finish
method` where method could be `reboot|stop|halt|poweroff`, what do you
think?


## Testing

- *Tested manually*

22 of 63 new or added lines in 5 files covered. (34.92%)

92 existing lines in 7 files now uncovered.

17765 of 25071 relevant lines covered (70.86%)

36.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% rust/agama-server/src/manager/web.rs
4
86.11
4.22% service/lib/agama/manager.rb
14
0.0
0.0% rust/agama-cli/src/lib.rs
20
0.0
0.0% rust/agama-lib/src/manager.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/web/docs/manager.rs
5
0.0
0.0% rust/agama-lib/src/manager.rs
5
92.5
1.25% service/service/lib/agama/dbus/manager.rb
8
86.11
4.22% service/service/lib/agama/manager.rb
21
0.0
0.0% rust/agama-server/src/manager/web.rs
22
0.0
0.0% rust/agama-lib/src/product/client.rs
30
0.0
0.0% rust/agama-cli/src/lib.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 service 13411639555.2 19 Feb 2025 11:41AM UTC 536
88.47
GitHub Action Run
2 rust 13392837706.2 18 Feb 2025 02:36PM UTC 130
25.08
GitHub Action Run
Source Files on build 13411639555
  • Tree
  • List 666
  • Changed 48
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13411639555
  • 0deb38d5 on github
  • Prev Build on master (#13409612956)
  • Next Build on master (#13411639568)
  • 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