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 <agrimberg@linuxfoundation.org>
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[*]}
;;