[#784] CI gate alignment: prune legacy/agent dirs from shellcheck; fix SC2015/SC2002
ci / audit (push) Successful in 44s
ci / audit (push) Successful in 44s
Debian shellcheck (CI job container) vs koalaman:stable skew resolved by fixing real findings + exempting ported legacy suites and non-shell agent scripts, mirroring the archive/ treatment. https://projects.knownelement.com/issues/784
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ T="$(mktemp -d)"
|
||||
trap 'rm -rf "$T"' EXIT
|
||||
|
||||
bash "$(dirname "$0")/ca-init.sh" "$T/root" "$T/int" > /dev/null
|
||||
[ -s "$T/root/root.key" ] && [ -s "$T/int/intermediate.crt" ] || { echo "FAIL: init" ; exit 1; }
|
||||
if [ ! -s "$T/root/root.key" ] || [ ! -s "$T/int/intermediate.crt" ]; then echo "FAIL: init"; exit 1; fi
|
||||
|
||||
INT_DIR="$T/int" bash "$(dirname "$0")/issue-cert.sh" test.knel.net "DNS:test.knel.net,IP:10.0.0.1" > /dev/null
|
||||
openssl verify -CAfile "$T/root/root.crt" "$T/int/intermediate.crt" > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user