Skip to content

Commit

Permalink
[soil] Adjust spew from status API hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Jan 13, 2025
1 parent 4e185bc commit 4b795d5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions soil/web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ cleanup-status-api() {

local dir=$SOIL_HOST_DIR/uuu/status-api/github

pushd $dir
pushd $dir > /dev/null
case $dry_run in
false)
# delete all but the last 30
Expand All @@ -136,12 +136,14 @@ cleanup-status-api() {
true)
# TODO: fix spew
#ls | head -n -30
ls | head
echo 'Last 10 status entries'
echo
ls | tail
;;
*)
log 'Expected true or false for dry_run'
esac
popd
popd > /dev/null
}

event-job-done() {
Expand Down

0 comments on commit 4b795d5

Please sign in to comment.