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

agama-project / agama / 16144413222 / 3 – web
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2025 01:22PM UTC
Files 540
Run time 16s
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

08 Jul 2025 01:19PM UTC coverage: 68.157% (-0.004%) from 68.161%
web – 16144413222.3

push

github

web-flow
feat: notify the user when the auto-installation cannot be started (#2534)

## Problem

Until now, Agama does not notify the user when the configuration for an
unattended installation cannot be loaded.

## Solution

### A partial solution

This is the first step towards having better handling of the
auto-installation process. It is not 100% complete, as it does not
report exactly the problem found when loading the profile, but we do not
want to invest more time into this at this point. We plan to do it
better for SLES 16.1.

### Replacing `agama-auto`

To implement this behavior, we decided to replace the old `agama-auto`
script with a new `agama-autoinstall` binary. The new binary can use all
the goodies from `agama-lib` and, in the future, it will not need to
rely on the command-line interface anymore.

### The behavior

If the user specifies an `inst.auto` and the profile could not be
loaded, Agama will display a sort of generic message asking the user
whether to retry. In the future, we would like to:

* Offer better diagnostics.
* Allow the user to specify a new URL.

If the user decides to not retry, Agama will not start the
auto-installation process.

If the user did not specify a `inst.auto`, Agama tries to silently load
one from the pre-defined locations.

### A new `inst.install` option

Setting `inst.install` to `0` makes Agama to stop before starting the
installation, after loading the configuration. It might be useful for
inspecting the result of applying the configuration before starting the
installation.

## Testing

- [x] Added a new unit test (partial)
- [x] Tested manually


## Screenshots

The text needs some improvements, but the screenshot is useful to get
the idea.


![config-load-error](https://github.com/user-attachments/assets/c6f31ed1-d826-47e5-bca2-7e473a67d7e9)


## Follow-up

- Document the new `inst.install` cmdline argument.
- Allow the user to specify a new URL.
- Do not rely on the CLI anymore.
- Extend the CLI to supp... (continued)

1887 of 3409 branches covered (55.35%)

Branch coverage included in aggregate %.

10716 of 15082 relevant lines covered (71.05%)

64.2 hits per line

Source Files on job web - 16144413222.3
  • Tree
  • List 540
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16144413222
  • 5ffbf053 on github
  • Prev Job for on master (#16114985631.3)
  • Next Job for on master (#16144413186.1)
  • 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