This is an automated email from the ASF dual-hosted git repository.
mdeuser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 0c6d25d increase vagrant disksize using plugin vagrant-disksize
(#3561)
0c6d25d is described below
commit 0c6d25d9e1e996381c0cd118719e910f575aec27
Author: Carlos Santana <[email protected]>
AuthorDate: Thu Apr 19 11:19:46 2018 -0400
increase vagrant disksize using plugin vagrant-disksize (#3561)
---
tools/vagrant/README.md | 8 --------
tools/vagrant/Vagrantfile | 3 ++-
tools/vagrant/hello | 1 +
tools/vagrant/hello.cmd | 1 +
4 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/tools/vagrant/README.md b/tools/vagrant/README.md
index 18a216b..66d7bdb 100644
--- a/tools/vagrant/README.md
+++ b/tools/vagrant/README.md
@@ -158,14 +158,6 @@ vagrant ssh
wsk action invoke /whisk.system/utils/echo -p message hello --result
```
-## Other Runntimes
-The default vagrant deploy only deploys nodejs:6 runtime kind, because the
image runs out of space if all runtimes are built.
-To add a runtime, you need to build the runtime image for example
-```
-wskdev python3action
-```
-To get a list of other available runtimes use `wskdev -c`
-
## Running OpenWhisk tests
```
vagrant ssh
diff --git a/tools/vagrant/Vagrantfile b/tools/vagrant/Vagrantfile
index 2689ec8..7d8f244 100644
--- a/tools/vagrant/Vagrantfile
+++ b/tools/vagrant/Vagrantfile
@@ -16,6 +16,7 @@ OW_DB = if ENV['OW_DB'] =~ (/^(cloudant|couchdb)$/i) then
true else false end
Vagrant.configure('2') do |config|
config.vm.box = BOX
+ config.disksize.size = '50GB'
config.vm.network :private_network, ip: MACHINE_IP
# If true, then any SSH connections made will enable agent forwarding.
@@ -125,7 +126,7 @@ Vagrant.configure('2') do |config|
# Build OpenWhisk using gradle
echo "`date`: build-core-start" >> /tmp/vagrant-times.txt
cd ${OPENWHISK_HOME}
- su vagrant -c './gradlew :core:controller:distDocker
:core:invoker:distDocker :actionRuntimes:nodejs6Action:distDocker'
+ su vagrant -c './gradlew distDocker'
echo "`date`: build-core-end" >> /tmp/vagrant-times.txt
# Clone and Build CLI
diff --git a/tools/vagrant/hello b/tools/vagrant/hello
index d44bd17..a776663 100755
--- a/tools/vagrant/hello
+++ b/tools/vagrant/hello
@@ -5,5 +5,6 @@ if [ -d ".vagrant" ]; then
vagrant destroy
fi
+vagrant plugin install vagrant-disksize
vagrant up
diff --git a/tools/vagrant/hello.cmd b/tools/vagrant/hello.cmd
index 16c535a..9f60aef 100644
--- a/tools/vagrant/hello.cmd
+++ b/tools/vagrant/hello.cmd
@@ -3,4 +3,5 @@ IF NOT EXIST .vagrant\ GOTO SKIPDESTROY
vagrant destroy
:SKIPDESTROY
+vagrant plugin install vagrant-disksize
vagrant up
--
To stop receiving notification emails like this one, please contact
[email protected].