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

just your friendly neighborhood toaster

parent 65b832bc
No related branches found
No related tags found
3 merge requests!140Merge staging into production,!122Merge develop into staging,!115Continuous deployment for the grid systems
Pipeline #814 passed
...@@ -77,6 +77,11 @@ deploy-to-staging: ...@@ -77,6 +77,11 @@ deploy-to-staging:
name: "staging" name: "staging"
url: "https://privatestorage-staging.com/" url: "https://privatestorage-staging.com/"
script: script:
# Announce our intentions.
- |
echo "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE"
echo "and I am deploying the $CI_COMMIT_BRANCH branch to the $CI_ENVIRONMENT_NAME environment."
# Copy the deploy key from the environment to a file so we can actually # Copy the deploy key from the environment to a file so we can actually
# tell ssh to use it. # tell ssh to use it.
- | - |
...@@ -88,7 +93,7 @@ deploy-to-staging: ...@@ -88,7 +93,7 @@ deploy-to-staging:
- | - |
./ci-tools/deploy-to-staging "${PWD}"/deploy_key ${name} ./ci-tools/deploy-to-staging "${PWD}"/deploy_key ${name}
# Remove the key from the filesystem to less the chance of unintentional # Remove the key from the filesystem to reduce the chance of unintentional
# disclosure. Overall our handling of this key is still not *particulary* # disclosure. Overall our handling of this key is still not *particulary*
# safe or secure but that's why the key is only authorized to perform a # safe or secure but that's why the key is only authorized to perform a
# single very specific operation. # single very specific operation.
......
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