You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/19 15:19:48 UTC

[GitHub] mdeuser closed pull request #3561: increase vagrant disksize using plugin vagrant-disksize

mdeuser closed pull request #3561: increase vagrant disksize using plugin vagrant-disksize
URL: https://github.com/apache/incubator-openwhisk/pull/3561
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tools/vagrant/README.md b/tools/vagrant/README.md
index 18a216bb21..66d7bdbdcc 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 2689ec8cd6..7d8f2444e9 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 d44bd174c5..a776663051 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 16c535a909..9f60aef8c3 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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services