summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-08 17:56:11 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-08 17:56:11 +0100
commita310d868bbe4f6d3fd7d1f9b75c682ed06def45a (patch)
treecad7d3d5f8fb8af06f1db5a4c9d4291e2e24cb51
parent5994728a447e0bf76bf97414891b3f7be01d60b3 (diff)
parent6b7b11f5db1a0a6f7d8068d14e22537b4a1d7585 (diff)
downloaddefinitions-a310d868bbe4f6d3fd7d1f9b75c682ed06def45a.tar.gz
Merge branch 'sam/do-release-tidy'
Reviewed-By: Richard Ipsum <richard.ipsum@codethink.co.uk> Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
-rw-r--r--scripts/do-release.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/do-release.py b/scripts/do-release.py
index 43ce7201..5a86f090 100644
--- a/scripts/do-release.py
+++ b/scripts/do-release.py
@@ -41,8 +41,6 @@ class config(object):
build_trove = 'hawkdevtrove'
release_trove = 'git.baserock.org'
- # Note that the 'location' field of the various systems in release.morph
- # should match 'images_dir' here.
deploy_workspace = '/src/ws-release'
images_dir = '/src/release'
artifacts_dir = '/src/release/artifacts'
@@ -71,8 +69,7 @@ def status(message, *args):
@contextlib.contextmanager
def cwd(path):
- '''
- Context manager to set current working directory.'''
+ '''Context manager to set current working directory.'''
old_cwd = os.getcwd()
os.chdir(path)
try:
@@ -212,6 +209,7 @@ class DeployImages(object):
class ArtifactsBundle(object):
+ '''State that is the results of the PrepareArtifacts stage.'''
def __init__(self, all_artifacts, new_artifacts,
all_artifacts_manifest, all_artifacts_tar,
new_artifacts_tar):