Commit Graph

250 Commits

Author SHA1 Message Date
Itxaka
44c2a5be26 Update kairos sdk to latest master (#89)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 19:45:24 +01:00
Itxaka
a9dd91389b replace elemental-cli to our fork (#88)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 17:25:57 +01:00
Itxaka
b2f3615534 🐛 Add custom layout plugin (#87)
The default plugin does not support gpt

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 17:19:15 +01:00
Itxaka
88a2ca8a9b Conditional for loading oem (#85) 2023-03-09 12:57:10 +01:00
Itxaka
8832ec6981 Run yip directly for stages (#82) 2023-03-09 08:58:07 +01:00
renovate[bot]
87b4d756cb Update module github.com/onsi/ginkgo/v2 to v2.9.0 (#62)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 00:37:16 +01:00
renovate[bot]
affacd9f42 Update module github.com/urfave/cli/v2 to v2.25.0 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 00:36:50 +01:00
Itxaka
fecfbf8e92 Add tests and fix some issues that arised from testing (#74)
* Add tests and fix some issues that arised from testing

Mainly around the cmdargs and how many items it returns.
Also drop the iso target and jobs as its not necessary now

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-03-02 16:46:25 +01:00
Itxaka
086227d672 Uki Support (#67)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-01 11:42:46 +01:00
renovate[bot]
de9ed759eb Update module github.com/containerd/containerd to v1.6.19 (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 09:54:13 +01:00
renovate[bot]
c815d845bf Update module github.com/onsi/gomega to v1.27.2 (#64)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 09:53:35 +01:00
Itxaka
3a52112b91 Revert "Uki support" (#66
This reverts commit 985b8c9401.
2023-02-28 19:46:15 +01:00
Itxaka
985b8c9401 Uki support (#61) 2023-02-28 14:37:02 +01:00
renovate[bot]
931fb0b0ff Update module github.com/spectrocloud-labs/herd to v0.4.2 (#60)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 10:59:53 +01:00
renovate[bot]
97752aaa53 Update module github.com/onsi/gomega to v1.27.1 (#58)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-02-20 09:31:31 +01:00
renovate[bot]
a1bf6e8b6f Update module github.com/onsi/ginkgo/v2 to v2.8.3 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 09:30:50 +01:00
Itxaka
c081f987f8 Fix recovery (#54)
* Fix recovery

 - change TargetLabel into TargetDevice to hav ethe full device instead
   of just the label
 - log error if we cant mount
 - Get state partition to mount depending on recovery or active/passive
 - Get state patition fs on the fly
 - Set proper label device to mount on sysroot based on our boot state

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* Fix test

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-02-17 11:53:26 +01:00
renovate[bot]
794d658f5e Update module github.com/onsi/gomega to v1.27.0 (#52)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 09:28:15 +01:00
renovate[bot]
da250ecbaf Update module github.com/onsi/ginkgo/v2 to v2.8.1 (#37)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 18:45:04 +01:00
renovate[bot]
e9e4d2d674 Update module github.com/containerd/containerd to v1.6.18 [SECURITY] (#44)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-02-16 17:38:57 +00:00
renovate[bot]
a452b8aa86 Update module github.com/urfave/cli/v2 to v2.24.4 (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 17:36:00 +00:00
Itxaka
ad014e9f22 Full rework (#41)
* Full rework

 - Extract steps to a different file
 - Simplify dag for easy understanding
 - Load dag based on our boot process
 - Simplify steps to not depend on useless stuff
 - Better logging

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* Move sentinel file to the dag

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* Adapt tests

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-02-15 22:30:08 +01:00
renovate[bot]
2dca980891 fix(deps): update module github.com/containerd/containerd to v1.6.17 (#35)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 09:00:15 +01:00
Itxaka
c40e1f97f1 Add build iso job
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-09 15:33:41 +01:00
renovate[bot]
b0d222ad45 fix(deps): update module github.com/spectrocloud-labs/herd to v0.4.0 2023-02-09 11:32:50 +00:00
Itxaka
f98954367f several improvements
- drop vfs
 - less hardcoded stuff, use the runtime status
 - Remove things that syscalls dont understand (defaults, auto)

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 16:20:18 +01:00
mudler
13e11fca24 Use SDK to get machine state 2023-02-06 14:49:35 +01:00
Itxaka
4ade174057 dont do anything if booting from CD
We leave dracut to do its own thing and mount the CD properly

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 11:31:46 +01:00
Ettore Di Giacinto
0580895067 Merge pull request #14 from kairos-io/renovate/github.com-joho-godotenv-1.x
Update module github.com/joho/godotenv to v1.5.1
2023-02-06 10:50:27 +01:00
renovate[bot]
95873a3b51 Update module github.com/urfave/cli/v2 to v2.24.3 2023-02-06 09:20:15 +00:00
Itxaka
73b3f56af5 move to cli v2
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-06 09:43:54 +01:00
renovate[bot]
27d7958b32 Update module github.com/joho/godotenv to v1.5.1 2023-02-06 01:24:21 +00:00
Ettore Di Giacinto
6b50384606 Merge pull request #8 from kairos-io/renovate/github.com-onsi-ginkgo-v2-2.x
Update module github.com/onsi/ginkgo/v2 to v2.8.0
2023-02-04 18:51:09 +01:00
Ettore Di Giacinto
ae1d5792ca Merge pull request #9 from kairos-io/renovate/github.com-urfave-cli-2.x
Update module github.com/urfave/cli to v2
2023-02-04 18:51:00 +01:00
renovate[bot]
dad7f54563 Update module github.com/urfave/cli to v2 2023-02-04 13:35:51 +00:00
renovate[bot]
db5970912c Update module github.com/onsi/ginkgo/v2 to v2.8.0 2023-02-04 13:35:30 +00:00
Ettore Di Giacinto
45e2622cd1 Merge pull request #10 from kairos-io/renovate/github.com-joho-godotenv-1.x
Update module github.com/joho/godotenv to v1.5.0
2023-02-04 14:33:16 +01:00
Ettore Di Giacinto
5b2a94a2df Merge pull request #7 from kairos-io/renovate/github.com-moby-sys-mountinfo-0.x
Update module github.com/moby/sys/mountinfo to v0.6.2
2023-02-04 14:33:00 +01:00
Ettore Di Giacinto
dc5342ab6a Merge pull request #4 from kairos-io/renovate/github.com-urfave-cli-1.x
Update module github.com/urfave/cli to v1.22.12
2023-02-04 14:32:48 +01:00
renovate[bot]
473a582e1d Update module github.com/moby/sys/mountinfo to v0.6.2 2023-02-04 11:44:51 +00:00
renovate[bot]
7e467d98b9 Update module github.com/joho/godotenv to v1.5.0 2023-02-04 11:44:03 +00:00
renovate[bot]
77c0bcf185 Update module github.com/urfave/cli to v1.22.12 2023-02-03 17:02:04 +00:00
renovate[bot]
8be7c5c47e Update module github.com/containerd/containerd to v1.6.16 2023-02-03 17:01:16 +00:00
Itxaka
2a4153e48b Small improvements to earth files
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
2023-02-03 17:57:56 +01:00
mudler
d6cbf70ae1 Add remaining hooks 2023-02-03 15:56:15 +01:00
mudler
d767523565 Add simple test suite 2023-02-02 15:12:33 +01:00
mudler
74fbe7bae2 reorder deps 2023-02-02 14:00:44 +01:00
mudler
2e31f4cff4 Refactor, add dependant ops 2023-02-01 22:33:44 +01:00
mudler
de01370653 Reorg flow 2023-02-01 18:01:58 +01:00
mudler
2b6de44b9d Initial import 2023-01-12 19:10:10 +01:00