Dimitris Karakasilis
fe5d338ed5
Use renovate to bump the base image for the iso
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2024-01-25 15:15:40 +02:00
Dimitris Karakasilis
7d84c01663
Fix tests
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2024-01-23 17:25:46 +02:00
Dimitris Karakasilis
ecbbe1499e
Add more logs and refactor the server handers
...
- Flatten if/else logic by handling errors and returning early
- Use different logger for server logs. Also handle skipped errors.
- Remove unecessary for loop
- --zap-log-level can already be used (and it works)
- Remove non-existent enki flag
- Run tests with KVM enabled on self-hosted runners
and also don't add grub.cfg since it's already there in the base image
- Remove non-used earthly target
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-10-27 09:17:48 +03:00
Itxaka
0b68d90081
Bump ghw and fix label ( #17 )
...
* Bump ghw and fix label
old label was the new FilesystemLabel. Now the label refers to the
partition label which is different
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* bump deps
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* Rework ginkgo
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* docker login
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* [Will drop]Allow building kcrypt from branches
Otherwise any changes that need both wont pass tests.
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* Dont build the iso 5 times
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* This confirms Im dumb and dont know how to program
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* debug logs
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* debug
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* 🤖 run in github CI
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* Debug
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* debug
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
* Add /tmp/oem to scan dirs for config
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com >
2023-05-10 00:24:58 +02:00
Mauro Morales
e0ae7a12a4
Remove golint cuz it has some issues with cgo
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-30 09:21:09 +02:00
Mauro Morales
c2c50877da
Remove patch number from defined go version
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-30 09:19:58 +02:00
Mauro Morales
145dd400b1
Add lint workflow
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-29 15:33:27 +02:00
Mauro Morales
95dbb0d0be
Add yamllint
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-29 14:33:29 +02:00
Mauro Morales
0e56e52cbf
Bump go to 1.20
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2023-03-29 14:28:45 +02:00
Dimitris Karakasilis
b0a7aa5fdf
Revert "Try to fix the MTU problem in a hackish way (tmp)"
...
This reverts commit 40875bbae1
.
2023-02-16 11:14:30 +02:00
Dimitris Karakasilis
40875bbae1
Try to fix the MTU problem in a hackish way (tmp)
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-16 10:36:45 +02:00
Dimitris Karakasilis
7166b14c7e
Revert "Bump earthly"
...
This reverts commit 9eb5d9b086
.
2023-02-16 09:57:25 +02:00
Dimitris Karakasilis
9eb5d9b086
Bump earthly
...
hoping to get this fix:
https://github.com/earthly/earthly/issues/1934#issuecomment-1160819298
and see if it makes any difference
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-16 09:53:30 +02:00
Dimitris Karakasilis
4da6a4f3b0
"Modernize" the +iso target
...
according to this example:
4e2dd37e70/Earthfile (L114)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-16 09:08:15 +02:00
Dimitris Karakasilis
74fc9c62b4
Switch to ubuntu because opensuse repos time out
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-15 18:41:15 +02:00
Dimitris Karakasilis
1e3efb57cc
Split scenarios in different GA jobs
...
to parallelise better and allow re-running just the failed tests
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-15 09:58:16 +02:00
Dimitris Karakasilis
266c4f20e9
Handle unexpected VM exit better and use a core image with working DNS
...
Also print serial output when something goes wrong
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-14 10:09:46 +02:00
Dimitris Karakasilis
4c0b40d3a0
Add gettext-runtime in Earthly image
...
which provides the `envsubst` command needed in the e2e test script
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-09 12:10:38 +02:00
Dimitris Karakasilis
7dc1e39ac7
Implement an e2e test suite for kcrypt encryption
...
Scenarios based on docs: https://kairos.io/docs/advanced/partition_encryption/
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-02-02 11:48:44 +02:00
Dimitris Karakasilis
72829108df
Extract client code to separate package and test it
...
- add new suite to the pipeline and fix Earthly to run tests
- read configuration from file
- the "kcrypt" section is our configuration now
- move configuration logic in `kcrypt` repository
Part of #399
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2023-01-18 15:25:04 +02:00
Dimitris Karakasilis
83bba2f0cf
Introduce a test suite and an earthly target to run it
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2022-11-17 12:57:09 +02:00
Ettore Di Giacinto
a00353fda1
Add Earthfile
2022-10-17 16:44:25 +02:00