Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change minimum size to 10G #223

Merged
merged 1 commit into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -62,7 +62,7 @@ ifdef IMAGE_BOOTSCRIPT_$(TARGET_SCW_ARCH)
IMAGE_BOOTSCRIPT = $(IMAGE_BOOTSCRIPT_$(TARGET_SCW_ARCH))
endif

IMAGE_DISK_SIZE ?= 50G
IMAGE_DISK_SIZE ?= 10G

ifeq ($(shell which scw-metadata >/dev/null 2>&1; echo $$?), 0)
IS_SCW_HOST := y
Expand Down
2 changes: 1 addition & 1 deletion jenkins/image.groovy
Expand Up @@ -37,7 +37,7 @@ return {
throw new hudson.AbortException("Error: does version '${env.IMAGE_VERSION}' exist in manifest?")
}
// All of this is a hack, it needs to be fixed properly. Notably, images need to be per-product
env.IMAGE_DISK_SIZE = "50G"
env.IMAGE_DISK_SIZE = "10G"
if (image_version.containsKey('options')) {
if (image_version['options'].containsKey('disk-size')) {
env.IMAGE_DISK_SIZE = image_version['options']['disk-size']
Expand Down