Commit Graph

285 Commits

Author SHA1 Message Date
renovate[bot]
020d4e5852 Update module github.com/urfave/cli/v2 to v2.24.2 (#767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 16:15:30 +01:00
renovate[bot]
06efd640fd Update module github.com/onsi/ginkgo/v2 to v2.7.1 (#761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-28 12:06:45 +01:00
renovate[bot]
ff7bfc4c0c Update github.com/mudler/go-pluggable digest to 7710299 (#744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 20:52:50 +01:00
Oz Tiram
70a1ccb07c Add machine display (#726)
* 🔧 Enable spice in scripts/start_vm_qemu.sh

Signed-off-by: Oz Tiram <oz@spectrocloud.com>

* 🔧 add option specify display for qemu

This works only with https://github.com/spectrocloud/peg/pull/2
merged.

Signed-off-by: Oz Tiram <oz@spectrocloud.com>

* 🔧 add option to enable KVM

ISO=/home/oznt/Software/spectro-cloud/kairos/build/kairos-core-opensuse.iso \
   CREATE_VM=true USE_QEMU=true \
   MACHINE_DISPLAY="-vga qxl -spice port=5903,addr=127.0.0.1,disable-ticketing=yes" \
   KVM=true ginkgo run -v tests

Signed-off-by: Oz Tiram <oz@spectrocloud.com>

* Fix failing tests - qemu does not have /dev/sda

Signed-off-by: Oz Tiram <oz@spectrocloud.com>

* Update peg dependency

Signed-off-by: Oz Tiram <oz@spectrocloud.com>

Signed-off-by: Oz Tiram <oz@spectrocloud.com>
2023-01-27 09:01:16 +01:00
renovate[bot]
73fa1a4cd9 Update github.com/spectrocloud/peg digest to cdce224 (#725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 21:26:34 +01:00
renovate[bot]
48b635200e Update github.com/spectrocloud/peg digest to 14235c0 (#719)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 00:42:40 +01:00
Mauro Morales
1c07bb7a4b arrow_up: Upgrade urfave/cli to v2 (#713)
Upgrade urfave/cli to v2

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

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-01-25 00:39:51 +01:00
renovate[bot]
ca68d3a578 Update module github.com/urfave/cli to v1.22.12 (#702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 11:05:43 +00:00
renovate[bot]
770a9d051c Update module github.com/onsi/gomega to v1.26.0 (#709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 08:38:40 +01:00
renovate[bot]
546d9ebb0a Update module github.com/pterm/pterm to v0.12.54 (#701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 00:24:23 +01:00
renovate[bot]
d14784fd50 Update module github.com/kairos-io/kcrypt to v0.5.0 (#678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 12:02:39 +01:00
Dimitris Karakasilis
e5e98fdba6 Use new kcrypt/config package (#669)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-01-18 15:14:57 +02:00
renovate[bot]
23d8e343eb Update module github.com/onsi/gomega to v1.25.0 (#664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 11:38:22 +01:00
renovate[bot]
c30d46469d Update module github.com/labstack/echo/v4 to v4.10.0 (#609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 11:33:23 +01:00
renovate[bot]
9b4de66663 Update module github.com/onsi/ginkgo/v2 to v2.7.0 (#623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 11:32:57 +01:00
renovate[bot]
42d5c491ed Update module github.com/urfave/cli to v1.22.11 (#655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 11:32:04 +01:00
Dimitris Karakasilis
493dd1f166 Merge pull request #665 from kairos-io/399_deeply_merge_configs
Deeply merge yamls in original data
2023-01-18 11:16:05 +02:00
renovate[bot]
a9377d1adc Update module golang.org/x/oauth2 to v0.4.0 (#607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 15:09:58 +01:00
Mauro Morales
200dc6ea9d arrow_up: update github.com/mudler deps (#617)
* :arrow-up: Update deps from github.com/mudler

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

* tidy

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

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-01-06 15:09:30 +01:00
renovate[bot]
cde0256267 Update module github.com/pterm/pterm to v0.12.53 (#613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 10:17:41 +01:00
Ettore Di Giacinto
d30a0eeac2 seedling: Webui installer (#587)
* 🌱 Add webui

Signed-off-by: mudler <mudler@c3os.io>

* 🌱 Re-read config files after loading bundles

Signed-off-by: mudler <mudler@c3os.io>

* [check-spelling] Update metadata

Update for https://github.com/kairos-io/kairos/actions/runs/3806058276/attempts/1
Accepted in https://github.com/kairos-io/kairos/pull/587#issuecomment-1367859480

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Signed-off-by: mudler <mudler@c3os.io>

* 🎨 Beautify index page

Signed-off-by: mudler <mudler@c3os.io>

* Do not rerun if we were successful or we are already running

Signed-off-by: mudler <mudler@c3os.io>

* Add syntax highlight

Signed-off-by: mudler <mudler@c3os.io>

* Add error message

Signed-off-by: mudler <mudler@c3os.io>

* Add YAML validation and highlight

Signed-off-by: mudler <mudler@c3os.io>

* Fixup terminal output

Signed-off-by: mudler <mudler@c3os.io>

* Fix newlines

Signed-off-by: mudler <mudler@c3os.io>

* fixups

Signed-off-by: mudler <mudler@c3os.io>

* 🎨 Fixup lint issues

Signed-off-by: mudler <mudler@c3os.io>

* Mark dependencies

Signed-off-by: mudler <mudler@c3os.io>

* Let configure the listening address

Signed-off-by: mudler <mudler@c3os.io>

Signed-off-by: mudler <mudler@c3os.io>
Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
2023-01-05 14:15:05 +01:00
renovate[bot]
5fd91619da Update module github.com/pterm/pterm to v0.12.51 (#586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 08:35:05 +01:00
renovate[bot]
6e8a841536 Update module github.com/itchyny/gojq to v0.12.11 (#585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 08:34:42 +01:00
renovate[bot]
d26b498845 Update module github.com/google/go-github/v40 to v48 (#571)
* Update module github.com/google/go-github/v40 to v48

* [check-spelling] Update metadata

Update for https://github.com/kairos-io/kairos/actions/runs/3767678767/attempts/1
Accepted in https://github.com/kairos-io/kairos/pull/571#issuecomment-1364324766

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>

Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-12-24 08:34:12 +01:00
renovate[bot]
7ec7f17eb2 Update module github.com/twpayne/go-vfs to v4 (#572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 08:32:59 +01:00
renovate[bot]
366fe13893 Update module github.com/onsi/gomega to v1.24.2 (#560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 11:24:56 +01:00
renovate[bot]
a11a94f79d Update module golang.org/x/oauth2 to v0.3.0 (#541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 09:57:08 +01:00
renovate[bot]
d94a027f05 Update module github.com/mudler/yip to v0.11.4 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 09:56:36 +01:00
renovate[bot]
fa8a6f250a Update module github.com/itchyny/gojq to v0.12.10 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-03 15:20:32 +01:00
renovate[bot]
81a2b2d510 Update module github.com/onsi/ginkgo/v2 to v2.5.1 (#462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 08:03:37 +01:00
renovate[bot]
1c88996de2 Update module github.com/kairos-io/kcrypt to v0.4.4 (#480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 08:03:15 +01:00
renovate[bot]
46af5cb2bf Update module github.com/pterm/pterm to v0.12.50 (#474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 21:22:33 +01:00
Dimitris Karakasilis
7be0f5bbf7 Persist partition label/uuid mapping whenever we encrypt a partition (#408)
Fixes: https://github.com/kairos-io/kairos/issues/380

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2022-11-16 13:35:59 +02:00
renovate[bot]
a10fdad492 Update module golang.org/x/oauth2 to v0.2.0 (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 19:20:50 +01:00
renovate[bot]
2275634352 Update module github.com/otiai10/copy to v1.9.0 (#403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 01:35:55 +00:00
renovate[bot]
b194927dbe Update module github.com/onsi/gomega to v1.24.1 (#404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 19:05:09 +01:00
renovate[bot]
36071e98e0 Update module github.com/onsi/ginkgo/v2 to v2.5.0 (#396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-08 07:05:33 +01:00
renovate[bot]
168b68925f Update module github.com/onsi/gomega to v1.24.0 (#360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 23:54:09 +00:00
Luther Monson
2a9cee4444 seedling: Add Better Windows Desktop Support to Kairos (#338)
adding better windows desktop support for the project

Signed-off-by: Luther Monson <luther.monson@gmail.com>

Signed-off-by: Luther Monson <luther.monson@gmail.com>
2022-10-30 17:17:59 -07:00
renovate[bot]
33cb9a96f3 Update module golang.org/x/oauth2 to v0.1.0 (#319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-30 22:22:42 +01:00
Ettore Di Giacinto
230206fe2b robot: Correctly install ginkgo for test runs 2022-10-29 12:17:56 +00:00
renovate[bot]
3ce3a3cc45 Update module github.com/onsi/gomega to v1.23.0 (#317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 10:40:32 +02:00
renovate[bot]
9390ba16cc Update module github.com/onsi/ginkgo/v2 to v2.4.0 (#316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 10:33:28 +02:00
renovate[bot]
888db3aba9 Update module github.com/urfave/cli to v1.22.10 (#312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 10:33:09 +02:00
renovate[bot]
65f7dc1ef8 Update module github.com/pterm/pterm to v0.12.49 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 08:12:14 +02:00
renovate[bot]
e3f31121fe Update module github.com/mudler/yip to v0.11.3 (#315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 08:11:52 +02:00
renovate[bot]
c6591060cd Update module github.com/itchyny/gojq to v0.12.9 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 01:29:27 +00:00
Ettore Di Giacinto
6b9d7aaac5 sparkles: Minor enhancements (#239)
* 🐛 Fixup grub option quoting

* ⚙️ Copy discovery to oem if found

*  Add environment block to install

* ⚙️ Use /oem for mount in kcrypt post-hook

* 📝 Update docs with installer env reference

* 🤖 Add test deps

* ⚙️ Be consistent and set env also for post-hooks

* ⚙️ propagate env in post-hooks
2022-10-18 07:45:07 +02:00
Ettore Di Giacinto
576483275a robot: Install ginkgo pinned from go.mod (#208) 2022-10-12 07:46:01 +02:00
Ettore Di Giacinto
7a95c8e7d0 penguin: Make fedora/rockylinux to boot (#181)
* 🐧 Add fedora and rockylinux

* 🐧 Add tools to fedora/rh images

* 🤖 Add tests to circleci

* 🤖 Configure the CPU required for running rhel on vms

* Enable ttys

* 🤖 Disable tests on fedora/rockylinux

QEMU TCG doesn't support AVX:
https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#recommendations_for_rhel_9

* 🤖 Don't release rockylinux/fedora
2022-10-05 21:45:09 +02:00
Ettore Di Giacinto
2d2ebad351 Move some CI tests to CircleCI (#178)
* 🤖 Run datasource tests on CircleCI

* 🤖 Run bundles tests on CircleCI

* 🤖 Fixups

* 🤖 Run cli tests to CircleCI

* 🤖 Extend wait time

* 🤖 Fail when VM is aborted

* 🤖 Enlart waiting time window

* 🤖 Do not set VM specs

* 🤖 Shift just some of the tests
2022-10-04 21:44:27 +02:00
Ettore Di Giacinto
a6375cb68c robot: Cleanup and refactor tests (#157) 2022-09-28 23:52:30 +02:00
mudler
a449e4e9bc art: Expose interactive install to providers
In this way install can be driven from providers too

Part of: https://github.com/c3os-io/c3os/issues/68
2022-08-12 12:21:12 +02:00
Ettore Di Giacinto
5eb76ed97f Merge pull request #55 from c3os-io/feature/cluster-provider
Abstract Cluster Provisioning with Cluster Plugins
2022-08-09 08:01:54 +02:00
Ettore Di Giacinto
e53b21554d bug: Fixup to release bin imports 2022-07-23 09:34:54 +00:00
Ettore Di Giacinto
26bedf5b7f arrow_up: Update go mod 2022-07-20 22:31:59 +00:00
Ettore Di Giacinto
91adcfce34 arrow_up: bump go-pluggable 2022-07-16 15:24:10 +00:00
Ettore Di Giacinto
ff8419cf80 gear: Extract netboot artifacts
This changeset also adds a `config_url` and `options` keyword in the c3os config.
Along with that the config logic is changed so the configuration is taken also from boot commands and merged in the final installed config file.
2022-07-07 16:57:38 +00:00
Ettore Di Giacinto
dc23e51e4c gear: Workaround gosigar build on darwin 2022-07-06 21:13:19 +00:00
Ettore Di Giacinto
f1fd1de743 Split off cli into separate binaries (#37)
* 🎨 Split off cli into separate binaries

This commit splits off the cli into 3 binaries:
- agent
- cli
- provider

The provider now is a separate component that can be tested by itself
and have its own lifecycle. This paves the way to a ligher c3os variant,
HA support and other features that can be provided on runtime.

This is working, but still there are low hanging fruit to care about.

Fixes #14

* 🤖 Add provider bin to releases

* ⚙️ Handle signals

* ⚙️ Reduce buildsize footprint

* 🎨 Scan for providers also in /system/providers

* 🤖 Run goreleaser

* 🎨 Refactoring
2022-07-04 22:39:34 +02:00
mudler
faf9ddfaf9 gear: Display available disks before prompt in interactive-install 2022-05-14 21:56:48 +02:00
mudler
a899f309a7 gear: Add interactive installer 2022-05-12 00:47:22 +02:00
Ettore Di Giacinto
3d7674e5dd Fixups (#26)
* 🤖 Fixup master ARM builds

* ⚙️ Override openrc envs by writing to /etc/rancher

* 🤖 Enable alpine tests

* ⬆️ Bump edgevpn

* ⚙️ Fixup ntpd start on alpine #20

* 🤖 Reword tests

* 🤖 Run alpine tests in parallel

* ⚙️ Upgrades are broken on alpine, skip tests

* 📒 Add datasource ISO docs

* ⚙️ Properly set k3s env file in openRC

* ⚙️ Add udev-trigger

See: https://github.com/rancher-sandbox/elemental/issues/198

* 🤖 Run upgrade tests on alpine

* ⚙️ Add svcs to Alpine ARM images

* 🤖 Test fixups

* ⚙️ Re-enable boot-assessment on ARM

* ⚙️ Add default bashrc local

* ⚙️ Fixup tmp layout on alpine
2022-05-11 22:45:40 +02:00
mudler
8fc758003f arrow_up: Update go mod 2022-05-09 00:02:33 +02:00
mudler
022f7684df arrow_up: Bump go mod 2022-05-07 23:26:56 +02:00
mudler
e7d5a8817b arrow_up: Bump go mod 2022-05-07 22:15:24 +02:00
mudler
c1b9e0f418 gear: Allow to set loglevel when registering 2022-05-07 22:13:26 +02:00
mudler
abb610b1ce gear: Update go-version 2022-05-07 00:24:37 +02:00
mudler
34b6efbad0 gear: go mod tidy 2022-05-07 00:24:09 +02:00
mudler
f63b76d913 gear: Update go mod 2022-05-07 00:23:48 +02:00
mudler
44f97936ea gear: Setup DNS with cloud init 2022-05-06 21:53:27 +02:00
Ettore Di Giacinto
9b50d32a43 arrow_up: Bump edgevpn 2022-05-06 17:58:18 +02:00
mudler
d39d25d7a0 robot: Keep only one minor version when tagging 2022-04-26 22:58:40 +02:00
mudler
c9c68f3b1a gear: Fixup bind ip 2022-04-24 21:45:58 +02:00
Ettore Di Giacinto
0b1655b1de gear: Spawn custom ssh server during recovery 2022-04-24 17:36:00 +02:00
Ettore Di Giacinto
c86cd84930 arrow_up: Bump internal version and update vpn 2022-03-18 19:13:23 +01:00
Ettore Di Giacinto
a5ed8ad336 arrow_up: Bump cOS and edgevpn 2022-03-17 20:57:54 +01:00
Ettore Di Giacinto
35c21f8da2 gear: Add bridge command to cli 2022-02-23 19:24:34 +01:00
Ettore Di Giacinto
52b00de524 arrow_up: Update go mod 2022-02-22 21:16:11 +01:00
Ettore Di Giacinto
bde6d4666f robot: Simplify tests 2022-02-19 00:01:42 +01:00
Ettore Di Giacinto
3318796d6c gear: Add wrappers to rotate token and upgrade 2022-02-18 18:30:20 +01:00
Ettore Di Giacinto
cd98683f55 arrow_up: Updates, small fixups 2022-02-09 22:51:34 +01:00
Ettore Di Giacinto
94a0863c1a gear: Add automatic setup via mesh configuration
Also enhance output and instructions on first boot
2022-02-07 19:11:26 +01:00
Ettore Di Giacinto
8387a8e6a0 Update deps 2022-02-04 23:20:25 +01:00
Ettore Di Giacinto
0826f5c64d Add automated install via pairing 2022-02-02 00:02:30 +01:00