Skip to content
Snippets Groups Projects
Commit f7904606 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Merge branch '76.deploy-key-decoding' into 'develop'

Use a new variable which actually holds a path

Closes #76

See merge request !136
parents b98dcb77 397d667c
No related branches found
No related tags found
3 merge requests!140Merge staging into production,!137Merge develop into staging,!136Use a new variable which actually holds a path
Pipeline #895 passed
......@@ -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
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment