-
Notifications
You must be signed in to change notification settings - Fork 59
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
Set up annex OSTree repo #266
Comments
For Fedora Atomic Host and Fedora Silverblue we already use a split repo setup. We have a compose repo where pungi builds and stores the ostree commits and content and then we have a prod repo where content is synced when we do a release. We may be able to just re-use the existing compose repo as our "annex repo". |
Hmm, so I think that'd be pretty cool. Do you know how pruning works on that repo? One concern is that with all the streams outputting there, we might want some kind of semi-aggressive GC for e.g. the mechanical refs at least (though thankfully, probably the majority of files will be shared with daily Silverblue and IoT composes). |
I need to look into that. Now that I think about it I think using the |
An even cleaner way would be if we were able to mount Short of doing that, seems like there's always going to be something that will have to download the tarballs, so might as well put it near the source and avoid having to maintain a whole other repo if possible, no? |
yeah let's go with the |
Proposed: Re-use the existing dual repo setup that Fedora has for the Annex/Prod repos as suggested in #266 (comment) |
I brought this up in the meeting today and asked for votes. I've not seen any disagreements to the proposal so far (either here or in the meeting) so I'll move forward with the proposed plan unless anyone speaks up with a good reason to deviate. |
This is now done. The coreos-ostree-importer accepts import requests from the pipeline runs and performs imports into either the prod ( The prod repo is accessible via CDN with the following ostree remote config:
The compose repo is accessible via the following OSTree remote config:
|
We should set up an OSTree repo somewhere which holds all the OSTree content from our builds. This is mentioned in the stream tooling doc. This will also be useful for e2e testing (see e.g. #228).
Now, as to where to actually host this repo... the obvious choice is also in the S3 bucket, though it might be painful to manage: coreos/coreos-assembler#159 (comment). The TL;DR is: uploading is OK, pruning is mostly bearable, any other operations which result in API calls that can't be batched is super painful (though hopefully we don't hit that case often?). So overall, it's feasible, though let's see if there are other suggestions.
The text was updated successfully, but these errors were encountered: