Commit Graph

50 Commits

Author SHA1 Message Date
Itxaka
a925d877bc Fix earthly in lint 2025-04-22 10:41:38 +02:00
Itxaka
a21fb32bc0 install earthyl manually 2025-04-22 10:37:44 +02:00
Itxaka
3bf6a1e612 terst (#119) 2025-04-11 18:16:43 +02:00
renovate[bot]
33ba761d42 Update dependabot/fetch-metadata action to v2.3.0 (#104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 07:13:39 +00:00
renovate[bot]
0fa24f7679 Update google/osv-scanner-action action to v1.9.2 (#97)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 02:24:02 +00:00
renovate[bot]
6a180b7cde Update codecov/codecov-action action to v5 (#94)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 15:43:06 +02:00
renovate[bot]
012329e54b Update google/osv-scanner-action action to v1.9.1 2024-12-18 15:42:13 +02:00
Dimitris Karakasilis
57e911e62a Don't run jobs on arm workers
because we get this error:

  stderr: qemu-system-x86_64: invalid accelerator kvm

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-11-11 09:51:26 +02:00
Dimitris Karakasilis
401e3f9735 More go bumps
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-11-08 17:13:00 +02:00
renovate[bot]
63795470b1 Update google/osv-scanner-action action to v1.8.4 2024-08-22 16:46:07 +00:00
Itxaka
978d0aa3be Run secscans in proper events (#77) 2024-07-12 09:34:23 +02:00
renovate[bot]
97f92cc809 Update dependabot/fetch-metadata action to v2 (#57)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:06:29 +02:00
renovate[bot]
09a93ff001 Update actions/setup-go action to v5 (#56)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:05:11 +02:00
renovate[bot]
02b5389fc6 Update actions/checkout action to v4 (#55)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:04:15 +02:00
renovate[bot]
f970ef1899 Update GitHub Artifact Actions to v4 (#54)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:04:03 +02:00
renovate[bot]
429b86ea09 Update docker/build-push-action action to v6 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:03:47 +02:00
renovate[bot]
5bfbac6892 Update docker/login-action action to v3 (#59)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:03:34 +02:00
renovate[bot]
d9e658b202 Update dependabot/fetch-metadata action to v1.7.0 (#53)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:02:53 +02:00
renovate[bot]
204ce64465 Update google/osv-scanner-action action to v1.8.2 (#71)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 18:02:32 +02:00
Itxaka
a2b28af7b2 Bump to go1.22 (#70) 2024-07-11 17:51:49 +02:00
Mauro Morales
196bcf8500 Add osv scanner on PRs
Signed-off-by: Mauro Morales <contact@mauromorales.com>
2024-07-02 16:51:02 +02:00
Itxaka
2f2f577db7 Run unit tests on a go matrix version (#52) 2024-04-15 14:12:00 +02:00
Ettore Di Giacinto
d64cab6a7d Create renovate_auto.yml 2024-04-15 12:43:55 +02:00
Ettore Di Giacinto
050d1832dd Update dependabot_auto.yml 2024-04-15 12:29:50 +02:00
Ettore Di Giacinto
06552b7777 Create dependabot_auto.yml 2024-04-15 12:29:22 +02:00
Dimitris Karakasilis
95a352f4b4 Implement a test for discoverable KMS
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-01-25 09:39:17 +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
b5b4d0d042 🤖 Add concurrency to CI (#33) 2023-06-15 11:20:19 +02:00
renovate[bot]
8420155746 Update docker/build-push-action action to v4 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 11:15:24 +02:00
renovate[bot]
a9359bf713 Update actions/checkout action to v3 (#31)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 11:15:01 +02:00
Itxaka
b2a0330dd8 Fix lint
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-10 00:31:15 +02: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
7a2627fcc8 Add go version to workflow
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 15:47:00 +02:00
Mauro Morales
a0c4462f99 Update setup-go to v4
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 15:44:09 +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
Dimitris Karakasilis
3a22134226 Run tests with sudo to be able to access /dev/kvm
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-20 12:33:44 +02:00
Dimitris Karakasilis
7b561efed8 Try KVM on CI
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-17 17:59:38 +02:00
Dimitris Karakasilis
6ff6262459 Configure earthly to use the docker mirror in CI
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-17 17:11:26 +02:00
Dimitris Karakasilis
816013d33d Don't use the earthly script
in order to avoid nested docker and use the deployed docker mirror

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-17 16:06:51 +02:00
Dimitris Karakasilis
f3f10b4919 Don't prompt
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-15 18:10:01 +02:00
Dimitris Karakasilis
3d4829859b Run e2e tests on self-hosted runners
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-15 17:52:14 +02:00
Dimitris Karakasilis
27114b8db8 Run e2e tests without earthly
getting closer to running them with KVM enabled. This will require self
hosted runners with KVM enabled but we will get there eventually.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-15 11:00:24 +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
9448ecdd54 Ignore README changes in e2e workflow
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-02 12:06:19 +02:00
Dimitris Karakasilis
b00d3af43b Rename "master" to "main" so that e2e tests run correctly
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-02 11:58:12 +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
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
6124f9aec9 🤖 Fixup workflow 2022-10-13 20:35:58 +00:00
Ettore Di Giacinto
05d48347d7 Initial import 2022-10-13 20:34:44 +00:00