Commit Graph

666 Commits

Author SHA1 Message Date
renovate[bot]
824cb963eb fix(deps): update module golang.org/x/mod to v0.24.0 (#575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-06 03:02:28 +00:00
renovate[bot]
691a79d39f fix(deps): update module github.com/onsi/ginkgo/v2 to v2.23.0 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-06 03:02:21 +00:00
renovate[bot]
aba36be46d chore(deps): update securego/gosec action to v2.22.2 (#572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 22:30:37 +00:00
renovate[bot]
acbb7c7cba fix(deps): update module github.com/urfave/cli/v2 to v2.27.6 (#573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 22:30:23 +00:00
Itxaka
d9cdf0792a Bump crypto dep
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-02-28 10:50:32 +01:00
Itxaka
228b87bc8a Improve GetImage platform handling (#557) 2025-02-28 09:49:14 +00:00
renovate[bot]
fcbbc80f24 fix(deps): update module github.com/containerd/containerd to v1.7.26 (#571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 03:37:22 +00:00
renovate[bot]
a9bca6e4b1 fix(deps): update module github.com/jaypipes/ghw to v0.14.0 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 02:07:24 +00:00
renovate[bot]
0cad66ef99 fix(deps): update module github.com/diskfs/go-diskfs to v1.5.1 (#569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 02:07:13 +00:00
Itxaka
aa62f8ba73 Improve logger (#566)
* Improve logger

 - Try to log to jorunald if available
 - fallback to file writing if not
 - write to single file instead of appending times
 - add a locking mechanism so several processes cant write to the same
   file
 - prepend the PID of the process if we are running outside journald for
   easy tracking of grouped messages

Signed-off-by: Itxaka <itxaka@kairos.io>

* Simplify

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-02-24 11:34:54 +01:00
renovate[bot]
c52bfb5708 fix(deps): update module github.com/mudler/yip to v1.15.0 (#567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-19 02:07:24 +00:00
renovate[bot]
6a341f19c5 chore(deps): update securego/gosec action to v2.22.1 (#565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 23:10:59 +00:00
renovate[bot]
103ae14736 fix(deps): update github.com/foxboron/go-uefi digest to 69fb7db (#564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-08 01:27:55 +00:00
renovate[bot]
86763eb878 fix(deps): update module golang.org/x/mod to v0.23.0 (#563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 22:15:39 +00:00
Dimitris Karakasilis
3aac7ad951 Skip artifacts that don't have proper names (#562)
* Skip artifacts that don't have proper names

Fixing https://github.com/kairos-io/kairos/issues/3167

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

* go mod tidy

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

* Make sure we test the fix

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

---------

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v0.7.3
2025-02-04 15:31:58 +02:00
renovate[bot]
550ab92cf6 chore(deps): update dependabot/fetch-metadata action to v2.3.0 (#561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-25 12:42:00 +00:00
renovate[bot]
2b0428f827 fix(deps): update module github.com/docker/docker to v27.5.1+incompatible (#560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 01:36:51 +00:00
renovate[bot]
e0de97a53b fix(deps): update module github.com/mudler/yip to v1.14.1 (#559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-19 09:00:53 +00:00
renovate[bot]
227f0b0c64 fix(deps): update module github.com/mudler/yip to v1.14.0 (#558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 01:33:06 +00:00
renovate[bot]
707cc98113 fix(deps): update module github.com/google/go-containerregistry to v0.20.3 (#556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 01:10:54 +00:00
renovate[bot]
2671827efe fix(deps): update module github.com/containerd/containerd to v1.7.25 (#552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 15:28:33 +00:00
renovate[bot]
65238b19fc chore(config): migrate config renovate.json (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 16:25:40 +01:00
Itxaka
91c75282e9 Downgrade diskfs (#551)
Signed-off-by: Itxaka <itxaka@kairos.io>
v0.7.2
2025-01-14 17:18:31 +02:00
dependabot[bot]
fdb60f74bb Bump golang.org/x/crypto in the go_modules group across 1 directory (#550)
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.7.1
2025-01-14 13:41:44 +00:00
Dimitris Karakasilis
139026f697 Fix go mod by running go get and then go mod tidy (#549)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2025-01-14 15:37:52 +02:00
William Rizzo
716d3f4fca Add K0s utility functions and cleanup (#546)
* adding utils components to handle k0s

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* Adding systemd units for k0s

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* fix k0s services

Signed-off-by: William Rizzo <william.rizzo@gmail.com>

* Remove shutdown now, it will be addressed later

see kairos-io/kairos#3126

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Revert FindCommand changes

This function is not specific for k3s hence also not for k0s

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* 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>

* Revert changes to the go.mod & go.sum files

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Revert "Remove utils.Version()"

This reverts commit c5f48d96d3.

* Remove utils.Version()

This is not being used anymore, use Versioneer package instead

Signed-off-by: Mauro Morales <contact@mauromorales.com>

* Update machine/machine.go

Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: William Rizzo <william.rizzo@gmail.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Co-authored-by: Mauro Morales <contact@mauromorales.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v0.7.0
2025-01-14 13:43:48 +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