Commit Graph

596 Commits

Author SHA1 Message Date
Mauro Morales
c5f48d96d3 Remove utils.Version()
For versioning we now use the versioneer package also in this repo. I
couldn't find any instance of components depending on utils.Version() so
I think it's safe to remove

Signed-off-by: Mauro Morales <contact@mauromorales.com>
2025-01-14 13:05:54 +01:00
Mauro Morales
5bd37afb4d Revert FindCommand changes
This function is not specific for k3s hence also not for k0s

Signed-off-by: Mauro Morales <contact@mauromorales.com>
2025-01-14 13:05:54 +01:00
Mauro Morales
ebfc7b3575 Remove shutdown now, it will be addressed later
see kairos-io/kairos#3126

Signed-off-by: Mauro Morales <contact@mauromorales.com>
2025-01-14 13:05:54 +01:00
William Rizzo
83d797a37b fix k0s services
Signed-off-by: William Rizzo <william.rizzo@gmail.com>
2025-01-14 13:05:54 +01:00
William Rizzo
cdfc95bb46 Adding systemd units for k0s
Signed-off-by: William Rizzo <william.rizzo@gmail.com>
2025-01-14 13:05:54 +01:00
William Rizzo
474faf6370 adding utils components to handle k0s
Signed-off-by: William Rizzo <william.rizzo@gmail.com>
2025-01-14 13:05:54 +01:00
renovate[bot]
a2d305dd6d fix(deps): update module github.com/docker/docker to v27.5.0+incompatible (#548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 01:25:04 +00:00
renovate[bot]
4bfcc75b60 fix(deps): update module github.com/mudler/yip to v1.13.1 (#547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 01:24:23 +00:00
renovate[bot]
2bd0cc2843 fix(deps): update module github.com/docker/docker to v27.4.1+incompatible (#534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:45:03 +00:00
renovate[bot]
d8a8f8baab fix(deps): update module github.com/onsi/gomega to v1.36.2 (#535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:44:31 +00:00
renovate[bot]
8447b5307b chore(deps): update google/osv-scanner-action action to v1.9.2 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:44:19 +00:00
renovate[bot]
df026fcd67 fix(deps): update module github.com/diskfs/go-diskfs to v1.5.0 (#538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:41:13 +00:00
renovate[bot]
a937b95b02 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.2 (#543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:40:48 +00:00
renovate[bot]
f761e99c71 fix(deps): update module github.com/containerd/containerd/v2 to v2.0.1 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:40:24 +00:00
renovate[bot]
7f6497ebe9 fix(deps): update github.com/foxboron/go-uefi digest to 19dc140 (#542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:39:55 +00:00
renovate[bot]
54cd282468 chore(deps): update securego/gosec action to v2.22.0 (#545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:37:32 +00:00
Itxaka
0b506b6684 Revert "Add raw disk utils"
This reverts commit 6921f6eb22.
2025-01-02 15:25:51 +01:00
Itxaka
6921f6eb22 Add raw disk utils
Provides raw disk utils to transform a raw disk into a GCE or Azure disk
Provieds a new constants pkg to store constants that cn be used across
all projects
Expands the KairosFs interface to be in line with what its used across
the projects

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-12-18 12:15:29 +01:00
renovate[bot]
d334d86d43 fix(deps): update module github.com/mudler/yip to v1.13.0 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 01:02:01 +00:00
renovate[bot]
e10c23da52 fix(deps): update module github.com/saferwall/pe to v1.5.6 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 05:57:42 +00:00
renovate[bot]
f696a099c9 fix(deps): update module github.com/itchyny/gojq to v0.12.17 (#531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:29:40 +00:00
renovate[bot]
42f7222d2b fix(deps): update module github.com/pterm/pterm to v0.12.80 (#530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 02:03:39 +00:00
renovate[bot]
ae0744e2ad fix(deps): update module github.com/onsi/gomega to v1.36.0 (#529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 22:09:43 +00:00
renovate[bot]
8dba478156 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.0 (#528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-23 08:45:22 +00:00
renovate[bot]
fce3641ea4 fix(deps): update module github.com/zcalusic/sysinfo to v1.1.3 (#527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-23 08:45:02 +00:00
renovate[bot]
9a55717bf5 chore(deps): update codecov/codecov-action action to v5 (#526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 01:31:44 +00:00
renovate[bot]
9fbf5b5ed0 fix(deps): update module github.com/saferwall/pe to v1.5.5 (#525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 01:31:35 +00:00
renovate[bot]
81739bcbc0 fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 00:09:59 +00:00
renovate[bot]
024a1f4a6b fix(deps): update module github.com/containerd/containerd to v2 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 00:09:40 +00:00
Dimitris Karakasilis
6a23bb6882 Fix install.device schema to allow all devices (#521)
* Fix install.device schema to allow all devices

E.g. /dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:0:0

Part of https://github.com/kairos-io/kairos/issues/2906

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Add test and run `go mod tidy`

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Fix test

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v0.6.1
2024-11-08 08:03:16 +02:00
renovate[bot]
617f4be9ab fix(deps): update module golang.org/x/mod to v0.22.0 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 22:04:31 +00:00
renovate[bot]
cc70acb730 fix(deps): update module github.com/containerd/containerd to v2 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 01:09:19 +00:00
renovate[bot]
259f6af97f fix(deps): update module github.com/onsi/gomega to v1.35.1 2024-11-01 22:10:32 +00:00
renovate[bot]
c49fbedde5 fix(deps): update module github.com/onsi/gomega to v1.35.0 (#518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 23:31:51 +00:00
renovate[bot]
7251a6bf47 fix(deps): update module github.com/onsi/ginkgo/v2 to v2.21.0 (#517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 23:29:12 +00:00
renovate[bot]
03ae582f9c fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 (#516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 00:21:16 +00:00
renovate[bot]
3897e4e85a fix(deps): update module github.com/diskfs/go-diskfs to v1.4.2 (#515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 00:21:08 +00:00
Itxaka
24873605ca Add method to extract files from an iso (#514)
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-10-28 09:09:48 +01:00
renovate[bot]
fb54aa4783 fix(deps): update module github.com/mudler/yip to v1.12.0 (#513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 21:42:08 +00:00
renovate[bot]
2dca284c0c fix(deps): update github.com/foxboron/go-uefi digest to fab4fdf (#512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 22:41:20 +00:00
renovate[bot]
5e341c9bd2 fix(deps): update module github.com/containerd/containerd to v1.7.23 2024-10-15 21:55:02 +00:00
renovate[bot]
31f1c80b2d fix(deps): update module github.com/urfave/cli/v2 to v2.27.5 2024-10-13 15:28:26 +00:00
renovate[bot]
68dd4156ce fix(deps): update module github.com/edsrzf/mmap-go to v1.2.0 (#509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 22:45:11 +00:00
Itxaka
5f9d126442 Move to use kairos-release instead of os-release (#506) v0.6.0 2024-10-07 11:39:29 +02:00
renovate[bot]
000e297982 fix(deps): update module github.com/mudler/yip to v1.11.0 (#508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 21:04:14 +00:00
renovate[bot]
4475091143 chore(deps): update google/osv-scanner-action action to v1.9.0 (#507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 22:02:50 +00:00
Itxaka
156caa6f8c Move mount parse line to trace level
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-27 17:26:54 +02:00
Kenny Root
9b2eeb0e55 Use formatting print to show underlying error message (#500)
* Use formatting print to show underlying error message

This appears to be a typo where "Println" was used instead of "Printf"

Signed-off-by: Kenny Root <kenny@the-b.org>

* Update collector/collector.go

---------

Signed-off-by: Kenny Root <kenny@the-b.org>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
v0.5.0
2024-09-27 08:37:38 +00:00
Nianyu Shen
541728fa22 feat: add support for extra plugins in cluster provider (#504)
* feat: add support for extra plugins in cluster provider

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* add cluster reset event

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

---------

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
2024-09-27 09:52:34 +02:00
renovate[bot]
bf4c177d3c fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 (#505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 21:39:40 +00:00