Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] cloud: add new Uploader interface and implement for AWS #1185

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jan 30, 2025

Draft of a new interface for uploading from bib and ibcli (and potentially osbuild-composer):

  • no tests
  • I would like remake the cloud interface around something like
  • can we remove (most?) of the existing awscloud in images. because osbuild-compser impleents it all too but has now moved to aws-v2 and it seems we have a lot of unused code in images right now(?)

This commit adds a new cloud.Uploader interface that combines the upload and register into a single operation. The rational is that with that we avoid leaking resource if e.g. the upload works but the registration fails
(c.f. #1145). This would replace most of the existing bib uplodaer code so that it is shareable.

This commit adds a new `cloud.Uploader` interface that combines
the upload and register into a single operation. The rational
is that with that we avoid leaking resource if e.g. the upload
works but the registration fails.
@mvo5 mvo5 requested a review from achilleas-k January 30, 2025 19:34
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.

1 participant