Skip to content

Commit 5c8b787

Browse files
committed
modified: setup.py
modified: singularity/build/google.py
1 parent 66bd1a0 commit 5c8b787

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name="singularity",
88

99
# Version number:
10-
version="0.52",
10+
version="0.53",
1111

1212
# Application author details:
1313
author="Vanessa Sochat",

singularity/build/google.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,10 @@ def run_build(build_dir=None,spec_file=None,repo_url=None,token=None,size=None,b
194194

195195
# If size is None, get from image + 50 padding
196196
if params['size'] == None:
197-
bot.logger.info("Size not detected for build. Will estimate with 50MB padding.")
198-
params['size'] = estimate_image_size(spec_file=os.path.abspath(params['spec_file']),
199-
sudopw='')
197+
bot.logger.info("Size not detected for build. Will estimate as 1024MB.")
198+
#params['size'] = estimate_image_size(spec_file=os.path.abspath(params['spec_file']),
199+
# sudopw='')
200+
params['size'] = 1024
200201

201202
image = build_from_spec(spec_file=params['spec_file'], # default will package the image
202203
size=params['size'],

0 commit comments

Comments
 (0)