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

Inject oci-image in release metadata and oci-images in release index #3919

Merged
merged 6 commits into from
Nov 13, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Nov 1, 2024

See individual commits.

Part of coreos/fedora-coreos-tracker#1823.

Copy link

openshift-ci bot commented Nov 1, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jlebon
Copy link
Member Author

jlebon commented Nov 1, 2024

Requires: coreos/stream-metadata-go#75

dustymabe
dustymabe previously approved these changes Nov 4, 2024
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mantle/cmd/plume/release.go Outdated Show resolved Hide resolved
To pick up the stream-metadata-go bump in the previous commit. But also
this cleans up a bunch of other unrelated stuff.
No functional change. Prep for next patch.
Take the digest pullspec for the base OS bootable container and put it
in the new `oci-image` field in the release metadata.

Part of coreos/fedora-coreos-tracker#1823.
Currently, that function operates directly on an S3 bucket. This makes
it harder to test locally. Add a new `--local-mode` option in which
we expect to be in a cosa workdir with release metadata present and a
release index.

This is mostly peppering conditionals in the code. Patch best viewed
with whitespace ignored.
When updating the release index, gather the OCI pullspecs across all
arches for a given release into a single list and inject it into the new
`oci-images` key, the same way we do for OSTree commits and `commits`.

Part of coreos/fedora-coreos-tracker#1823.
@jlebon
Copy link
Member Author

jlebon commented Nov 7, 2024

Updated and out of draft! Now with the stream-metadata-go bump to pull in coreos/stream-metadata-go#75.

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe dustymabe merged commit 4c73260 into coreos:main Nov 13, 2024
5 checks passed
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