Itxaka
9c5731baa2
Rename go module kairos-agent ( #81 )
2023-07-10 14:39:48 +02:00
Mauro Morales
e23346ae44
Extract schema validation to SDK
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-26 12:38:54 +02:00
Mauro Morales
7534cab2c3
bug: Add yaml extension to temp file created by webui ( #1260 )
...
Add yaml extension to temp file created by webui
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-06 15:01:41 +02:00
Mauro Morales
961804be0a
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
e7807dd66c
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
Mauro Morales
0cf3da5e06
sparkles: Web UI schema validations ( #934 )
...
* Allow validator to receive a config-schema
It will try to process a URL first, otherwise a file and if the file
is not present it will try to read the source as a cloud-config
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Validate cloud-config on WebUI
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-02-22 08:54:45 +01:00
Ettore Di Giacinto
667fd76d9d
seedling: Webui enhancements ( #620 )
...
* 🌱 Make sure webui starts on alpine
Also drop to shell when there are no providers
Signed-off-by: mudler <mudler@c3os.io >
* 🌱 Suppress verbose logging on tty
Signed-off-by: mudler <mudler@c3os.io >
* 🌱 Print WebUI address
Signed-off-by: mudler <mudler@c3os.io >
* 🎨 Update banner
Signed-off-by: mudler <mudler@c3os.io >
* 🌱 Refactor, display also interfaces
Signed-off-by: mudler <mudler@c3os.io >
* 🌱 Address feedback from review
Signed-off-by: mudler <mudler@c3os.io >
Signed-off-by: mudler <mudler@c3os.io >
2023-01-08 21:49:23 +01:00
Ettore Di Giacinto
d59892c5c5
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