diff options
Diffstat (limited to 'scripts/do-release.py')
-rw-r--r-- | scripts/do-release.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/do-release.py b/scripts/do-release.py index 5a86f090..6b487b41 100644 --- a/scripts/do-release.py +++ b/scripts/do-release.py @@ -36,16 +36,16 @@ See: <http://wiki.baserock.org/guides/release-process>. class config(object): - release_number = RELEASE NUMBER + release_number = '<RELEASE NUMBER>' - build_trove = 'hawkdevtrove' + build_trove = '<YOUR BUILD TROVE>' release_trove = 'git.baserock.org' deploy_workspace = '/src/ws-release' images_dir = '/src/release' artifacts_dir = '/src/release/artifacts' - images_server = <YOUR USERNAME> '@download.baserock.org' + images_server = '<YOUR USERNAME>@download.baserock.org' artifacts_server = 'root@git.baserock.org' # These paths are passed to rsync and ssh, so relative paths will be @@ -113,7 +113,7 @@ class DeployImages(object): status('Reusing existing workspace %s' % path) repo = 'baserock:baserock/definitions' - branch = 'master' + branch = 'baserock-%s' % config.release_number with cwd(path): if not os.path.exists(branch): @@ -252,7 +252,8 @@ class PrepareArtifacts(object): else: text = cliapp.runcmd( ['morph', '--quiet', '--trove-host=%s' % config.build_trove, - 'list-artifacts', 'baserock:baserock/definitions', 'master'] + + 'list-artifacts', 'baserock:baserock/definitions', + 'baserock-%s' % config.release_number] + system_morphs) artifact_basenames = text.strip().split('\n') with morphlib.savefile.SaveFile(artifact_manifest, 'w') as f: |