You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/05/15 02:16:21 UTC

[incubator-openwhisk] branch master updated: switching vagrant to use cli remote mode (#3651)

This is an automated email from the ASF dual-hosted git repository.

csantanapr 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 403d341  switching vagrant to use cli remote mode (#3651)
403d341 is described below

commit 403d3417f09f145969a936f322c620f6bc5204ff
Author: Carlos Santana <cs...@apache.org>
AuthorDate: Mon May 14 22:16:16 2018 -0400

    switching vagrant to use cli remote mode (#3651)
---
 ansible/environments/vagrant/group_vars/all | 2 +-
 tools/vagrant/Vagrantfile                   | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/ansible/environments/vagrant/group_vars/all b/ansible/environments/vagrant/group_vars/all
index 2015f0f..2c76006 100755
--- a/ansible/environments/vagrant/group_vars/all
+++ b/ansible/environments/vagrant/group_vars/all
@@ -37,6 +37,6 @@ env_hosts_dir: "{{ playbook_dir }}/environments/local"
 
 controller_protocol: "http"
 
-cli_installation_mode: "local"
+cli_installation_mode: "remote"
 
 invoker_use_runc: false
diff --git a/tools/vagrant/Vagrantfile b/tools/vagrant/Vagrantfile
index 3d2bae2..4371351 100644
--- a/tools/vagrant/Vagrantfile
+++ b/tools/vagrant/Vagrantfile
@@ -144,15 +144,6 @@ Vagrant.configure('2') do |config|
     su vagrant -c './gradlew distDocker'
     echo "`date`: build-core-end" >> /tmp/vagrant-times.txt
 
-    # Clone and Build CLI
-    echo "`date`: build-cli-start" >> /tmp/vagrant-times.txt
-    cd ${OPENWHISK_HOME}/bin
-    rm -rf openwhisk-cli
-    su vagrant -c 'git clone --depth=1 https://github.com/apache/incubator-openwhisk-cli.git openwhisk-cli'
-    cd openwhisk-cli
-    su vagrant -c './gradlew releaseBinaries'
-    echo "`date`: build-cli-end" >> /tmp/vagrant-times.txt
-
     # Deploy OpenWhisk using ansible
     echo "`date`: deploy-start" >> /tmp/vagrant-times.txt
     cd ${ANSIBLE_HOME}

-- 
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.