6 Commits

Author SHA1 Message Date
Andrey Smirnov
cde9b3954c
fix: update Talos version listing
Now Image Factory filters out pre-release versions for all releases but
the last one.

In the UI, now pre-release versions are shown.

Return proper 404 not found when someone requests something for
an unsupported version.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-12-21 15:02:36 +04:00
Andrey Smirnov
3d99e0a696
fix: generation of SBC images
Fixes #43

Depends on https://github.com/siderolabs/talos/pull/7907

Installer image size got bigger, add assertions for additional arm64
files.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-30 14:40:08 +04:00
Andrey Smirnov
354baca8a0
feat: implement boot asset cache
Fixes #4

This caches the result of the boot asset build (a call to Talos
`imager`) so that we don't rebuild the asset twice.

OCI Registry is used as a cache. An internal registry can be used for
caching, we don't need to expose it to the world.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-10-30 14:05:23 +04:00
Tim Jones
a0b6a8a67d
feat: add support for insecure image registry
Adds support for using an insecure image registry without having to
specify it as IP:PORT.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
2023-09-29 10:48:04 +02:00
Andrey Smirnov
cf73db9b91
feat: implement support for system extensions
Fixes #13

This builds on top of extensions catalog (see
https://github.com/siderolabs/extensions/pull/225), and existing support
for specifying extension in the flavor.

Image Service resolve the list of extensions requested for a specific
version of Talos into a list of container images, pulls them, and
attaches them to the image request.

Image Service also provides endpoints to get information about available
Talos versions, supported extensions for each version, etc.

I also refactored a bit flow around fetching & verifying image to re-use
it in other flows, added support for authentication to the registry.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-13 21:45:50 +04:00
Andrey Smirnov
803ffa15a5
feat: initial version
Initial version of the image service.

Implements a basic configuration service, and HTTP frontend for assets.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-09-01 00:21:19 +04:00