diff options
author | Erich Eckner <git@eckner.net> | 2018-06-05 10:34:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-05 10:34:56 +0200 |
commit | 7f37c797b59f193bb9d48395f8400776832c98f5 (patch) | |
tree | a19063081b168678899d7a21a28b04cddd03d3fb /bin/get-assignment | |
parent | 13226434ea25cedda7c0ce96c50bfe8febdd266a (diff) | |
download | builder-7f37c797b59f193bb9d48395f8400776832c98f5.tar.xz |
bin/get-assignment: set `build_slaves`.`is_sane`=1 on handing out an assignment
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-x | bin/get-assignment | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment index a57780e..4252765 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -52,8 +52,9 @@ hand_out_assignment() { printf ';\n' printf 'UPDATE `build_slaves`' - printf ' SET `currently_building`=%s' \ + printf ' SET `build_slaves`.`currently_building`=%s,' \ "$1" + printf ' `build_slaves`.`is_sane`=1' # shellcheck disable=SC2154 printf ' WHERE `build_slaves`.`id`=from_base64("%s");\n' \ "$(printf '%s' "${slave_id}" | base64 -w0)" |