1
0
mirror of https://github.com/kairos-io/kairos-sdk.git synced 2025-05-11 17:46:26 +00:00
Commit Graph

633 Commits

Author SHA1 Message Date
renovate[bot]
87e7dc30cc
fix(deps): update module github.com/mudler/yip to v1.16.0 2025-05-10 01:37:59 +00:00
renovate[bot]
84ba7a23fa
chore(deps): update dependabot/fetch-metadata action to v2.4.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-10 01:36:38 +00:00
renovate[bot]
ec63b89629
chore(deps): update securego/gosec action to v2.22.4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 22:12:56 +00:00
Itxaka
2f206da0fd
Fix journald logging () 2025-05-08 14:49:09 +02:00
Itxaka
571996d6ba
Be able to build the logger on windows ()
Seems like provider can build for windows for the kairosctl command and
it would fail due to the systemd libs not being available to build under
windows so we need to protect against that

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-05-06 11:19:17 +02:00
renovate[bot]
040a722e24
chore(deps): update google/osv-scanner-action action to v2.0.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 02:26:36 +00:00
renovate[bot]
1a07cd8a4c
chore(deps): update golangci/golangci-lint-action action to v8 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-04 21:34:42 +00:00
Itxaka
7ef466cd9d
Bring kcrypt libs into sdk () 2025-04-17 17:03:23 +02:00
renovate[bot]
790c454322
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.23.4 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 00:12:13 +00:00
renovate[bot]
4b0c4e03b0
chore(deps): update securego/gosec action to v2.22.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 21:47:55 +00:00
renovate[bot]
c285d7cca2
chore(deps): update google/osv-scanner-action action to v2.0.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 23:29:56 +00:00
renovate[bot]
eb4d865bc3
fix(deps): update module github.com/onsi/gomega to v1.37.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 22:23:36 +00:00
renovate[bot]
d17c99bd71
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.23.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 12:23:55 +00:00
renovate[bot]
c2287118d5
chore(deps): update google/osv-scanner-action action to v2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 12:21:23 +00:00
renovate[bot]
0203307a95
fix(deps): update module github.com/onsi/gomega to v1.36.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 12:21:02 +00:00
Itxaka
2078966079
Improve journald logger ()
* Improve journald logger

tag the logs with the identifier so they can be found easily with
journald


---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2025-04-02 14:16:56 +02:00
renovate[bot]
e2cf41415d
fix(deps): update module github.com/avast/retry-go to v3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 03:14:10 +00:00
renovate[bot]
824cb963eb
fix(deps): update module golang.org/x/mod to v0.24.0 ()
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 ()
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 ()
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 ()
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 () 2025-02-28 09:49:14 +00:00
renovate[bot]
fcbbc80f24
fix(deps): update module github.com/containerd/containerd to v1.7.26 ()
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 ()
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 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 02:07:13 +00:00
Itxaka
aa62f8ba73
Improve logger ()
* 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 ()
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 ()
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 ()
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 ()
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 ()
* 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>
2025-02-04 15:31:58 +02:00
renovate[bot]
550ab92cf6
chore(deps): update dependabot/fetch-metadata action to v2.3.0 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 16:25:40 +01:00
Itxaka
91c75282e9
Downgrade diskfs ()
Signed-off-by: Itxaka <itxaka@kairos.io>
2025-01-14 17:18:31 +02:00
dependabot[bot]
fdb60f74bb
Bump golang.org/x/crypto in the go_modules group across 1 directory ()
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>
2025-01-14 13:41:44 +00:00
Dimitris Karakasilis
139026f697
Fix go mod by running go get and then go mod tidy ()
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 ()
* 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 

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>
2025-01-14 13:43:48 +01:00
renovate[bot]
a2d305dd6d
fix(deps): update module github.com/docker/docker to v27.5.0+incompatible ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 22:40:48 +00:00