Commit Graph

11 Commits

Author SHA1 Message Date
Nianyu Shen
dc46baf6e3
add WithPlatform in bundle unpack (#486)
* add WithPlatform in bundle unpack

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* fix OCIImageExtractor

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

* add unit test and fix comments

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>

---------

Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
2024-08-31 01:36:14 +02:00
Nianyu Shen
ea24c95923
add support for custom transport in oci image extractor (#140) 2024-06-05 11:18:04 +02:00
Nianyu Shen
9b9e468a44
add auth support for oci image extractor (#131) 2024-06-05 09:23:51 +02:00
Mauro Morales
9bbc110598
Re-introduce local runner (#57)
* Re-introduce local runner

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Refactor code, remove LocalRunner

and allow both "container:" and "run:" types to use local archives

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Treat "docker:" bundler prefix the same as "container:"

as per the docs:
https://kairos.io/docs/advanced/bundles/#bundle-types

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Add TODO tests

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Remove the not-needed LocalRunner

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Implement tests

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

* Remove TODO

Won't do now to avoid introducing bugs

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-12-05 12:09:10 +02:00
Itxaka
df990bf49a
Improve image extractor (#32) 2023-06-20 09:43:43 +03:00
Itxaka
f5982c9d5a
Try to create rootpath before extracting image if it doesnt exist (#17) 2023-05-18 12:17:40 +02:00
Itxaka
40db3d970e
Allow setting the platform of the image to download (#15) 2023-05-17 08:04:20 +00:00
Itxaka
ee38ccde54
Improve bundles for container and run to not use luet (#13)
This allows us to pull natively and support multiarch and auth out of
the box

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-16 17:59:04 +02:00
Ettore Di Giacinto
7a148fe5bb
🌱 pass by the container image used in run.sh (#8)
Signed-off-by: mudler <mudler@c3os.io>
2023-03-17 08:16:09 +01:00
Itxaka
829a004e42 🤖 Fix lint
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-15 12:13:32 +01:00
Itxaka
3163cfbac0 Extract sdk into its own lib
This had some side effects:

 - Have to add some utils from the kairos/machine modules, which IMHO
   should not be there, they should be here if the are generic enough
 - Dropping the sdk dir, just have the modules in the root dir

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-15 10:56:11 +01:00