Commit Graph

1433 Commits

Author SHA1 Message Date
Itxaka
a3452b4cfa Try to get the flavor on EFI installs (#568) 2024-10-01 16:15:53 +02:00
Itxaka
0f85a2c9d4 Fix reset (#565) v2.14.6 2024-09-27 16:10:49 +02:00
Itxaka
84d87b3a5d Fix partitioner not identifying mmc/nvme partitions (#563) 2024-09-27 09:53:38 +02:00
renovate[bot]
202f2f9c91 chore(deps): update securego/gosec action to v2.21.4 (#554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 12:11:40 +00:00
Dimitris Karakasilis
cd5ab69191 Merge pull request #562 from kairos-io/split-yip-config-dirs
Split yip config dirs from user config dirs
2024-09-26 15:08:36 +03:00
Dimitris Karakasilis
d3c864cd19 Add comment above method
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 15:02:39 +03:00
Dimitris Karakasilis
a45cee2ebc Fix order or directories
so that we allow users to override baked-in livecd configuration with
config coming from datasource (written in /oem)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 14:59:16 +03:00
Dimitris Karakasilis
d618ff72f3 Split yip config dirs from user config dirs
as per the comment here:

https://github.com/kairos-io/kairos-agent/pull/550#discussion_r1776759001

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 14:32:36 +03:00
Dimitris Karakasilis
99e8509065 Merge pull request #550 from kairos-io/2737-show-sources-in-config
Show sources in config string
2024-09-26 13:02:26 +03:00
Dimitris Karakasilis
d7af53994b Add directory back
we will handle this in another pr. See comment here:

https://github.com/kairos-io/kairos-agent/pull/550#discussion_r1776753288

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:56:16 +03:00
Dimitris Karakasilis
9891916d49 Fix RenderTemplate and a test
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:18:42 +03:00
Dimitris Karakasilis
b0b4618f8f Show sources in config string
and remove directory which is only meant to be used by yip configs (not
user configs read by the kairos-agent).

This needs to be explained in the release notes.

Needs this: https://github.com/kairos-io/kairos-sdk/pull/501

Part of: https://github.com/kairos-io/kairos/issues/2737

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:07:59 +03:00
renovate[bot]
a8e855b933 chore(deps): update dependency cypress to v13.15.0 (#561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 22:24:51 +00:00
Itxaka
6fe3455bd8 Really resolve the target for config and spec (#560) v2.14.5 2024-09-25 11:52:42 +02:00
Itxaka
9d63bae2ae Really resolve the link, not just get a relative link (#558)
Signed-off-by: Itxaka <itxaka@kairos.io>
v2.14.4
2024-09-24 19:09:06 +02:00
Itxaka
ded356cf98 Fix mkfs using the wrong label for the fs label (#556) v2.14.3 2024-09-24 10:08:34 +02:00
Itxaka
60af8246ad Accept more paths to devices for install (#552) v2.14.2 2024-09-23 17:13:07 +02:00
renovate[bot]
ddd5d884cf fix(deps): update dependency codemirror to v5.65.18 2024-09-20 22:46:01 +00:00
Itxaka
ea731eb99f Revert "chore(deps): update securego/gosec action to v2.21.3 (#551)" (#553) 2024-09-20 17:48:23 +02:00
Itxaka
bd4dce015f Expose the Analize method of yip (#548)
This only shows for a given stage what steps would be run and in which
order

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-20 10:36:09 +02:00
renovate[bot]
970eb1aa72 chore(deps): update securego/gosec action to v2.21.3 (#551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 22:56:00 +00:00
Itxaka
157ea5b7ba Revert "chore(deps): update securego/gosec action to v2.21.3" (#549) 2024-09-19 15:12:51 +02:00
renovate[bot]
22d4d97503 chore(deps): update securego/gosec action to v2.21.3 2024-09-19 14:47:21 +02:00
Itxaka
fbb64f2a82 Run tests in parallel and output github formats on workflow (#543)
* Run tests in parallel and output github formats on workflow

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix broken parallel tests

We were using a fixed file for the tests which several tests could be
accessing at the same time.

This fixes it by setting a temp random file at the test start

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix the tests logging to stdout

Signed-off-by: Itxaka <itxaka@kairos.io>

* Drop the verbose

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix agent test

Signed-off-by: Itxaka <itxaka@kairos.io>

* Let the event consumer create the logfile or whatever

Signed-off-by: Itxaka <itxaka@kairos.io>

* Drop Focus

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
v2.14.1
2024-09-17 17:51:11 +02:00
Itxaka
3e99d75331 Move to use our ghw clone (#535) 2024-09-17 15:27:31 +02:00
renovate[bot]
d407679677 fix(deps): update module github.com/google/go-github/v64 to v65 (#542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 22:02:36 +00:00
renovate[bot]
4a9c060b41 fix(deps): update module github.com/kairos-io/kairos-sdk to v0.4.4 2024-09-16 21:30:39 +00:00
Itxaka
690c7e7acd Fix skipping paths under kubernetes
Signed-off-by: Itxaka <itxaka@kairos.io>
(cherry picked from commit c549aeb086)
2024-09-16 10:17:55 +02:00
renovate[bot]
8c3ac611f0 fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 23:17:48 +00:00
renovate[bot]
4ac2952c9d fix(deps): update module github.com/google/go-github/v63 to v64 (#539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 23:13:58 +00:00
Itxaka
a6bf3541c5 Do not skip /run when counting the size (#538) 2024-09-13 17:31:40 +02:00
Itxaka
7c6c195bd5 Fix upgrade size calculation inside k8s (#537)
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-13 13:07:17 +02:00
renovate[bot]
83afd40dc8 fix(deps): update module k8s.io/mount-utils to v0.31.1 2024-09-12 22:14:41 +00:00
Itxaka
d02bc50747 Improve get partitions and reset spec (#530)
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-12 17:24:35 +02:00
renovate[bot]
2c412c4b60 fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 01:29:42 +00:00
renovate[bot]
5c5c307cff chore(deps): update google/osv-scanner-action action to v1.8.5 2024-09-12 01:28:52 +00:00
renovate[bot]
1bb86e78de fix(deps): update module github.com/google/go-github/v63 to v64 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 23:25:27 +00:00
Itxaka
771c8e298f Update secscan.yaml 2024-09-11 16:01:27 +02:00
Itxaka
419f09160f Fail if remote url address doesnt exist (#527) 2024-09-11 15:57:53 +02:00
renovate[bot]
0cad53f6c5 fix(deps): update module github.com/kairos-io/kairos-sdk to v0.4.3 2024-09-10 21:06:34 +00:00
renovate[bot]
e18834c0d3 chore(deps): update securego/gosec action to v2.21.1 2024-09-10 21:06:04 +00:00
Itxaka
17699f4d6e Display net info on QR code page (#525) 2024-09-10 15:50:16 +02:00
Itxaka
7328ad2cd5 Bump go to 1.23.1 (#526) 2024-09-10 15:29:49 +02:00
Itxaka
8e2c8ebb92 Minimize shelling out (#439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
v2.14.0
2024-09-10 12:23:15 +02:00
renovate[bot]
80295093af fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 02:05:16 +00:00
renovate[bot]
9008054da7 fix(deps): update module github.com/google/go-github/v63 to v64 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 02:04:53 +00:00
renovate[bot]
6e754c65fc fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 01:59:48 +00:00
renovate[bot]
ccb8b2654c fix(deps): update module github.com/google/go-github/v63 to v64 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 01:55:06 +00:00
renovate[bot]
3c2655f1e7 fix(deps): update module github.com/jaypipes/ghw to v0.13.0 (#519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 21:10:14 +00:00
renovate[bot]
b8bc9b671d fix(deps): update module golang.org/x/net to v0.29.0 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 21:09:59 +00:00