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

ci: yocto-patchreview: run blame command to get additional context #83

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ci/yocto-patchreview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ TOPDIR=$(realpath $(dirname $(readlink -f $0))/..)
# Allows the caller to specify KAS_WORK_DIR, otherwise make temp one
export KAS_WORK_DIR=$(realpath ${KAS_WORK_DIR:-$(mktemp -d)})

# TODO: add -b option when https://lore.kernel.org/openembedded-core/[email protected]/T/#u is merged
echo "Running kas in $KAS_WORK_DIR"
kas shell $TOPDIR/ci/base.yml --command "$KAS_WORK_DIR/poky/scripts/contrib/patchreview.py -v -j status.json $TOPDIR"
kas shell $TOPDIR/ci/base.yml --command "$KAS_WORK_DIR/poky/scripts/contrib/patchreview.py -v -b -j status.json $TOPDIR"

# return an error if any malformed patch is found
cat $KAS_WORK_DIR/build/status.json |
Expand Down
Loading