|
Ran
|
Jobs
2
|
Files
0
|
Run time
–
|
Badge
README BADGES
|
push
github
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" } ] } ```
| ID | Flag name | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|---|
| 2 | service | 14059324506.2 | 664 | GitHub Action Run | ||
| 2 | rust | 14029511665.2 | 139 |
24.58 |
GitHub Action Run |