ug: custom-ci: Fix the method to grab ostree hash#871
Merged
kprosise merged 1 commit intofoundriesio:mainfrom Nov 20, 2025
Merged
ug: custom-ci: Fix the method to grab ostree hash#871kprosise merged 1 commit intofoundriesio:mainfrom
kprosise merged 1 commit intofoundriesio:mainfrom
Conversation
The command cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/<refs> Returns the 64-characters SHA256 checksum required to use with fioctl targets add command. The command find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit provides the entire metadata + 64 characters SHA256. When this value is used in the fioctl targets add command , it causes ERROR: Illegal base64 data at input byte 60. Signed-off-by: Caio Pereira <caio.pereira@foundries.io>
kprosise
approved these changes
Nov 14, 2025
Contributor
kprosise
left a comment
There was a problem hiding this comment.
LGTM, feel free to merge when you're ready.
vanmaegima
approved these changes
Nov 14, 2025
mike-sul
approved these changes
Nov 17, 2025
Contributor
mike-sul
left a comment
There was a problem hiding this comment.
LGTM.
I would probably extend the current "find" approach with info how to put together the commit hash. Something like:
path=$(find . -name "*.commit"); echo "$(basename $(dirname $path))$(basename $path | cut -d. -f1)"
and
add the new "cat" approach.
Contributor
Author
Thanks for the suggestion, but the |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The command cat ./deploy/images/intel-corei7-64/ostree_repo/refs/heads/ Returns the 64-characters SHA256 checksum required to use with fioctl targets add command.
The command find ./deploy/images/intel-corei7-64/ostree_repo -name *.commit provides the entire metadata + 64 characters SHA256.
When this value is used in the fioctl targets add command , it causes ERROR: Illegal base64 data at input byte 60.
PR Template and Checklist
Please complete as much as possible to speed up the reviewing process.
Readiness and adding reviewers as appropriate is required.
All PRs should be reviewed by a technical writer/documentation team and a peer.
If effecting customers—which is a majority of content changes—a member of Customer Success must also review.
Readiness
Overview
Why merge this PR? What does it solve?
Checklist
make linkcheck.-s, --signoff).-S, --gpg-sign).Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.