From 397d667c66320d0c1a0aeb41baf04998d3d6966e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 19 Jul 2021 15:10:19 -0400 Subject: [PATCH] Use a new variable which actually holds a path --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc536cde..1c63888c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -90,10 +90,13 @@ system-tests: # Make up a safe-ish place on the filesystem to write the key. KEY_PATH="$(mktemp -d)/deploy_key" - # The environment variable holding the key is configured with GitLab - # using Terraform so we can retain some bare minimum level of - # confidentiality. - base64 --decode "${PRIVATESTORAGEIO_STAGING_SSH_DEPLOY_KEY}" > "${KEY_PATH}" + # The environment variable holding the path to the key is configured + # with GitLab using Terraform so we can retain some bare minimum level + # of confidentiality. + # + # It contains the *path to the key*. It does not contain the key + # itself. + base64 --decode "${PRIVATESTORAGEIO_SSH_DEPLOY_KEY_PATH}" > "${KEY_PATH}" # Update the deployment - | -- GitLab