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
#!/usr/bin/env bash | |
# USAGE: ./yocto2oci.sh <sdk> | |
# where sdk is a yocto-generated installer | |
# example sdk: https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-ppc7400-qemuppc-toolchain-ext-4.0.16.sh | |
set -e | |
ALGORITHM="sha256" | |
BUILD_DIR="build" | |
BLOBS_DIR="$BUILD_DIR/blobs/$ALGORITHM" |
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
#!/usr/bin/env -S jq -n -f | |
# curl --netrc 'https://bes.service/rpc/BuildBuddyService/SearchInvocation' -d '{"query": {"commit_sha": "000d8878ada519b9bc8ae453736c1931"}}' -H 'Content-Type: application/json' -H 'x-buildbuddy-api-key: 00000000000' | |
# curl --netrc 'https://bes.service/rpc/BuildBuddyService/GetInvocation' -d '{"lookup": {"invocation_id": "00000000-0000-0000-0000-00000000"}}' -H 'Content-Type: application/json' | ./process_build_events.jq | |
[inputs | .invocation[0].event[].buildEvent | |
| select(.id != null) | |
| if .id.targetCompleted != null then | |
if .aborted != null then { | |
"type": "aborted", | |
"label": .id.targetCompleted.label |
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
build --noenable_bzlmod --java_runtime_version=remotejdk_11 |
OlderNewer