Commit Graph

199 Commits

Author SHA1 Message Date
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
Dimitris Karakasilis
fddbf3f657
Check root permissions in commands that need it
Otherwise the error shown is not helpful (it fails too late with
confusing errors).

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-09-14 16:06:38 +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
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
9dd1dbddbe
Fix getting lvm recovery (#70) 2023-06-23 14:49:38 +02:00
Itxaka
f051fab7bc
Bump yip (#67) 2023-06-21 12:12:23 +02:00
Dimitris Karakasilis
f225315a5a
Use lsblk to detect partitions
like we did here:

https://github.com/kairos-io/kairos-sdk/pull/28/files

because ghw doesn't play well with lvm

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-06-21 10:52:08 +03: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
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
Itxaka
e614b35fda
Bump sdk (#30) 2023-05-23 15:16:14 +02:00