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

agama-project / agama / 14059324485 / 1 – rust
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2025 12:38PM UTC
Files 143
Run time 129min
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

25 Mar 2025 12:14PM UTC coverage: 24.403%. First build
rust – 14059324485.1

push

github

web-flow
Deploy files during auto-installation (#2121)

## Problem

In AutoYaST it is possible to deploy [complete configuration
files](https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-configuration-installation-options.html#createprofile-completeconf)
using the <files />[element](http://element.it/). But agama does not
allow it now.


## Solution

Implement support for it. Also as part of making it consistent with
scripts in scripts body is renamed to content.

Note: Intentionally support for files with ending slash ( to only create
directory ) is not part of this pull request and will be adressed in
further one.


## Testing

- *Added a new unit test*
- *Tested manually*

Profile used for manual testing:
```jsonnet
{
   "product": {
      "id": "Tumbleweed",
   },
   "user": {
      "fullName": "beloved TUX",
      "password": "tux",
      "userName": "tux"
   },
   "root": {
     "password": "linux"
   },
   "files": [
      {
        destination: "/home/tux/scripts/test.sh",
        content: |||
          #!/usr/bin/bash
          systemctl start multipathd.socket multipathd.service
        |||,
        permissions: "755",
        user: "tux",
        group: "users"
      },
      {
        destination: "/root/test2.md",
        url: "https://gist.githubusercontent.com/imobachgs/0fb996ed9f37a18f5d950f721f220731/raw/1438aeb67/http.md"
      }
   ]
}
```

1799 of 7372 relevant lines covered (24.4%)

0.67 hits per line

Source Files on job rust - 14059324485.1
  • Tree
  • List 143
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14059324485
  • e90cc60a on github
  • Prev Job for on master (#14059324506.)
  • 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