comms: retry synapse signing key job

This commit is contained in:
Brad Stein 2026-01-13 20:45:14 -03:00
parent 098a06e723
commit 47f0d1736e

View File

@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: othrys-synapse-signingkey-ensure-1 name: othrys-synapse-signingkey-ensure-2
namespace: comms namespace: comms
spec: spec:
backoffLimit: 2 backoffLimit: 2
@ -21,7 +21,11 @@ spec:
- | - |
set -euo pipefail set -euo pipefail
umask 077 umask 077
generate_signing_key -o /work/signing.key if which generate_signing_key.py >/dev/null; then
generate_signing_key.py -o /work/signing.key
else
generate_signing_key -o /work/signing.key
fi
volumeMounts: volumeMounts:
- name: work - name: work
mountPath: /work mountPath: /work