nixpkgs-update: shellcheck, shfmt worker script
This commit is contained in:
parent
e37d6f9f6c
commit
a3109acfde
1 changed files with 28 additions and 27 deletions
|
@ -28,7 +28,7 @@ while true; do
|
||||||
sleep 60
|
sleep 60
|
||||||
;;
|
;;
|
||||||
JOB\ *)
|
JOB\ *)
|
||||||
read -r attr_path payload <<< "${response#JOB }"
|
read -r attr_path payload <<<"${response#JOB }"
|
||||||
# If one worker is initializing the nixpkgs clone, the other will
|
# If one worker is initializing the nixpkgs clone, the other will
|
||||||
# try to use the incomplete clone, consuming a bunch of jobs and
|
# try to use the incomplete clone, consuming a bunch of jobs and
|
||||||
# throwing them away. So we use a crude locking mechanism to
|
# throwing them away. So we use a crude locking mechanism to
|
||||||
|
@ -47,5 +47,6 @@ while true; do
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
done
|
||||||
run-nixpkgs-update
|
run-nixpkgs-update
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue