From 3a2541d3bf53c3cc1a7428cd9cbb5cfbc50c5707 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 26 Apr 2019 16:16:14 +0100 Subject: [PATCH] more logging for auto-deployer --- scripts/redeploy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/redeploy.py b/scripts/redeploy.py index 5cf45feb26..7c9e4cf675 100755 --- a/scripts/redeploy.py +++ b/scripts/redeploy.py @@ -166,6 +166,8 @@ def deploy_tarball(artifact, build_dir): ) os.mkdir(build_dir) + print("Fetching artifact %s -> %s..." % (artifact['download_url'], artifact['filename']) + # Download the tarball here as buildkite needs auth to do this # we don't pgp-sign buildkite artifacts, relying on HTTPS and buildkite # not being evil. If that's not good enough for you, don't use riot.im/develop. @@ -173,6 +175,7 @@ def deploy_tarball(artifact, build_dir): resp.raise_for_status() with open(artifact['filename'], 'wb') as ofp: shutil.copyfileobj(resp.raw, ofp) + print("...download complete. Deploying...") # we rely on the fact that flask only serves one request at a time to # ensure that we do not overwrite a tarball from a concurrent request.