Repository navigation
Modify container/ software to support release containers and the promotion of prerelease containers - #60755
Conversation
|
jenkins run make check |
|
a thing I want to check: is there evidence of the packages having come from a 'prerelease' area left behind. I think not; I think the ceph.repo file is gone (edit: no, it wasn't, but it is now, because it's got the secret left in it, so it's removed before the end of the build), and that the package db doesn't have a trace of the path, but...I want to search more carefully. (edit: I can't find anything.) A difference from past container releases: we will not have arch-specific containers in quay.io/ceph/ceph{amd,arm}64. I don't think this should be an issue, but we may want to ponder, and perhaps document it. |
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
I think I've gotten to everything we've discussed so far @zmc |
ktdreyer
left a comment
There was a problem hiding this comment.
I had no idea https://download.ceph.com/prerelease is a thing now. That is a lot of effort to do that.
- don't print command failure in worker; let the caller print them if desired (allow silent failure) - allow for empty tags list - look for CEPH_SHA1. GIT_COMMIT was the sha1 of the ceph-container.git commit - change default paths to prerelease - add --dry-run to avoid final push - rename 'HOST' to 'CONTAINER_HOST' - Use ARCH_SPECIFIC_HOST instead of CONTAINER_HOST (which is used by podman) Signed-off-by: Dan Mick <[email protected]>
- change repo path to prerelease - remove image id arg for release push - include 'v' in version name for release push Signed-off-by: Dan Mick <[email protected]>
Used for accessing download.ceph.com Signed-off-by: Dan Mick <[email protected]>
The promote function finds the latest image on the prerelease repo, finds all its tags, and copies them all to the release repo. Signed-off-by: Dan Mick <[email protected]>
Signed-off-by: Dan Mick <[email protected]>
a4cd04f to
59a7ae6
Compare
Existing syntax was just wrong. Signed-off-by: Dan Mick <[email protected]>
ceph.repo had creds in it for download.ceph.com/prerelease. Remove the .repo files we construct, since they're not necessary once the container is built (no one should be dnf'ing anything in the container). Signed-off-by: Dan Mick <[email protected]>
curl doesn't actually fail unless -f is used; also, add some sh -e flags. Signed-off-by: Dan Mick <[email protected]>
Use podman's build --secret mechanism to pass credentials for download.ceph.com Signed-off-by: Dan Mick <[email protected]>
59a7ae6 to
4b3c0cb
Compare
|
https://tracker.ceph.com/issues/69116 opened after merge to handle backporting to prior branches |
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
jenkins skip ci