From 9507774a23a1fa13029059ec626af6908ea1567f Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Mon, 10 Sep 2018 12:29:04 -0700 Subject: [PATCH] Disable fast fail on parallel sigul Sigul bridges seem to possibly have an issue with a lot of in parallel signing requests. This is either an issue with the bridge, the server, or a disconnected across the network VPN backhaul between the server and bridge. Instead of having the signing just outright fail on the first problem, we should try a few times. Change-Id: I98a5c8adeb25e892899a221dc2078a9fc779f74e Signed-off-by: Andrew Grimberg --- shell/sign | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/sign b/shell/sign index ceff4914..d5725601 100755 --- a/shell/sign +++ b/shell/sign @@ -103,7 +103,7 @@ sign_dir() { sigul ) # We need to wordsplit ${files_to_sign[*]} so disable quoting check # shellcheck disable=SC2086 - parallel --no-notice --jobs 200% --halt now,fail=1 \ + parallel --no-notice --jobs 200% --retries 3 \ "sigul --batch -c $SIGUL_CONFIG sign-data -a -o {}.asc \ $SIGUL_KEY {} < $SIGUL_PASSWORD" ::: ${files_to_sign[*]} ;; -- 2.16.6