From 34cbfbfb1023f05d4aa76aeafc03396636c4fbc2 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Thu, 1 Jul 2021 09:23:01 -0400 Subject: [PATCH] just your friendly neighborhood toaster --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae667140..48e6df1c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,6 +77,11 @@ deploy-to-staging: name: "staging" url: "https://privatestorage-staging.com/" 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 # tell ssh to use it. - | @@ -88,7 +93,7 @@ deploy-to-staging: - | ./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* # safe or secure but that's why the key is only authorized to perform a # single very specific operation. -- GitLab