summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-11-20 09:46:23 (GMT)
committerMartin Pitt <martin.pitt@ubuntu.com>2015-11-20 09:46:23 (GMT)
commit177760351012284ccd31cc767d67f91f2f5ee0bd (patch)
treee9378263314bd9f656cc11bd7a930235803d3530
parent3daee0e14dd6ac793a20a7df45ee6a8ead346a03 (diff)
deployment: Require more RAM for worker
Now that we run more workers in parallel we often hit OOM errors with just 2 GB.
-rwxr-xr-xdeployment/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/deploy.sh b/deployment/deploy.sh
index f540c19..9c11937 100755
--- a/deployment/deploy.sh
+++ b/deployment/deploy.sh
@@ -165,7 +165,7 @@ if [ -n "$MAIL_NOTIFY" ]; then
echo " mail-notify: $MAIL_NOTIFY" >> "$config_yaml"
fi
- juju deploy --repository "$MYDIR/charms" --constraints 'root-disk=40G' --config "$config_yaml" local:trusty/autopkgtest-cloud-worker
+ juju deploy --repository "$MYDIR/charms" --constraints 'root-disk=40G mem=8G' --config "$config_yaml" local:trusty/autopkgtest-cloud-worker
DEPLOYED_WORKER=1
fi