Itxaka
1eef1aadaa
Merge branch 'main' into common_logger
2023-08-21 11:24:17 +02:00
Itxaka
fd9cffde95
Properly calculate image size ( #45 )
2023-08-17 13:45:07 +03:00
Itxaka
624241aa41
Create log file
...
Signed-off-by: Itxaka <itxakaserrano@gmail.com>
2023-08-14 16:30:17 +02:00
Itxaka
2a7fb1d415
Add timestamp and proper timestamp output
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-08-11 12:33:54 +02:00
Itxaka
b0c740c961
First pass
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-08-11 11:41:28 +02:00
renovate[bot]
f6ec86180b
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.11.0 ( #23 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 18:33:06 +02:00
renovate[bot]
c1d4d698f2
fix(deps): update module github.com/mudler/yip to v1.3.0 ( #19 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 18:31:03 +02:00
renovate[bot]
3af1fbf2f8
fix(deps): update module github.com/zcalusic/sysinfo to v1 ( #22 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 18:29:11 +02:00
Itxaka
9e6ea0760a
Add a method to get the image size ( #39 )
2023-08-07 16:40:31 +02:00
Itxaka
7203787534
Semi force the umount of oem when dealing with mounts ( #40 )
2023-08-07 16:35:15 +02:00
Mauro Morales
396c5553ca
🐛 Wrong deep merge when array contains maps ( #38 )
...
* Do not try to smart merge arrays, but just append them
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Fix tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Rewording for tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Rename function to match what is doing after refactoring
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-08-01 10:08:21 +02:00
Itxaka
61e5a4d261
Extend root schema ( #37 )
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-25 12:38:46 +02:00
Itxaka
fe26d1de91
Add cleanstack util ( #35 )
2023-07-19 21:44:12 +02:00
renovate[bot]
481a189471
fix(deps): update module github.com/pterm/pterm to v0.12.63 ( #20 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 21:24:52 +02:00
Mauro Morales
05770e9f5c
schedule renovate after hours ( #34 )
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-07-10 10:05:28 +02:00
Dimitris Karakasilis
6d60329315
Allow the users to apply arbitrary images in framework-profile.yaml ( #33 )
...
so that they can force an older or newer release of one specific package
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-06-23 12:12:18 +02:00
Itxaka
03c6a9b8f5
Drop debug prints
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-20 12:21:58 +02:00
Itxaka
df990bf49a
Improve image extractor ( #32 )
2023-06-20 09:43:43 +03:00
Itxaka
dcf352a009
Bring collector into the sdk ( #31 )
2023-06-14 13:01:06 +02:00
Mauro Morales
cd5173edb8
Add issue template ( #30 )
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-06-14 08:59:09 +02:00
Itxaka
dd4fbb8014
✨ Identify lvm partitions for state ( #28 )
2023-06-07 14:48:27 +02:00
Itxaka
425e07d8c7
Add noFormat to install schema ( #27 )
2023-06-07 11:13:13 +02:00
Mauro Morales
c90740d747
✨ Move schema validation to sdk to be used by different repos ( #21 )
...
* Move schema validation to sdk to be used by different repos
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* remove unused
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* fix recommendations
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-26 12:32:01 +02:00
Itxaka
3524a69e57
Remove leftover print ( #18 )
2023-05-23 15:13:41 +02:00
Itxaka
f5982c9d5a
Try to create rootpath before extracting image if it doesnt exist ( #17 )
2023-05-18 12:17:40 +02:00
Itxaka
40db3d970e
Allow setting the platform of the image to download ( #15 )
2023-05-17 08:04:20 +00:00
renovate[bot]
60c5f9c587
fix(deps): update module github.com/pterm/pterm to v0.12.61 ( #11 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-17 09:45:37 +02:00
renovate[bot]
4499cee97d
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.9.5 ( #9 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 09:45:17 +02:00
renovate[bot]
2d2962a725
fix(deps): update module github.com/google/go-containerregistry to v0.15.2 ( #16 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 09:45:04 +02:00
renovate[bot]
0aa1d3243e
chore(deps): update actions/setup-go action to v4 ( #6 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 00:13:50 +02:00
renovate[bot]
d9a4f04744
fix(deps): update module github.com/mudler/yip to v1 ( #2 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 00:13:04 +02:00
Itxaka
ee38ccde54
Improve bundles for container and run to not use luet ( #13 )
...
This allows us to pull natively and support multiarch and auth out of
the box
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-16 17:59:04 +02:00
Mauro Morales
0c9d2bd9e6
🌱 Read os-release attributes using kairos prefix ( #12 )
...
* Read os-release attributes using kairos prefix
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Refactor other functions to use OSRelease
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Misc refactoring
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-14 11:40:28 +02:00
Itxaka
77ed7ba298
🐛 Add missing GetInterfaceIP
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-29 13:46:00 +02:00
Itxaka
2c52e1cda4
🐛 Recover string utils
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-29 13:43:01 +02:00
Itxaka
7a0ac7c663
🐛 Restore missing token utils
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-29 13:34:24 +02:00
Itxaka
ad3c0f6cd6
Add listToOutput misc func
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:58:04 +01:00
Itxaka
acf490ffed
Add misc system func
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:54:30 +01:00
Itxaka
d2375598d6
Add Prompt and PrintBanner
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:51:21 +01:00
Itxaka
dfd60b9a02
Add Shell misc util
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:49:17 +01:00
Itxaka
ec6c3f7443
Add OnSignal misc util
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:48:23 +01:00
Itxaka
58ddd1c5df
Add SetEnv misc util
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:45:04 +01:00
Itxaka
b3256fa436
Adapt machine to new sdk paths and format
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-17 14:00:02 +01:00
Itxaka
750eed7f93
sparkles: Use kairos-sdk module ( #1140 )
2023-03-15 15:45:00 +01:00
Ettore Di Giacinto
0344101950
seedling: Webui enhancements ( #620 )
...
* 🌱 Make sure webui starts on alpine
Also drop to shell when there are no providers
Signed-off-by: mudler <mudler@c3os.io>
* 🌱 Suppress verbose logging on tty
Signed-off-by: mudler <mudler@c3os.io>
* 🌱 Print WebUI address
Signed-off-by: mudler <mudler@c3os.io>
* 🎨 Update banner
Signed-off-by: mudler <mudler@c3os.io>
* 🌱 Refactor, display also interfaces
Signed-off-by: mudler <mudler@c3os.io>
* 🌱 Address feedback from review
Signed-off-by: mudler <mudler@c3os.io>
Signed-off-by: mudler <mudler@c3os.io>
2023-01-08 21:49:23 +01:00
Eng Zer Jun
0e989ae7ac
art: Move from io/ioutil to io and os packages ( #470 )
...
refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-11-22 01:11:03 +08:00
Ettore Di Giacinto
bebc9706c4
arrow_up: Bump repository and drop some workarounds ( #434 )
...
* ⬆️ Bump Kairos repositories
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
* 🐧 Find out which grub to call
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
2022-11-16 11:44:18 +01:00
Ettore Di Giacinto
2b7ca66bff
sparkles: state api sdk ( #262 )
...
* ✨ Add state api
This is related to https://github.com/kairos-io/kairos/issues/34 .
Starts to unify the API to retrieve the state in the sdk to have a common place to query system status information.
* 🤖 Add test
* Update go.mod
* ⚙️ Fine-tune detection of partitions
* 🤖 Add more fine-grained tests
* 🎨 Add /dev/ to partition name
* 🤖 Fixup tests
* ⚙️ Remount accessors
* ✨ Add state partition to cloud-init paths
* 📝 Upper case Kairos in motd
* 🎨 Add mounts sdk
* 🎨 Set grub options via SDK
* 🎨 Make it more idiomatic
2022-10-23 20:22:32 +02:00
Ettore Di Giacinto
fa66fa76fa
sparkles: Add bundles to post-install hooks ( #171 )
...
* 🤖 Add bundles and sysext test
* ✨ Exec bundles also after install
* 🤖 Adapt tests
* 🎨 Create dir only if doesn't exist
* 🎨 Return err on mount
* 🎨 Make bundle errors failure as an option
* 🎨 Minor fixups
* debug
* 🤖 Fix spec
* 🤖 Get correct version for bundle test
* 🎨 Fixups
* 🤖 systemd-sysext is available only on opensuse for now
2022-10-03 00:16:01 +02:00
Ettore Di Giacinto
745c51da9b
art: Rebranding ( #130 )
...
See: https://github.com/c3os-io/c3os/issues/88
2022-09-17 18:43:51 +02:00