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
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