Itxaka
02eb9d32a0
Let kcrypt add the allow discards option ( #434 )
2024-07-31 18:00:29 +02:00
renovate[bot]
abcc8b71bc
Update module github.com/onsi/gomega to v1.34.1
2024-07-29 22:19:19 +00:00
Itxaka
0d8d534d5d
Encrypt luks partition with allow-discards ( #423 )
2024-07-29 09:47:03 +02:00
renovate[bot]
9ad2283a01
Update module github.com/google/go-github/v40 to v63 ( #432 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 00:57:39 +00:00
renovate[bot]
1c09e80a82
Update module github.com/google/go-github/v40 to v63 ( #431 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 22:57:26 +00:00
renovate[bot]
a1c2e69b38
Update module github.com/onsi/ginkgo/v2 to v2.19.1
2024-07-26 22:57:08 +00:00
Dimitris Karakasilis
e3d7d3a057
Show message when list-releases
is called from within a UKI OS
...
Consume https://github.com/kairos-io/kairos-sdk/pull/262/files
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-07-26 13:32:12 +03:00
Dimitris Karakasilis
f50ae8824c
Replace deprecated lib
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-07-26 13:31:09 +03:00
renovate[bot]
ae0c699879
Update module github.com/google/go-github/v40 to v63 ( #428 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 22:34:23 +00:00
renovate[bot]
244d390ff6
Update module github.com/onsi/gomega to v1.34.0 ( #427 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 22:29:38 +00:00
renovate[bot]
f2dc6bdbb5
Update module github.com/google/go-github/v40 to v63 ( #425 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 03:16:12 +00:00
renovate[bot]
59bbefbc87
Update module github.com/urfave/cli/v2 to v2.27.3
2024-07-25 02:33:38 +00:00
renovate[bot]
d8f851b6db
Update module github.com/google/go-github/v40 to v63 ( #420 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 23:35:07 +00:00
renovate[bot]
77b0f7ad1c
Update module k8s.io/mount-utils to v0.30.3
2024-07-17 23:34:53 +00:00
renovate[bot]
f8cc308bf7
Update module github.com/google/go-containerregistry to v0.20.1
2024-07-17 04:41:36 +00:00
renovate[bot]
b2e3ca99e7
Update module github.com/google/go-github/v40 to v63 ( #415 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 21:35:48 +00:00
renovate[bot]
a3827b4144
Update module github.com/mudler/yip to v1.9.3 ( #402 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 09:33:45 +00:00
renovate[bot]
cf10aaa506
Update module github.com/google/go-github/v40 to v63 ( #414 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-13 01:26:23 +00:00
renovate[bot]
06dd69cda9
Update module github.com/google/go-github/v40 to v63 ( #413 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 22:32:44 +00:00
Itxaka
7576c99faf
Run secscans in proper events ( #410 )
2024-07-12 10:21:30 +02:00
renovate[bot]
d6f54a6bf5
Update module github.com/google/go-github/v40 to v63 ( #409 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 00:42:29 +00:00
renovate[bot]
40990010b0
Update module github.com/google/go-github/v40 to v63 ( #408 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 00:37:56 +00:00
renovate[bot]
54213cb504
Update module k8s.io/mount-utils to v0.30.2 ( #379 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 09:43:59 +00:00
renovate[bot]
c6c3a9397b
Update module github.com/google/go-containerregistry to v0.20.0 ( #403 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 09:43:42 +00:00
renovate[bot]
24429789e9
Update module golang.org/x/net to v0.27.0 ( #364 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 09:43:29 +00:00
Itxaka
5a23b643c0
Bump go to 1.22 and yip to latest ( #405 )
2024-07-11 11:36:54 +02:00
Dimitris Karakasilis
24ec7086ae
Use correct reference to package
...
Fixes https://github.com/kairos-io/kairos/issues/2663
See "deprecations" here:
https://github.com/distribution/distribution/releases/tag/v3.0.0-alpha.1
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-07-04 13:32:24 +03:00
renovate[bot]
5e9ae623c8
Update module github.com/google/go-github/v40 to v62 ( #391 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 21:38:41 +00:00
renovate[bot]
e70ded95f9
Update module github.com/google/go-github/v40 to v62 ( #390 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 21:33:57 +00:00
dependabot[bot]
85efacd026
Bump golang.org/x/image in the go_modules group across 1 directory ( #389 )
...
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/image](https://github.com/golang/image ).
Updates `golang.org/x/image` from 0.10.0 to 0.18.0
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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>
2024-06-26 19:40:13 +00:00
Dimitris Karakasilis
4cc7c898c4
Bump yip to v1.9.0
...
to properly set kairos uid and gid in the range of human users
Relevant: https://github.com/mudler/yip/pull/159
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-06-26 12:50:08 +03:00
renovate[bot]
3f657c728a
Update module github.com/google/go-github/v40 to v62 ( #387 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 23:15:16 +00:00
renovate[bot]
bb5a71ce85
Update module github.com/google/go-github/v40 to v62 ( #386 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 23:10:14 +00:00
Itxaka
aebc8f6083
Bump kcrypt and adapt hooks ( #385 )
2024-06-20 11:19:29 +02:00
renovate[bot]
fd2f83dc55
Update module github.com/google/go-github/v40 to v62 ( #381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-15 16:49:43 +00:00
renovate[bot]
569c1313f3
Update module github.com/google/go-containerregistry to v0.19.2
2024-06-15 14:02:21 +00:00
renovate[bot]
3462167492
Update module github.com/google/go-github/v40 to v62 ( #378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 01:05:09 +00:00
renovate[bot]
c1b8a7bc50
Update module github.com/mudler/yip to v1.8.1
2024-06-11 21:59:43 +00:00
renovate[bot]
f6456a1b72
Update module github.com/google/go-github/v40 to v62 ( #375 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 21:57:42 +00:00
renovate[bot]
ff6a423717
Update module github.com/mudler/yip to v1.8.0 ( #374 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 21:53:16 +00:00
renovate[bot]
c1d1a33114
Update module github.com/google/go-github/v40 to v62 ( #373 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 21:12:36 +00:00
renovate[bot]
47d37bd8db
Update module github.com/google/go-github/v40 to v62 ( #370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 07:48:26 +00:00
Itxaka
9b7d21e565
Bump to new sdk ( #371 )
2024-06-06 09:43:40 +02:00
Nianyu Shen
3a3ba23c6c
bump kairos-sdk to v0.2.2 ( #369 )
2024-06-05 09:56:26 +02:00
renovate[bot]
0cb1a07732
Update module golang.org/x/oauth2 to v0.21.0 ( #365 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 03:41:22 +00:00
renovate[bot]
57dbd52b76
Update module github.com/google/go-github/v40 to v62 ( #368 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 03:36:51 +00:00
renovate[bot]
ff7744b258
Update module golang.org/x/sys to v0.21.0 ( #366 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 01:34:45 +00:00
Itxaka
85bb274b38
Use signature from sdk ( #361 )
2024-06-04 16:03:39 +02:00
renovate[bot]
a256ef6060
Update module github.com/google/go-github/v40 to v62 ( #360 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-02 10:38:45 +00:00
renovate[bot]
58dc5ee16d
Update module github.com/spf13/viper to v1.19.0 ( #359 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-02 10:29:11 +00:00
renovate[bot]
379c3ce4f6
Update module github.com/google/go-github/v40 to v62 ( #355 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 21:18:55 +00:00
renovate[bot]
1817c2c229
Update module github.com/google/go-github/v40 to v62 ( #352 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 07:09:07 +00:00
Dimitris Karakasilis
bfb9a8af20
Bump kcrypt to v0.11.2
...
to get this fix: https://github.com/kairos-io/kcrypt/pull/373
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-27 10:03:51 +03:00
renovate[bot]
6110cae4e5
Update module github.com/google/go-github/v40 to v62 ( #351 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 23:16:02 +00:00
Mauro Morales
6dd5a18e96
Bump sdk to v0.1.8 ( #349 )
...
* Bump sdk to v0.1.8
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Use new signing methods
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-23 16:06:30 +02:00
Dimitris Karakasilis
382b1944b3
Move udevadm triggering in kcrypt
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-23 16:05:31 +03:00
Dimitris Karakasilis
30aec872a9
Bump kairos-sdk to v0.1.7
...
to get this fix: https://github.com/kairos-io/kairos-sdk/pull/114
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-23 09:28:58 +03:00
renovate[bot]
f878e34646
Update module github.com/google/go-github/v40 to v62 ( #346 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 04:07:18 +00:00
renovate[bot]
1834f1c586
Update module github.com/rs/zerolog to v1.33.0 ( #345 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 04:07:09 +00:00
renovate[bot]
9d454fe8f2
Update module github.com/kairos-io/kcrypt to v0.11.0 ( #343 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 01:37:30 +00:00
Itxaka
cfa2c61ae1
Add method to validate signature of efi file ( #337 )
...
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-05-22 09:49:17 +02:00
renovate[bot]
7c06f5101f
Update module github.com/google/go-github/v40 to v62 ( #338 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 22:27:35 +00:00
renovate[bot]
0c919344cc
Update module golang.org/x/oauth2 to v0.20.0 ( #329 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 09:48:41 +00:00
renovate[bot]
e8087585a1
Update module github.com/mudler/yip to v1.7.0 ( #334 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 09:48:27 +00:00
renovate[bot]
a883a87e29
Update module github.com/google/go-github/v61 to v62 ( #336 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 09:42:20 +00:00
renovate[bot]
b4118a2a60
Update module github.com/google/go-github/v40 to v62 ( #335 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 09:42:14 +00:00
renovate[bot]
0c87c6ead2
Update module golang.org/x/net to v0.25.0 ( #328 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 09:41:05 +00:00
renovate[bot]
9830936994
Update module github.com/kairos-io/kairos-sdk to v0.1.6
2024-05-16 09:33:59 +00:00
Itxaka
720cc931c4
set go verison to 1.19
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-05-09 11:54:02 +02:00
renovate[bot]
2e9c6c8705
Update module github.com/kairos-io/kairos-sdk to v0.1.4
2024-05-08 08:44:20 +00:00
Mauro Morales
eb4be08b39
Bump sdk
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-06 16:48:12 +02:00
Mauro Morales
c04372868b
Use Overwrites for a payload cloud config ( #320 )
...
Relates to kairos-io/kairos#2492
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-03 18:26:57 +02:00
renovate[bot]
621140b6be
Update module github.com/urfave/cli/v2 to v2.27.2
2024-04-27 15:09:21 +00:00
renovate[bot]
bbed3ebd5c
Update module github.com/mudler/yip to v1.6.2 ( #312 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-27 12:29:41 +00:00
renovate[bot]
3c86c1bba5
Update module github.com/kairos-io/kcrypt to v0.10.1 ( #306 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 08:51:54 +00:00
Itxaka
8fa2029c6f
Bump yip ( #313 )
2024-04-25 10:47:45 +02:00
renovate[bot]
c5a68fe97a
Update module github.com/twpayne/go-vfs/v4 to v5 ( #299 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 12:38:26 +00:00
renovate[bot]
3c691af76a
Update module github.com/google/go-github/v40 to v61 ( #298 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 12:33:41 +00:00
Mauro Morales
04b346ae7b
Bump go version
...
Signed-off-by: Mauro Morales <contact@mauromorales.com>
2024-04-18 09:32:31 +00:00
Mauro Morales
3dc65a57e9
remove toolchain directive
...
Signed-off-by: Mauro Morales <contact@mauromorales.com>
2024-04-18 09:32:31 +00:00
renovate[bot]
a21db44bfe
Update module github.com/kairos-io/kairos-sdk to v0.1.1
2024-04-18 09:32:31 +00:00
renovate[bot]
77f4a78467
Update module golang.org/x/oauth2 to v0.19.0 ( #268 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 01:58:56 +00:00
renovate[bot]
ece857cc3a
Update module github.com/labstack/echo/v4 to v4.12.0 ( #296 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 01:54:50 +00:00
renovate[bot]
bf08f6b077
Update module github.com/kairos-io/kairos-sdk to v0.1.0 ( #295 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 22:53:49 +00:00
dependabot[bot]
28e5622d3c
Bump github.com/docker/docker ( #273 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.0+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.0...v24.0.9 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:04:10 +00:00
dependabot[bot]
8ef8318c02
Bump golang.org/x/image from 0.0.0-20191206065243-da761ea9ff43 to 0.10.0 ( #276 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20191206065243-da761ea9ff43 to 0.10.0.
- [Commits](https://github.com/golang/image/commits/v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:58:37 +00:00
Dimitris Karakasilis
1f2d8d89fc
Move the Image() filtering to kairos-sdk
...
https://github.com/kairos-io/kairos-sdk/pull/85/files
Fixes: https://github.com/kairos-io/kairos/issues/2440
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-12 09:40:26 +03:00
Itxaka
b07a187a88
Fix building under 1.19 ( #284 )
2024-04-11 09:24:27 +02:00
Dimitris Karakasilis
2c28863972
Bump yip to v1.6.0
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-10 15:39:59 +03:00
Dimitris Karakasilis
d3bf4ebedb
Bump yip and propagate NoFormat to the install spec
...
We need this from yip:
4ebbc7582e
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-10 12:44:44 +03:00
Dimitris Karakasilis
da9065eee0
Remove unecessary go.mod "replace" instruction
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-09 12:53:05 +03:00
Dimitris Karakasilis
804462e272
WIP
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-09 12:53:04 +03:00
Itxaka
b83e0433fd
Bump sdk ( #280 )
2024-04-08 12:59:52 +02:00
Itxaka
08eefab468
Bump sdk ( #269 )
2024-04-02 09:35:16 +02:00
Itxaka
64b9548049
Add an autoreset entry ( #267 )
2024-03-22 13:21:58 +01:00
Itxaka
b1489daff8
Converge all yaml libs into v3 ( #266 )
...
* Converge all yaml libs into v3
Signed-off-by: Itxaka <itxaka@kairos.io>
* go mod tid
Signed-off-by: Itxaka <itxaka@kairos.io>
---------
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-20 16:53:42 +01:00
renovate[bot]
4b61db1eb9
fix(deps): update module github.com/spf13/viper to v1.18.2 ( #254 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 12:25:47 +01:00
renovate[bot]
ab915a6dc4
fix(deps): update module github.com/urfave/cli/v2 to v2.27.1 ( #255 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 12:24:49 +01:00
renovate[bot]
b4f415b6c1
fix(deps): update github.com/mudler/go-processmanager digest to f204007 ( #136 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 12:17:56 +01:00
Itxaka
abf92beac8
Bump to use vfs4 ( #240 )
2024-03-18 11:57:34 +01:00
Mauro Morales
590e39e97e
Add UKI functionlity to replace titles ( #246 )
...
* Add UKI functionlity to replace titles
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Move common logic to constants
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-03-13 09:54:12 +01:00
Itxaka
2e0af77fbc
Use new logger facilities ( #236 )
2024-03-01 12:27:26 +01:00
Mauro Morales
d139550b54
Bump SDK to 0.0.26 ( #238 )
2024-02-29 22:14:45 +01:00
Dimitris Karakasilis
c369187e48
Remove "replace" directive from go.mod
...
and use released tag
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-19 13:43:43 +02:00
Dimitris Karakasilis
d981656715
Install efi files in uki mode using naming convention
...
replace "artifact" with "active" in conf files and in filenames
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-13 16:12:20 +02:00
Itxaka
7efda3d50e
Bump sdk
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-02-01 15:27:00 +01:00
Itxaka
25aa9cf0cb
Bump kcrypt ( #208 )
2024-01-24 16:44:16 +01:00
renovate[bot]
190fe53d38
fix(deps): update module github.com/nxadm/tail to v1.4.11
2024-01-24 15:21:32 +00:00
renovate[bot]
f9e6641788
fix(deps): update module github.com/distribution/distribution to v2.8.3+incompatible
2024-01-24 13:44:57 +00:00
Mauro Morales
663801091d
Allow downgrading of k3s when upgrading kairos version
...
Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
2024-01-08 17:01:57 +02:00
Dimitris Karakasilis
26967ba8f1
Bump kairos-sdk
...
to consume https://github.com/kairos-io/kairos-sdk/pull/65
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-01-05 10:30:02 +02:00
renovate[bot]
604f111866
Update module github.com/mudler/yip to v1.4.6
2024-01-04 03:39:43 +00:00
renovate[bot]
42c40a42fa
Update module github.com/labstack/echo/v4 to v4.11.4
2024-01-04 00:49:43 +00:00
Mauro Morales
ca509a6b0a
Merge pull request #116 from kairos-io/renovate/github.com-google-go-containerregistry-0.x
...
Update module github.com/google/go-containerregistry to v0.17.0
2024-01-03 14:33:02 +01:00
Dimitris Karakasilis
e9251fcfc5
Bump the kairos-sdk to use quoted os-release variables
...
https://github.com/kairos-io/kairos-sdk/pull/63/files
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-19 11:22:59 +02:00
Itxaka
48188d1442
Bump Kcrypt
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-12-18 16:17:23 +01:00
Itxaka
b8232ae985
UKI improvements ( #186 )
2023-12-18 16:09:55 +01:00
Itxaka
3254b8a36e
Uki upgrade ( #182 )
2023-12-18 11:38:26 +01:00
renovate[bot]
2be11b827e
Update module github.com/kairos-io/kcrypt to v0.8.0 ( #185 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-16 10:04:35 +01:00
Dimitris Karakasilis
559e1e2b70
Bump the kairos-sdk to get the latest changes regarding versioneer
...
https://github.com/kairos-io/kairos-sdk/pull/62
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-14 17:03:41 +02:00
renovate[bot]
580c7bdab5
Update github.com/kairos-io/kcrypt digest to 12a8d5d ( #183 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 14:03:53 +01:00
Itxaka
7ca39f2729
Encrypt uki partitions after install ( #176 )
2023-12-12 20:51:55 +00:00
Dimitris Karakasilis
44d363fc0e
Consume a tagged kairos-sdk version
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-08 14:54:04 +02:00
Dimitris Karakasilis
2412d69e32
Re-enable call-out to provider for releases
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-08 10:50:01 +02:00
Dimitris Karakasilis
823343546a
Fix "upgrade list-releases" command by consuming kairos-sdk versioneer
...
Also add TODOs for remaining work
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-07 15:00:45 +02:00
Dimitris Karakasilis
faedd0fbae
Embed verioneer cli commands and fix duplicate command aliases
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 15:53:04 +02:00
Dimitris Karakasilis
bd63c4b487
Bump kairos-sdk to fix the local bundle installation
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 12:31:41 +02:00
renovate[bot]
2824b78d04
Update module github.com/google/go-containerregistry to v0.17.0
2023-11-29 22:51:15 +00:00
Dimitris Karakasilis
dfa5665ace
Don't parse userdata twice
...
bump kairos-sdk to consume this: https://github.com/kairos-io/kairos-sdk/pull/58
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-11-23 16:42:02 +02:00
renovate[bot]
9edc1eef6a
Update module github.com/mudler/yip to v1.4.5 ( #169 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 10:30:04 +02:00
renovate[bot]
dc8a4336fc
Update module github.com/kairos-io/kairos-sdk to v0.0.15
2023-10-27 08:29:30 +00:00
Mauro Morales
fdc7f49d1f
Keep track of visited files for size calculation
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-10-19 22:11:13 +02:00
renovate[bot]
8785c5e189
Update module github.com/distribution/distribution to v2.8.3+incompatible
2023-10-17 06:31:55 +00:00
renovate[bot]
4956cdb8a2
Update module github.com/nxadm/tail to v1.4.11
2023-10-17 00:08:48 +00:00
renovate[bot]
b38204bba1
Update module github.com/labstack/echo/v4 to v4.11.2
2023-10-16 23:06:51 +00:00
renovate[bot]
2cd1f6f1f6
Update module github.com/mudler/yip to v1.4.5
2023-10-16 19:10:08 +00:00
renovate[bot]
da5a3edcf2
Update github.com/kairos-io/kairos-sdk digest to 0bb4e40 ( #157 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 16:35:53 +02:00
renovate[bot]
ae5d2f72c9
Update module github.com/mudler/yip to v1.4.4 ( #156 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 13:44:22 +02:00
renovate[bot]
9f216d373c
Update module github.com/onsi/gomega to v1.28.0 ( #155 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 13:43:09 +02:00
renovate[bot]
47f461b243
Update module github.com/onsi/ginkgo/v2 to v2.12.1 ( #154 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 13:42:07 +02:00
Dimitris Karakasilis
c3a77d7199
Bump yip
...
https://github.com/kairos-io/kairos/issues/1850
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-26 12:22:57 +03:00
Itxaka
677254e570
Pass the install event to the collector directly ( #150 )
2023-09-26 07:38:58 +00:00
Dimitris Karakasilis
b687b30d48
Bump yip
...
to get this fix: https://github.com/mudler/yip/pull/110
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-25 10:18:48 +03:00
renovate[bot]
b1db2f48e4
Update module github.com/erikgeiser/promptkit to v0.9.0 ( #126 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 17:14:50 +02:00
Dimitris Karakasilis
b336e16e70
go mod tidy (after rebase conflicts)
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-14 16:06:59 +03:00
renovate[bot]
0afdf76278
Update module github.com/mudler/yip to v1.4.2 ( #142 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 09:46:37 +02:00
Itxaka
cfc9f6572f
Bump yip to latest ( #141 )
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-09-07 15:39:37 +02:00
renovate[bot]
417f8ce438
Update module github.com/mudler/yip to v1.4.0 ( #135 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:22:02 +02:00
renovate[bot]
ccd7872045
Update module golang.org/x/oauth2 to v0.12.0 ( #127 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 11:20:45 +02:00
Itxaka
307eabbb36
Bump to latest yip ( #134 )
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-09-04 09:56:15 +02:00
Itxaka
442973526e
Track active/passive boot for upgrade workflow ( #133 )
...
* Track active/passive boot for upgrade workflow
Track what are we booting from during upgrade in order to not backup
active into passive if we are booting from passive.
If we are booting from active or recovery the workflow keeps as it was,
backup active into passive, and then move the transition image into
active.
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-09-01 15:19:28 +02:00
Itxaka
dffef50ca0
Several improvements for size calculation ( #129 )
2023-08-17 13:53:45 +02:00
renovate[bot]
639e787706
Update module github.com/pterm/pterm to v0.12.65 ( #120 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:26:46 +02:00
renovate[bot]
1048a5b5f7
Update module github.com/labstack/echo/v4 to v4.11.1 ( #117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-08-08 15:26:11 +02:00
renovate[bot]
7d8de3b15a
Update module github.com/onsi/gomega to v1.27.10 ( #99 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-08-08 15:25:16 +02:00
Itxaka
4108aa929e
Auto calculate image size on actions ( #122 )
2023-08-08 10:44:42 +02:00
renovate[bot]
c42ca694d2
Update module k8s.io/mount-utils to v0.27.4 ( #93 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 20:01:10 +02:00
renovate[bot]
a28acbf63a
Update module github.com/kairos-io/kairos-sdk to v0.0.11 ( #107 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 12:36:30 +02:00
Itxaka
f7bdba2dda
Merge elemental config into agent config ( #102 )
2023-07-25 15:21:34 +02:00
Itxaka
956f86f99c
Rework reboot/shutdown to use the hooks ( #96 )
2023-07-24 12:28:59 +02:00
renovate[bot]
fd22840d14
Update module github.com/spf13/viper to v1.16.0 ( #50 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 15:53:34 +02:00
renovate[bot]
aa23d50d27
Update module github.com/pterm/pterm to v0.12.63 ( #88 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 15:53:22 +02:00
renovate[bot]
21eb18423e
Update module github.com/kairos-io/kairos-sdk to v0.0.9 ( #87 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 15:53:06 +02:00
renovate[bot]
239b583ec9
Update module github.com/jaypipes/ghw to v0.12.0 ( #89 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 15:52:31 +02:00
renovate[bot]
520ca64f36
Update module github.com/onsi/ginkgo/v2 to v2.11.0 ( #49 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 11:12:31 +02:00
renovate[bot]
9929366ba9
Update module k8s.io/mount-utils to v0.27.3 ( #53 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-19 11:12:04 +02:00
Itxaka
9c5731baa2
Rename go module kairos-agent ( #81 )
2023-07-10 14:39:48 +02:00
Dimitris Karakasilis
e336c66b3f
Use the yip layout plugin ( #72 )
...
Co-authored-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-07-04 14:56:42 +02:00
Mauro Morales
7df8dfc83f
Merge pull request #47 from kairos-io/renovate/github.com-urfave-cli-v2-2.x
...
Update module github.com/urfave/cli/v2 to v2.25.7
2023-06-30 13:13:02 +02:00
Itxaka
f051fab7bc
Bump yip ( #67 )
2023-06-21 12:12:23 +02:00
Itxaka
b126f7ab00
Drop --local flag for image sources ( #63 )
2023-06-21 09:39:59 +02:00
Itxaka
ec67ddedbf
Bump yip to latest ( #65 )
2023-06-20 16:42:35 +02:00
renovate[bot]
c52acc3024
Update module github.com/urfave/cli/v2 to v2.25.7
2023-06-20 10:19:28 +00:00
Itxaka
738bfbdb69
Simplify rsync implementation ( #61 )
2023-06-20 12:18:31 +02:00
Itxaka
ed372395d2
Drop collector package and use sdk for it ( #59 )
2023-06-14 14:44:22 +02:00
Mauro Morales
ed66da8775
Don't rely on slices.Index implementation
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-06-13 17:52:45 +02:00
renovate[bot]
acff689bea
Update module github.com/kairos-io/kairos-sdk to v0.0.7 ( #52 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 20:58:48 +02:00
renovate[bot]
97a2867255
Update module github.com/sirupsen/logrus to v1.9.3 ( #46 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-07 16:17:11 +02:00
renovate[bot]
3ed4a92fdc
Update module github.com/pterm/pterm to v0.12.62 ( #45 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 16:15:29 +02:00
renovate[bot]
c6ad38cb6a
Update module github.com/onsi/gomega to v1.27.8 ( #44 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-07 16:08:08 +02:00
renovate[bot]
0d077cf64c
Update module github.com/distribution/distribution to v2.8.2+incompatible ( #35 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 16:07:32 +02:00
renovate[bot]
2320b0385f
Update golang.org/x/exp digest to 2e198f4 ( #25 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 16:04:49 +02:00
renovate[bot]
3a08b0c558
Update module github.com/itchyny/gojq to v0.12.13 ( #43 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 16:03:08 +02:00
Dimitris Karakasilis
a113147f8a
1225 config collector elemental ( #32 )
...
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
Co-authored-by: Dimitris Karakasilis <dimitris@spectrocloud.com>
2023-06-07 11:28:37 +02:00
Mauro Morales
11ffdc2ee7
Tidy
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-26 12:39:28 +02:00
Mauro Morales
e23346ae44
Extract schema validation to SDK
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-26 12:38:54 +02:00
Itxaka
e614b35fda
Bump sdk ( #30 )
2023-05-23 15:16:14 +02:00
Itxaka
d07b7dcca2
Bump sdk ( #29 )
2023-05-18 16:23:28 +02:00
Itxaka
0288fb111b
Bump sdk deps and adjust image extraction ( #24 )
2023-05-17 10:43:11 +02:00
Itxaka
ddfa30a4c6
Drop luet, image extractor, drop build code and multiarch images ( #20 )
...
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-16 16:06:49 +02:00
Itxaka
c43622b86e
Add missing patch ( #17 )
2023-05-09 14:56:12 +02:00
Itxaka
c70ae406ef
Drop kcrypt deps ( #16 )
2023-05-08 18:54:05 +02:00
Itxaka
002b8ba51f
Bring elemental-cli code into the agent ( #13 )
2023-05-05 18:43:21 +02:00
renovate[bot]
c8f53cf503
Update module github.com/Masterminds/semver/v3 to v3.2.1 ( #1327 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 11:10:59 +00:00
Itxaka
97fb443344
bug: Fix version list ( #1323 )
...
* 🐛 Fix version list
First version in the list is the latest one.
Alos moves the check for same version above the current place, so it can
check before asking if you want to update to the same version
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
* 🌱 Rework versioning for upgrade
Use the semver lib to parse the versions into a proper collection where
it can be parsed and versions compared and sorted properly
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
* 🤖 lint
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-20 09:57:58 +02:00
Mauro Morales
eb16cdc2b9
seedling: Prefix variable names with distro name in os-release ( #1263 )
...
* Use site variables to update image flavor and name
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Typo
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Prefix variable names with distro name in os-release
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Adapt tests to read os-release with prefix
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Adapt docs to show how to read os-release with prefix
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Update SDK to be aware of attr prefixes
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Adapt test with new variable names
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Temporarily print the os-release
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Check KAIROS_VERSION on tests and fallback to VERSION
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Match kubo ID and VERSION_ID
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Make kubo extension match any ID
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Test still fails, trying with surrounding quotes
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Reduce tests wait time
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Use tumbleweed for bundles tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Update docs about systemd-sysext
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* reduce wait time in reset tests
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-04-19 22:37:00 +02:00
renovate[bot]
383a33ea61
Update github.com/spectrocloud/peg digest to 2e15270 ( #1264 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 16:23:15 +02:00
renovate[bot]
33e623e858
Update module github.com/pterm/pterm to v0.12.59 ( #1305 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:47:26 +02:00
renovate[bot]
f8b7d2c449
Update module golang.org/x/oauth2 to v0.7.0 ( #1267 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:44:02 +02:00
renovate[bot]
bb2b7a7751
Update module github.com/santhosh-tekuri/jsonschema/v5 to v5.3.0 ( #1250 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:43:32 +02:00
renovate[bot]
0a3060270f
Update module github.com/swaggest/jsonschema-go to v0.3.49 ( #1279 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 19:13:12 +02:00
renovate[bot]
16c237a726
Update module golang.org/x/net to v0.9.0 ( #1266 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 22:50:40 +02:00
renovate[bot]
be2c77b965
Update module github.com/pterm/pterm to v0.12.58 ( #1247 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 10:09:20 +02:00
Mauro Morales
86bfb27b8f
arrow_up: Bump go in Earthly and workflows to ^1.20 ( #1213 )
...
* Bump go in Earthly and workflows to ^1.20
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Update go.mod version
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Lint
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Remove pin of go version to get the latest
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Remove minor version
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-30 16:42:25 +02:00
Dimitris Karakasilis
1083bcbc49
Run go mod tidy
to fix errors
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-30 14:35:31 +03:00
renovate[bot]
2a4598d21a
Update module github.com/kairos-io/kcrypt to v0.5.2 ( #1218 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 14:28:33 +03:00
Dimitris Karakasilis
8e3f028846
Change module path according to Go docs ( #1220 )
...
https://go.dev/doc/modules/major-version
This way we can bump the kairos dependency on the provider-kairos repo
which otherwise produced the error:
```
~/workspace/kairos/provider-kairos (main)*$ go get -u github.com/kairos-io/kairos@v2.0.0-alpha3
go: github.com/kairos-io/kairos@v2.0.0-alpha3: invalid version: module contains a go.mod file, so module path must match major version ("github.com/kairos-io/kairos/v2")
```
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-30 14:18:53 +03:00
renovate[bot]
c9422d0813
Update module github.com/onsi/gomega to v1.27.6 ( #1219 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 09:23:22 +02:00
Mauro Morales
a473a80cda
sparkles: Custom partitioning refactor config ( #1180 )
...
* Introduce config/collector package
to split the collection of config sources out of the config package.
Each consumer of the new package will take care of unmarshalling the
yaml to a specific Config struct, do validations etc.
* Add tests and remove garbage
* Follow all config_url chains and test it
* Add missing options file and refactor cmdline code
* Consolidate the way we merge configs no matter where they come from
* Allow and use only files with valid headers
Config is specific to Kairos while Collector is generic. This
will allow us to do validations which are just related to Kairos at the
config level, while including every type of key and querying of the full
yaml at the Collector level splitting the responsibilities of each
package.
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-29 16:25:38 +02:00
renovate[bot]
dae9f3b6ac
Update module github.com/urfave/cli/v2 to v2.25.1 ( #1195 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 09:21:34 +02:00
renovate[bot]
7850ab73ea
Update module github.com/pterm/pterm to v0.12.57 ( #1206 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 23:48:57 +00:00
renovate[bot]
c1b8125f29
Update module github.com/imdario/mergo to v0.3.15 ( #1190 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 09:30:10 +01:00
renovate[bot]
8b57a0f12f
Update module github.com/onsi/gomega to v1.27.5 ( #1185 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:08:00 +01:00
renovate[bot]
32e27ec968
Update module github.com/onsi/ginkgo/v2 to v2.9.2 ( #1184 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 22:09:43 +01:00
Itxaka
66a0145c50
Bump to newer sdk ( #1166 )
2023-03-18 10:27:18 +01:00
renovate[bot]
932c184f14
Update module github.com/imdario/mergo to v0.3.14 ( #1148 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 12:25:38 +01:00
Itxaka
504ded3eeb
sparkles: Use kairos-sdk module ( #1140 )
2023-03-15 15:45:00 +01:00
renovate[bot]
c6aedc8144
Update module github.com/itchyny/gojq to v0.12.12 ( #1085 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 08:32:26 +01:00
renovate[bot]
b6ed132afe
Update module github.com/swaggest/jsonschema-go to v0.3.48 ( #1094 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 14:03:39 +01:00
renovate[bot]
2af41f7284
Update module github.com/pterm/pterm to v0.12.55 ( #1086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 14:03:00 +01:00
renovate[bot]
179146a386
Update module github.com/urfave/cli/v2 to v2.25.0 ( #1098 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 14:01:13 +01:00
renovate[bot]
a222faf30a
Update module github.com/onsi/gomega to v1.27.4 ( #1129 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 13:59:36 +01:00
renovate[bot]
55d216a275
Update module golang.org/x/oauth2 to v0.6.0 ( #1104 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 10:41:02 +01:00
Itxaka
6eadb04331
bug: downgrade yip ( #1088 )
...
Looks like yip 1.x is not working as expected, skipping stages and
whatnot
This downgrades it to a know working 0.11.x version until those issues
are fixed
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-10 13:42:15 +01:00
Itxaka
b74d671942
bug: Bump yip ( #1082 )
...
version 1.0.0 wont run all stages in certains cases
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-10 08:27:24 +01:00
Itxaka
11d03b1d87
Bump ghw and fix state ( #1073 )
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 17:18:37 +01:00
Oz Tiram
647845060e
🔧 Use random free port for Spice display and SSH ( #832 )
...
* Refactor tests to use the "VM" construct from peg
📖 Add cloud-config.json for v1.6.0 (#977 )
:docs: Add cloud-config.json for v1.6.0
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
📖 Add documentation about schema validation (#978 )
* 📖 Add documentation for cloud config validation
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add image
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Move image to static dir
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
🐛 Backport dracut patch for ubuntu 20 iscsi (#979 )
🔧 Use random free port for Spice display and SSH
When running the install test with qemu, the second test will
fail because the 2nd machine will fail to start.
The failure is cause because the port of the previous machine is
still not freed.
Hence, let the install-test use a differnet random port if not
specified.
`GetFreePorts` copied from `kairos-io/kcrypt-challenger`.
Credits @jimmykarily.
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Update peg and use new VM interface
This enables creating mulitple VMs in parallel
as done in kairos-io/kcrypt-challenger.
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Handle possible collision of spice and SSH ports
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Migrate all tests to new PEG API
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Remove one more reference to old API.
Replace Machine.SendFile with vm.Scp
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Try and fix bundle_tests
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Temporarily disable many flavours
Signed-off-by: Oz Tiram <oz@spectrocloud.com>
Bump peg and fix code
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Remove unecessary output and fix test issues
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Make sure we install before we start checking things.
It seems that we were relying on previous tests to do the installation
because we only had one "Machine".
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Bump peg to better handle "Sudo", dedup tests
and make sure installation has happened before every check
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Wait until systemd service becomes active
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Merge multiple similar tests into one
because the big overhead comes from the BeforeEach block which is the
same in all tests. The tests themselves are just checking differnet
things on similar VMs. By merging them we same a lot of time in
preparing the same env again and again.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Fix forgotten "Machine"
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Bring all flavors back
This partly reverts commit aa029c20acd79c46122783aad030e2a5410a9374.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Merge similar tests an uncomment code
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Fix fogotten global Machine function
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Wait for systemd-sysext to do its thing
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Fix forgotten global Sudo and remove gatherLogs
which wasn't working anyway
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Fixes after rebase
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Fix `source` not present in ubuntu/debian `/bin/sh`
and add debug output to failed test
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Bump peg to fix "read only filesystem" error in tests
50b63c0bf8
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Use "." instead of "source" in vm's "/bin/sh"
because "source" is not recognised in debian based flavors
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Bump peg to fix vm.Sudo problems
and remove redundant check.
Now peg just pipes the ssh command without creating tmp scripts
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
---------
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-01 23:55:40 +01:00
Ettore Di Giacinto
81a9680a14
seedling: Detect more information about runtime ( #956 )
...
* 🌱 Detect more information about runtime
This introduces a `system` and a `kairos` block available in
kairos-agent get state.
This allows for instance to query the agent for the kairos version as
such:
`kairos-agent get state kairos.version`
Part of #755
Signed-off-by: mudler <mudler@c3os.io>
* 🤖 Fixup tests
Signed-off-by: mudler <mudler@c3os.io>
---------
Signed-off-by: mudler <mudler@c3os.io>
2023-02-26 20:18:49 +01:00
renovate[bot]
29097a8522
Update module github.com/labstack/echo/v4 to v4.10.2 ( #939 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 07:18:54 +01:00
renovate[bot]
5e53bb4eaa
Update module github.com/urfave/cli/v2 to v2.24.4 ( #904 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-21 16:52:59 +01:00
renovate[bot]
4e137b3815
Update module github.com/onsi/ginkgo/v2 to v2.8.3 ( #915 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 21:43:51 +00:00
renovate[bot]
0ee3af7a71
Update module github.com/labstack/echo/v4 to v4.10.1 ( #916 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 08:53:31 +01:00
renovate[bot]
b5a0966098
Update module github.com/onsi/gomega to v1.27.1 ( #914 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 14:31:56 +01:00
renovate[bot]
d12dbea578
Update module github.com/onsi/ginkgo/v2 to v2.8.2 ( #913 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:11:41 +01:00
renovate[bot]
5d7204b201
Update module github.com/onsi/gomega to v1.27.0 ( #905 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 08:00:24 +00:00
renovate[bot]
81e584d4fc
Update module github.com/onsi/ginkgo/v2 to v2.8.1 ( #880 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 10:55:13 +00:00
renovate[bot]
c2a96f27e9
Update module golang.org/x/net to v0.7.0 ( #889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-14 21:25:19 +01:00
renovate[bot]
369e812ff7
Update github.com/spectrocloud/peg digest to 1780cee ( #865 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:37:17 +01:00
renovate[bot]
f67a19eb68
Update module golang.org/x/oauth2 to v0.5.0 ( #852 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 21:54:24 +01:00
renovate[bot]
d97396837b
Update module golang.org/x/net to v0.6.0 ( #851 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 09:54:35 +01:00
renovate[bot]
29ff3cd188
Update module github.com/kairos-io/kcrypt to v0.5.1 ( #843 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 08:25:39 +01:00
Mauro Morales
e30f367793
seedling: Kairos config validator library ( #798 )
...
* Validate yaml
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* lint feedback
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Validate User name with JsonSchema
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* WIP users validation
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add multiple examples for ssh keys
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add example of complex validation with AnyOf
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Better business rule example with P2P
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Test with message for empty network_token
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Split into a file for each sub section
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add install schema validations
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add to main schema
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add more tests for p2p
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add install schema
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Validate fields between new and old schema
It also adds the missing ones
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Lint
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Remove temp debugging functions
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add new fields in old schema
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add documentation for all exported
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Move schemas into a directory of their own
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Add missing dot at end of comment
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
* Rebase master and add local_file to bundles
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-02-08 11:02:13 +01:00
renovate[bot]
dd871e5211
Update github.com/spectrocloud/peg digest to 5f48d83 ( #837 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 16:58:24 +01:00
renovate[bot]
94b60ad264
Update module github.com/joho/godotenv to v1.5.1 ( #820 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 02:19:26 +00:00
renovate[bot]
da147e5911
Update module github.com/mudler/yip to v1 ( #825 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 21:01:10 +00:00
renovate[bot]
f58ffcd5f0
Update module github.com/urfave/cli/v2 to v2.24.3 ( #807 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 11:23:23 +01:00
renovate[bot]
1d9ccf4f10
Update module github.com/erikgeiser/promptkit to v0.8.0 ( #652 )
...
* Update module github.com/erikgeiser/promptkit to v0.8.0
* 🎨 Adapt agent to new v0.8.0 promptkit version
Validation function for textinput now requires an error/nil instead of
a bool
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
---------
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka@spectrocloud.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-02-04 11:22:57 +01:00
renovate[bot]
6cb6b1d818
Update module github.com/joho/godotenv to v1.5.0 ( #817 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 10:14:37 +00:00
renovate[bot]
0993ea8609
Update module github.com/onsi/ginkgo/v2 to v2.8.0 ( #783 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 22:12:19 +01:00
renovate[bot]
2ffdbb4fb6
Update github.com/spectrocloud/peg digest to a5208a0 ( #735 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 16:18:12 +01:00