forked from coreos/fedora-coreos-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipeline: stop using /srv as workdir
I think we should stop using `/srv` as a workdir entirely and just always build in the workspace. The core issue here is that (1) we want to be able to have concurrent builds, and (2) a workdir can't be easily shared today. This also great simplifies the devel vs prod logic which had some funky conditionals around this. So then, how can developers without S3 creds actually *access* built artifacts? We simply archive them as part of the build. This is in line also with coreos#31, where we'll probably be archiving things anyway. Finally, how *can* we use the PVC as cache in a safe way shareable across all the streams? I see two options offhand: 1. as a local RPM mirror: add flags to `cosa fetch` (and maybe `rpm-ostree`) to read & write RPMs in `/srv`, hold a lock to regen metadata 2. as a pkgcache repo: similarly to the above, but also doing the import, so it's just a pkgcache repo; this would probably require teaching rpm-ostree about this, or `cosa fetch` could just blindly import every ref
- Loading branch information
Showing
2 changed files
with
5 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters