Itxaka
26187e369e
Adds raw disk utils
...
Adds raw disk utils to convert a raw disk into a GCE or Azure image
Adds a new constants package to store constants that can be reused
across all of our projects
Expands KairosFs interface to be in line with whats used on other
projects so we can use it
2024-12-18 12:17:10 +01:00
renovate[bot]
d334d86d43
fix(deps): update module github.com/mudler/yip to v1.13.0 ( #533 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 01:02:01 +00:00
renovate[bot]
e10c23da52
fix(deps): update module github.com/saferwall/pe to v1.5.6 ( #532 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 05:57:42 +00:00
renovate[bot]
f696a099c9
fix(deps): update module github.com/itchyny/gojq to v0.12.17 ( #531 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:29:40 +00:00
renovate[bot]
42f7222d2b
fix(deps): update module github.com/pterm/pterm to v0.12.80 ( #530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 02:03:39 +00:00
renovate[bot]
ae0744e2ad
fix(deps): update module github.com/onsi/gomega to v1.36.0 ( #529 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 22:09:43 +00:00
renovate[bot]
8dba478156
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.0 ( #528 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-23 08:45:22 +00:00
renovate[bot]
fce3641ea4
fix(deps): update module github.com/zcalusic/sysinfo to v1.1.3 ( #527 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-23 08:45:02 +00:00
renovate[bot]
9a55717bf5
chore(deps): update codecov/codecov-action action to v5 ( #526 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 01:31:44 +00:00
renovate[bot]
9fbf5b5ed0
fix(deps): update module github.com/saferwall/pe to v1.5.5 ( #525 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 01:31:35 +00:00
renovate[bot]
81739bcbc0
fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 ( #524 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 00:09:59 +00:00
renovate[bot]
024a1f4a6b
fix(deps): update module github.com/containerd/containerd to v2 ( #523 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 00:09:40 +00:00
Dimitris Karakasilis
6a23bb6882
Fix install.device schema to allow all devices ( #521 )
...
* Fix install.device schema to allow all devices
E.g. /dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:0:0
Part of https://github.com/kairos-io/kairos/issues/2906
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Add test and run `go mod tidy`
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Fix test
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
---------
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-11-08 08:03:16 +02:00
renovate[bot]
617f4be9ab
fix(deps): update module golang.org/x/mod to v0.22.0 ( #522 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 22:04:31 +00:00
renovate[bot]
cc70acb730
fix(deps): update module github.com/containerd/containerd to v2 ( #520 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 01:09:19 +00:00
renovate[bot]
259f6af97f
fix(deps): update module github.com/onsi/gomega to v1.35.1
2024-11-01 22:10:32 +00:00
renovate[bot]
c49fbedde5
fix(deps): update module github.com/onsi/gomega to v1.35.0 ( #518 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 23:31:51 +00:00
renovate[bot]
7251a6bf47
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.21.0 ( #517 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 23:29:12 +00:00
renovate[bot]
03ae582f9c
fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 ( #516 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 00:21:16 +00:00
renovate[bot]
3897e4e85a
fix(deps): update module github.com/diskfs/go-diskfs to v1.4.2 ( #515 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 00:21:08 +00:00
Itxaka
24873605ca
Add method to extract files from an iso ( #514 )
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-10-28 09:09:48 +01:00
renovate[bot]
fb54aa4783
fix(deps): update module github.com/mudler/yip to v1.12.0 ( #513 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 21:42:08 +00:00
renovate[bot]
2dca284c0c
fix(deps): update github.com/foxboron/go-uefi digest to fab4fdf ( #512 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 22:41:20 +00:00
renovate[bot]
5e341c9bd2
fix(deps): update module github.com/containerd/containerd to v1.7.23
2024-10-15 21:55:02 +00:00
renovate[bot]
31f1c80b2d
fix(deps): update module github.com/urfave/cli/v2 to v2.27.5
2024-10-13 15:28:26 +00:00
renovate[bot]
68dd4156ce
fix(deps): update module github.com/edsrzf/mmap-go to v1.2.0 ( #509 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 22:45:11 +00:00
Itxaka
5f9d126442
Move to use kairos-release instead of os-release ( #506 )
2024-10-07 11:39:29 +02:00
renovate[bot]
000e297982
fix(deps): update module github.com/mudler/yip to v1.11.0 ( #508 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 21:04:14 +00:00
renovate[bot]
4475091143
chore(deps): update google/osv-scanner-action action to v1.9.0 ( #507 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 22:02:50 +00:00
Itxaka
156caa6f8c
Move mount parse line to trace level
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-27 17:26:54 +02:00
Kenny Root
9b2eeb0e55
Use formatting print to show underlying error message ( #500 )
...
* Use formatting print to show underlying error message
This appears to be a typo where "Println" was used instead of "Printf"
Signed-off-by: Kenny Root <kenny@the-b.org>
* Update collector/collector.go
---------
Signed-off-by: Kenny Root <kenny@the-b.org>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2024-09-27 08:37:38 +00:00
Nianyu Shen
541728fa22
feat: add support for extra plugins in cluster provider ( #504 )
...
* feat: add support for extra plugins in cluster provider
Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
* add cluster reset event
Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
---------
Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
2024-09-27 09:52:34 +02:00
renovate[bot]
bf4c177d3c
fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 ( #505 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 21:39:40 +00:00
renovate[bot]
f2305b07e7
chore(deps): update securego/gosec action to v2.21.4
2024-09-26 14:40:55 +00:00
Dimitris Karakasilis
a56cb0bb38
Add Sources field to Config ( #501 )
...
* Add Sources field to Config
and keep track of merged files there. Also print the Sources as a
comment in the String() method.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Fix tests
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Fix linter
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Fix TODO
by renaming the toMap function and making it operate on ConfigValues
instead of full Config objects (because after all, it wasn't copying the
Sources field)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* [minor] Return ConfigValues interface when erroring out
although nobody should consume it since we errored
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Add check for "Sources" comment
to check that these all generate a line:
- cmdline
- remote config (config_url)
- local files
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
---------
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-09-26 12:04:21 +03:00
renovate[bot]
5c38240a46
fix(deps): update module github.com/docker/docker to v27.3.1+incompatible
2024-09-20 22:29:38 +00:00
renovate[bot]
642d6ac659
fix(deps): update module github.com/docker/docker to v27.3.0+incompatible ( #502 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 22:44:56 +00:00
renovate[bot]
9c6f881c52
fix(deps): update module github.com/zcalusic/sysinfo to v1.1.2
2024-09-18 23:14:42 +00:00
renovate[bot]
d4fe0e4662
fix(deps): update module github.com/mudler/yip to v1.10.0 ( #498 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 23:00:14 +00:00
renovate[bot]
80dfff563b
fix(deps): update module github.com/zcalusic/sysinfo to v1.1.1
2024-09-17 22:59:54 +00:00
Itxaka
ae2e2d7758
Override the ghw paths on ghw mock ( #496 )
2024-09-17 13:10:26 +02:00
Itxaka
64886b7301
Clean up ghw ( #494 )
2024-09-16 15:54:10 +02:00
renovate[bot]
b52dd73ecc
fix(deps): update module github.com/santhosh-tekuri/jsonschema/v5 to v6 ( #495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 21:36:45 +00:00
Itxaka
f312c84d81
Allow overriding ghw root via env var
...
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-09-12 16:45:33 +02:00
Itxaka
ea5c6c7028
Bring GHW clone and partition type into sdk ( #492 )
2024-09-12 15:25:19 +02:00
renovate[bot]
1f453d7ea7
chore(deps): update google/osv-scanner-action action to v1.8.5
2024-09-12 02:30:04 +00:00
renovate[bot]
8f40879d1d
fix(deps): update module golang.org/x/mod to v0.21.0 ( #487 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 08:09:19 +00:00
renovate[bot]
14a6171879
fix(deps): update module github.com/jaypipes/ghw to v0.13.0 ( #488 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 08:09:04 +00:00
renovate[bot]
d006d565c8
fix(deps): update module github.com/docker/docker to v27.2.1+incompatible
2024-09-10 08:08:19 +00:00
renovate[bot]
b27fdd92d4
fix(deps): update module github.com/containerd/containerd to v1.7.22
2024-09-10 08:07:45 +00:00