Mauro Morales
5fe8eb8cc2
Merge pull request #34 from kairos-io/extract-schema-validation-to-sdk
...
✨ Extract schema validation to SDK
2023-05-26 13:08:07 +02:00
Mauro Morales
11ffdc2ee7
Tidy
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-26 12:39:28 +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
Itxaka
8e456ec8b6
Run the user in initramfs if we dont need network ( #33 )
2023-05-26 09:48:11 +02:00
Itxaka
3c484d9885
Add debug flag in root cmd ( #31 )
v2.1.0-rc4
2023-05-24 10:39:17 +02:00
Itxaka
e614b35fda
Bump sdk ( #30 )
v2.1.0-rc3
2023-05-23 15:16:14 +02:00
Itxaka
d07b7dcca2
Bump sdk ( #29 )
v2.1.0-rc2
2023-05-18 16:23:28 +02:00
Itxaka
f3d5965041
✨ Allow adding extra cloud-init paths to run-stage ( #27 )
2023-05-18 16:23:18 +02:00
Itxaka
8680b0ae93
Add root path flag to install-bundle ( #28 )
2023-05-18 12:10:09 +02:00
Itxaka
0288fb111b
Bump sdk deps and adjust image extraction ( #24 )
v2.1.0-rc1
2023-05-17 10:43:11 +02:00
Mauro Morales
eb33870a54
Merge pull request #21 from kairos-io/use-kairos-docs-repo
...
Use kairos-docs repo to generate docs
2023-05-17 09:54:16 +02:00
Mauro Morales
2b13623656
adapt destination path
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-17 09:48:37 +02:00
Mauro Morales
7198dd5826
Fix path of artifact
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-17 09:08:15 +02:00
Itxaka
1afe3c2dbd
✨ Run stages directly from code instead of shelling out ( #23 )
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-05-16 18:06:49 +02:00
Itxaka
7f703ae588
🤖 Use cypress container for webui tests ( #22 )
2023-05-16 16:30:04 +02:00
Itxaka
ddfa30a4c6
Drop luet, image extractor, drop build code and multiarch images ( #20 )
...
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-16 16:06:49 +02:00
Mauro Morales
1ad2ba7332
Use kairos-docs repo to generate docs
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-05-15 14:03:21 +02:00
Itxaka
0b7fd24bc7
Allow overriding the schema version number ( #19 )
v2.0.1
2023-05-11 13:30:17 +02:00
Itxaka
cda46877ba
Mount OEM during kcrypt hook ( #18 )
v2.0.0
v2.0.0-rc4
2023-05-09 21:57:16 +02:00
Itxaka
c43622b86e
Add missing patch ( #17 )
2023-05-09 14:56:12 +02:00
Itxaka
c70ae406ef
Drop kcrypt deps ( #16 )
2023-05-08 18:54:05 +02:00
Itxaka
c449a1ae43
🐛 Using the wrong method to generate the upgrade spec ( #15 )
v2.0.0-rc3
2023-05-08 15:00:56 +02:00
Itxaka
10df8d98cb
Drop kcrypt mappings ( #14 )
v2.0.0-rc2
2023-05-08 09:43:47 +02:00
Itxaka
002b8ba51f
Bring elemental-cli code into the agent ( #13 )
v2.0.0-rc1
2023-05-05 18:43:21 +02:00
Itxaka
dd1eb5c5d9
🤖 Fix goreleaser
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
v1.0.1
2023-04-25 11:27:46 +02:00
Itxaka
41e89b7ea0
Merge pull request #1 from kairos-io/renovate/configure
v1.0.0
2023-04-24 16:20:31 +02:00
Itxaka
e3c52e59fb
🤖 Add missing cypress test script
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 16:01:14 +02:00
Itxaka
3f4388e6df
🤖 Drop wrong test
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 15:44:14 +02:00
Itxaka
2e99409203
🤖 Build binary before testing
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 15:36:58 +02:00
Itxaka
9247608204
🤖 Use main branch for workflows
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 15:34:41 +02:00
Itxaka
5d10bc490b
🤖 Add workflows
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 15:33:51 +02:00
renovate[bot]
bb32ecd292
Add renovate.json
2023-04-24 10:10:04 +00:00
Itxaka
8de8349a36
First pass at standalone kairos-agent
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-24 12:08:37 +02:00
Mauro Morales
8ab177d3a5
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]
5ffefac855
Update quay.io/kairos/osbuilder-tools Docker tag to v0.6.1 ( #1318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 23:43:04 +02:00
Itxaka
7abcd26431
robot: Add cypress tests for web UI ( #1269 )
2023-04-18 18:09:48 +02:00
Itxaka
ef1b632b40
robot: Release arm generic artifacts on release ( #1315 )
...
* 🤖 Release arm generic artifacts on release
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* Update release-arm.yaml
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-04-18 13:55:59 +02:00
renovate[bot]
8a97b00af3
Update aquasec/trivy Docker tag to v0.40.0 ( #1307 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 11:43:04 +02:00
Itxaka
d08fda2f21
bug: Fix rpi initrd not being linked ( #1309 )
2023-04-17 13:11:15 +02:00
Itxaka
3aa5ec4899
seedling: Generic arm64 isos ( #1291 )
...
🌱 Generate arm64 generic isos
- Use latest osbuilder tools image as it contains fixes for arm64 isos
- Add a small job to build an iso as part of the image arm workflow
- Rework /boot/vmlinuz linking so it works on x86 and arm64
This also adds an iso-remote target for earthfile that allows to build
an iso from a remote rootfs in the shape of a docker artifact. This
allows for easy reproduce of isos based on existing artifacts instead of
having to rebuild the whole thing. You point to the artifact and it
spits an iso really fast. Also works with arm64 artifacts so we can
easily build a local arm64 iso for testing for pushed artifacts.
This PR makes it so generation of isos for arm64 works.
Signed-off-by: Itxaka <itxakaserrano@gmail.com >
2023-04-15 17:06:22 +02:00
renovate[bot]
9aa783f633
Update quay.io/kairos/osbuilder-tools Docker tag to v0.6.0 ( #1293 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-14 10:07:42 +02:00
Mauro Morales
70ec86597d
Pass VERSION flag including v2 in path ( #1290 )
...
* Pass VERSION flag including v2 in path
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Pass VERSION flag including v2 in path for goreleaser
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-13 19:44:19 +02:00
renovate[bot]
2f8948edda
Update aquasec/trivy Docker tag to v0.39.1 ( #1268 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 08:49:09 +02:00
Mauro Morales
8f50f798e2
robot: Add version to goreleaser ( #1252 )
...
* Add version to goreleaser
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* do not remove github token
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* include version in dist target
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
* Add missing flag to pass the version
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
---------
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-04-05 12:24:19 +02:00
renovate[bot]
0b5c162f2a
Update aquasec/trivy Docker tag to v0.39.0 ( #1236 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 11:08:35 +02:00
Mauro Morales
e5dae4e9c4
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
Mauro Morales
77697af24f
bug: Pass version to build of kairos agent ( #1205 )
...
Pass version to build of kairos agent
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-28 20:09:57 +02:00
Itxaka
09c6ed1538
bug: Fix validator on long strings ( #1194 )
...
* 🐛 Fix validator on long strings
Validator was mistakenly identifying a long yaml as a file and trying to
open it, which failed with an error of filename too long.
This was not catched in order to identify that the source is not a file
but a yaml, so it was directly returning the error.
This patch adds that error to the list in order ot identify the source
to validate as yaml. Also adds a couple of tests for this functionality.
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* 🐛 Merge initramfs generation between distros
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-03-28 18:20:56 +02:00
Itxaka
90ddda716e
robot: Move repo bump to earthly ( #1183 )
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-03-23 15:28:56 +01:00
Itxaka
1fc9a53e19
robot: Improve golang CI runs ( #1165 )
2023-03-17 16:45:43 +01:00