-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VIVO-1648] upgrade to v1.10.0 (#43)
* vivo 1.10 vagrant * add synced src directory * src directory auto created * removed redundant tomcat restart * add back vmwar_fusion support, some cleanup * update readme * increase memory for performance, minor readme updates * allow re-provisioning, ignore failing commands in which have been ran before * add java ca cert configure back * clean maven install for re-provisioning * add 1.9 to list of previous versions * fix vlog alias, deploy v1.10 release from tag Resolves: https://jira.duraspace.org/browse/VIVO-1648
- Loading branch information
Showing
18 changed files
with
940 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vagrant* | ||
*~ | ||
work/* | ||
src/* | ||
work/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,78 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
# All Vagrant configuration is done below. The "2" in Vagrant.configure | ||
# configures the configuration version (we support older styles for | ||
# backwards compatibility). Please don't change it unless you know what | ||
# you're doing. | ||
Vagrant.configure("2") do |config| | ||
|
||
config.vm.provider "virtualbox" do |v,override| | ||
config.vm.box = "ubuntu/xenial64" | ||
v.gui = false | ||
v.cpus = 1 | ||
v.memory = 1024 | ||
end | ||
|
||
config.vm.provider "vmware_fusion" do |v,override| | ||
v.gui = false | ||
v.vmx["numvcpus"] = "1" | ||
v.vmx["memsize"] = "1024" | ||
override.vm.box = "precise64_vmware_fusion" | ||
override.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box" | ||
end | ||
# The most common configuration options are documented and commented below. | ||
# For a complete reference, please see the online documentation at | ||
# https://docs.vagrantup.com. | ||
|
||
# Assign this VM to a host-only network IP, allowing you to access it | ||
# via the IP. Host-only networks can talk to the host machine as well as | ||
# any other machines on the same network, but cannot be accessed (through this | ||
# network interface) by any external networks. | ||
# config.vm.network :hostonly, "192.168.33.10" | ||
# Every Vagrant development environment requires a box. You can search for | ||
# boxes at https://vagrantcloud.com/search. | ||
config.vm.box = "hashicorp-vagrant/ubuntu-16.04" | ||
|
||
# Assign this VM to a bridged network, allowing you to connect directly to a | ||
# network using the host's network device. This makes the VM appear as another | ||
# physical device on your network. | ||
# config.vm.network :bridged | ||
# Disable automatic box update checking. If you disable this, then | ||
# boxes will only be checked for updates when the user runs | ||
# `vagrant box outdated`. This is not recommended. | ||
# config.vm.box_check_update = false | ||
|
||
# Forward a port from the guest to the host, which allows for outside | ||
# computers to access the VM, whereas host only networking does not. | ||
# Create a forwarded port mapping which allows access to a specific port | ||
# within the machine from a port on the host machine. In the example below, | ||
# accessing "localhost:8080" will access port 80 on the guest machine. | ||
# NOTE: This will enable public access to the opened port | ||
config.vm.network "forwarded_port", guest: 80, host: 8081 | ||
config.vm.network "forwarded_port", guest: 8080, host: 8080 | ||
config.vm.network "forwarded_port", guest: 8000, host: 8000 | ||
|
||
# Create a forwarded port mapping which allows access to a specific port | ||
# within the machine from a port on the host machine and only allow access | ||
# via 127.0.0.1 to disable public access | ||
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" | ||
|
||
# Create a private network, which allows host-only access to the machine | ||
# using a specific IP. | ||
# config.vm.network "private_network", ip: "192.168.33.10" | ||
|
||
# Create a public network, which generally matched to bridged network. | ||
# Bridged networks make the machine appear as another physical device on | ||
# your network. | ||
# config.vm.network "public_network" | ||
|
||
# Share an additional folder to the guest VM. The first argument is | ||
# an identifier, the second is the path on the guest to mount the | ||
# folder, and the third is the path on the host to the actual folder. | ||
config.vm.synced_folder "work", "/work" | ||
# the path on the host to the actual folder. The second argument is | ||
# the path on the guest to mount the folder. And the optional third | ||
# argument is a set of non-required options. | ||
config.vm.synced_folder "provision", "/home/vagrant/provision" | ||
config.vm.synced_folder "src", "/home/vagrant/src" | ||
config.vm.synced_folder "work", "/work" | ||
|
||
#config.vm.share_folder "v-data", "/work", "work" | ||
#config.vm.share_folder "provision", "/home/vagrant/provision", "provision" | ||
# Provider-specific configuration so you can fine-tune various | ||
# backing providers for Vagrant. These expose provider-specific options. | ||
# Example for VirtualBox: | ||
|
||
config.vm.provider "virtualbox" do |vb| | ||
# Display the VirtualBox GUI when booting the machine | ||
vb.gui = false | ||
# Customize number of CPUs on the VM: | ||
vb.cpus = 1 | ||
# Customize the amount of memory on the VM: | ||
vb.memory = "4096" | ||
end | ||
|
||
# Setup box | ||
config.vm.provision "bootstrap", type: "shell" do |s| | ||
s.path = "provision/bootstrap.sh" | ||
s.privileged = true | ||
config.vm.provider "vmware_fusion" do |v,override| | ||
v.gui = false | ||
v.vmx["numvcpus"] = "1" | ||
v.vmx["memsize"] = "4096" | ||
end | ||
|
||
# Setup box | ||
config.vm.provision "bootstrap", type: "shell", path: "provision/bootstrap.sh", privileged: true | ||
|
||
# Install VIVO | ||
config.vm.provision "vivo", type: "shell" do |s| | ||
s.path = "provision/vivo/install.sh" | ||
s.privileged = true | ||
end | ||
config.vm.provision "vivo", type: "shell", path: "provision/install.sh", privileged: true | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.