Skip to content

Commit

Permalink
fix depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Aug 26, 2024
1 parent d395c9a commit d3944c0
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions soil/web-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,18 @@ remote-cleanup-jobs-index() {

remote-cleanup-status-api() {
#sshq soil-web/soil/web.sh cleanup-status-api false
# 2024-07 - work around bug. The logic in soil/web.sh doesn't seem right
sshq soil-web/soil/web.sh cleanup-status-api true
# 2024-07 - work around bug by doing dry_run only.
#
# TODO: Fix the logic in soil/web.sh

if false; then
sshq soil-web/soil/web.sh cleanup-status-api true
else
curl --include \
--form 'run-hook=soil-cleanup-status-api' \
--form 'arg1=true' \
$WWUP_URL
fi
}

my-scp() {
Expand Down Expand Up @@ -96,7 +106,7 @@ scp-status-api() {
# the dir
curl --include \
--form 'payload-type=status-api' \
--form "subdir=github/$run_id/$job_name" \
--form "subdir=github/$run_id" \
--form "file1=@$status_file" \
$WWUP_URL
fi
Expand Down

0 comments on commit d3944c0

Please sign in to comment.