summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-09-08 20:42:05 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-09-08 20:42:05 +0530
commit48debb45c5761241d05984d9343ed8be298b5bbf (patch)
treec35763d28244f1d9a1af6b7a690cb45309f26897
parent200290c8c0161110ae3d4ca1f6257def6d72df39 (diff)
upload-cache: Print some more messages
-rw-r--r--cerbero/commands/cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cerbero/commands/cache.py b/cerbero/commands/cache.py
index f5b87366..5cd14f5c 100644
--- a/cerbero/commands/cache.py
+++ b/cerbero/commands/cache.py
@@ -214,7 +214,7 @@ class UploadCache(BaseCache):
sha = self.get_git_sha(args)
for dep in deps:
if dep['commit'] == sha:
- m.message('Cache already uploaded for this commit.')
+ m.message('Cache already uploaded for commit {}'.format(sha))
return
tmpdir = tempfile.mkdtemp()
@@ -235,6 +235,7 @@ class UploadCache(BaseCache):
f.write("\n")
f.close()
ssh_opt += ['-i', private_key_path]
+ print('Using private key using env var CERBERO_PRIVATE_SSH_KEY')
ssh_cmd = ['ssh'] + ssh_opt + [self.ssh_address]
scp_cmd = ['scp'] + ssh_opt