Skip to content

Commit

Permalink
ci: fix stall on git log -1
Browse files Browse the repository at this point in the history
git log -1 may use a pager to output long messages, and when the pager
is invoked, leads to stalls on the ci system waiting for user input.
Use --oneline to print the short part of the commit message and
the digest. This information is for debug/informational purposes only,
so truncating the output is sufficient.

Reported-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Aug 11, 2020
1 parent 05bdc03 commit 071264c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/fedora-test-runner.sh
Expand Up @@ -67,7 +67,7 @@ dnf install -y \
cd "$SELINUX_DIR"

# Show HEAD commit for sanity checking
git log -1
git log --oneline -1

#
# Build and replace userspace components
Expand Down

0 comments on commit 071264c

Please sign in to comment.