Commit Graph

467 Commits

Author SHA1 Message Date
renovate[bot]
04b6521c36 Update module github.com/containerd/containerd to v1.7.3 (#95)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 16:23:17 +02:00
renovate[bot]
33778e6220 Update module github.com/jaypipes/ghw to v0.12.0 (#133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:29:01 +02:00
renovate[bot]
a84a9f840c Update module github.com/kairos-io/kairos-sdk to v0.0.12 (#128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:27:09 +02:00
Mauro Morales
73da37a0f4 schedule renovate after hours (#138)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-07-05 08:23:53 +02:00
dependabot[bot]
9ae40e9209 Bump github.com/cloudflare/circl from 1.3.1 to 1.3.3 (#139)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 16:25:20 +02:00
Dimitris Karakasilis
13b06d9e35 1448 use yip (#135)
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
v0.1.2
2023-07-04 14:52:26 +02:00
Mauro Morales
62831b8ecf Sort bind mounts (#134)
* Sort bind mounts

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Add comment

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
v0.1.1 v0.1.1-rc2
2023-06-12 10:47:49 +02:00
Itxaka
0811f0f054 Increase compatibility with alpine systems (#132) v0.1.1-rc1 2023-05-30 21:51:03 +02:00
Itxaka
553a768e5b Install kairos-agent into the initramfs
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
v0.0.27 v0.1.0
2023-05-24 16:54:19 +02:00
Itxaka
bc3614a154 drop kcrypt binary from dracut v0.0.26 2023-05-19 11:07:27 +02:00
Itxaka
18c70b4ff1 Unlock after oem to read the server config (#126) v0.0.25 2023-05-09 15:45:26 +02:00
Itxaka
d59fa6789c Set logger before running the version command (#125) v0.0.24 2023-05-08 16:13:31 +02:00
renovate[bot]
77d0879ff1 Update module github.com/rs/zerolog to v1.29.1 (#112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 16:12:07 +02:00
renovate[bot]
7059764b6e Update module github.com/onsi/ginkgo/v2 to v2.9.4 (#117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 16:11:50 +02:00
renovate[bot]
1068b7b777 Update module github.com/kairos-io/kcrypt to v0.6.0 (#123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 16:11:27 +02:00
Itxaka
9399d0cf08 Move some err to warnings (#124) 2023-05-08 15:20:05 +02:00
Itxaka
14426d39b4 Upgrade kcrypt partitions on boot (#122)
Co-authored-by: Dimitris Karakasilis <jimmykarily@gmail.com>
v0.0.23
2023-05-08 09:44:43 +02:00
Itxaka
2e9e5de03e Fix missing sysroot mount in fstab (#121) v0.0.21 v0.0.22 2023-05-05 12:34:23 +02:00
Itxaka
d1d05b4ddd Bump kcrypt (#120) 2023-05-05 10:52:02 +02:00
Itxaka
d644fb0af9 Run kcrypt unlock via immucore (#118) v0.0.20 2023-05-04 18:58:26 +02:00
Itxaka
d1f4669f03 🐛 Retry getting the state label (#115) v0.0.19 2023-04-29 12:21:33 +02:00
Itxaka
06ff33cc97 ⬆️ Bump deps (#114) 2023-04-28 09:30:56 +02:00
Itxaka
f1c3aad0ee 🌱 activate LVM volumes at the start (#113) v0.0.18 2023-04-19 16:23:51 +02:00
Itxaka
6bf656cd21 Try to mount oem under livemedia (#110) v0.0.17 2023-04-12 16:19:21 +02:00
renovate[bot]
3c9586f1e7 Update module github.com/onsi/gomega to v1.27.6 (#105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:55:55 +02:00
renovate[bot]
aa02fb5995 Update module github.com/urfave/cli/v2 to v2.25.1 (#106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:55:17 +02:00
renovate[bot]
cb47a4bb76 Update actions/setup-go action to v4 (#100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 17:54:58 +02:00
Itxaka
af632832a3 🌱 Add kcrypt binary to initramfs (#108)
So we can run kcrypt as part of the stages inside the initramfs
v0.0.16
2023-03-30 20:02:52 +02:00
Itxaka
4116fa0f43 ⬆️ Bump go version to latest (#107) 2023-03-29 12:10:19 +02:00
Itxaka
2534577e09 🐛 Add missing dependency to bind mounts (#102)
As overlay mounts its responsible of mounting some of the RW paths that
bind mounts are using (for example /etc) we need to depend on it and let
it finish before running ht ebind mounts

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
v0.0.15
2023-03-21 10:58:15 +01:00
Itxaka
8d83ba755c Revert "Update module github.com/mudler/yip to v1.0.2 (#92)" (#101)
This reverts commit a76e12b88a.
v0.0.14
2023-03-16 14:12:11 +01:00
renovate[bot]
a76e12b88a Update module github.com/mudler/yip to v1.0.2 (#92)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-15 15:19:13 +01:00
Itxaka
e90eaaf38c Add workflow (#98) 2023-03-14 16:47:34 +01:00
Itxaka
5c4703dac7 Fix logger (#99)
We were sending a message in a given level instead of setting the level
of the logger

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-14 15:19:55 +01:00
renovate[bot]
b79b5d4b93 Update module github.com/onsi/gomega to v1.27.4 (#94)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 12:31:04 +01:00
Itxaka
8f7d808dec Bring UKI to a working state (#97)
- Mount the needed base mounts (/proc /dev /sys /tmp)
 - Use our own console for yip (required to add the PATH under uki)
 - Order the DAG in a proper way (was out of order and not working)

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-14 10:33:38 +01:00
Itxaka
a66799f97c Downgrade yip (#91)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
v0.0.13
2023-03-10 09:47:39 +01:00
Itxaka
217fdaa8e6 Fix for runtime being fixed
Now the proper label is under the filesystem label

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-10 00:02:14 +01:00
Itxaka
964f976b6b Bump yip to latest release
Fixes some ops not working

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 23:56:36 +01:00
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
9687ca1ac6 ❇️ Get default yip executor
We are setting the defaults anyway, so we can work with the default
executor instead

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-09 09:17:11 +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
9cada0ecd0 🐛 Separate weak steps vs normal steps (#81)
And dont set any step to weak

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-08 20:05:57 +01:00
Itxaka
41fcc3c03b 🐛 Fix chroot unmounting (#80)
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-08 19:44:45 +01:00
Itxaka
aa5939da89 Rework workflow (#77)
This makes immucore run more in parallel rather than block everything
else. We just tell sysroot.mount that eventually it will be mounted and
to wait for a bit.

This allows us to be more flexible where to run and run in parallel in
cases like cdrom in which we may do things but we need the sysroot to be
mounted already but not from us.

Also adds the initramfs stage directly in immucore and merges all the dracut config into one

    Dont create sysroot, just add a timeout override so it waits for us
    Dont block on the service, just make sure to finish before
    initrd.target
    Fix mounts from cmdline
    More proper log
    Store logs under the /run/immucore dir
    Store rootfs and initramfs logs separated
    Do not log the full stages in INFO level
    Run initramfs stage in immucore directly on boot and cd/netboot
    Drop systemd requirement from dracut module

Signed-off-by: Itxaka itxaka.garcia@spectrocloud.com
2023-03-08 11:45:11 +01:00