Commit f24e7b72 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

cerbero ci: Don't expand the ssh private key

Because of set -x we were printing the key into the CI logs:

Don't ever expand the variable in shell.
parent bdbec90a
Pipeline #202811 waiting for manual action with stages
in 33 seconds
......@@ -107,7 +107,10 @@ cerbero_deps_script() {
if [[ -n ${CERBERO_PRIVATE_SSH_KEY} ]]; then
# Check that the env var is set. Don't expand this protected variable by
# doing something silly like [[ -n ${CERBERO_...} ]] because it will get
# printed in the CI logs due to set -x
if env | grep -q -e CERBERO_PRIVATE_SSH_KEY; then
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