Skip to content

WIP: provider: Introduce support for satellite server#100

Merged
doanac merged 1 commit into
foundriesio:mainfrom
doanac:dg-sat-support
Nov 17, 2025
Merged

WIP: provider: Introduce support for satellite server#100
doanac merged 1 commit into
foundriesio:mainfrom
doanac:dg-sat-support

Conversation

@doanac
Copy link
Copy Markdown
Member

@doanac doanac commented Nov 5, 2025

The satellite server, https://github.com/foundriesio/dg-satellite, needs a way for devices to pick up registry content from it instead of hub.foundries.io. This change introduces a mechanism to tell our provider code to proxy its requests through the satellite server.

The error handling in this is a little awkward but allowed us to bubble up errors w/o having to adjust a lot of users of the API.

@doanac doanac changed the title provider: Introduce support for satellite server WIP: provider: Introduce support for satellite server Nov 5, 2025
@doanac
Copy link
Copy Markdown
Member Author

doanac commented Nov 5, 2025

corresponding aklite code:

foundriesio/aktualizr-lite#438

Comment thread pkg/compose/provider.go Outdated
@mike-sul
Copy link
Copy Markdown
Collaborator

mike-sul commented Nov 6, 2025

@doanac The direction seems reasonable to me.

Comment thread pkg/compose/provider.go
Comment thread pkg/compose/config.go
Comment thread pkg/compose/v1/config.go
The satellite server, https://github.com/foundriesio/dg-satellite, needs
a way for devices to pick up registry content from it instead of
hub.foundries.io. This change introduces a mechanism to tell our
provider code to proxy its requests through the satellite server.

The error handling in this is a little awkward but allowed us to bubble
up errors w/o having to adjust a lot of users of the API.

Signed-off-by: Andy Doan <andy@foundries.io>
Comment thread pkg/compose/v1/config.go
Comment thread pkg/compose/provider.go
@mike-sul
Copy link
Copy Markdown
Collaborator

LGTM, it works for me against the latest dg-sat.

@doanac doanac merged commit 007dc4b into foundriesio:main Nov 17, 2025
2 checks passed
@doanac doanac deleted the dg-sat-support branch November 17, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants