Commit 963b06a7 authored by Jérome Perrin's avatar Jérome Perrin

slaprunner: stop-on-error plone.recipe.command

If this command fail, instanciation should not succeed.
parent aa6def72
Pipeline #7377 failed with stage
in 0 seconds
......@@ -18,7 +18,7 @@ md5sum = 8b78e32b877d591400746ec7fd68ed4c
[template-runner]
filename = instance-runner.cfg
md5sum = 87545b1f9f3865c8cb1347edeb340678
md5sum = e13150f71bf68ad0f3e1af320511ba90
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
......
......@@ -338,6 +338,7 @@ key = $${slap-parameter:user-authorized-key}
[runner-sshkeys-publickey-fingerprint-cmd]
recipe = plone.recipe.command
stop-on-error = true
command = bash -o pipefail -c "$${runner-sshkeys-authority:keygen-binary} -lf $${runner-sshkeys-sshd:public-key} | cut -f 2 -d\ | sed 's/+/%2B/g' | sed 's/\//%2F/g' | sed 's/SHA256://'"
[runner-sshkeys-publickey-fingerprint-shelloutput]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment