Commit 0aaaae0c authored by Jamie Bliss's avatar Jamie Bliss 🐍

Extra logging

parent 23ddc7be
Pipeline #24182130 passed with stage
in 1 minute and 4 seconds
......@@ -214,19 +214,24 @@ class Deployment(object):
"""
# 1. Set up a staging area in a place most likely to be on the same
# filesystem as the serving directory
log.debug("Make deployment buffer dir")
stagingdir = self._mkbufferdir()
# 2. Examine spirotop and do pre-extraction activities
# We don't actually have anything here
log.debug("Deployment pre-extract activities")
# 3. Extract the tarball
log.debug("Deployment extraction")
self._extract(tarfile, stagingdir)
# 4. Do post-extraction generation/compilation
log.debug("Deployment post-extract activities")
self._generate_topfile(stagingdir)
# 5. Shuffle directories making the staging area the production directory
# 6. Clean up the old version
log.debug("Deployment directory shuffle")
self._replace_directory(stagingdir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment