This repository was archived by the owner on Jan 6, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-18
lines changed Expand file tree Collapse file tree 4 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 1
- var current_version = '0.4.1 ' ;
2
- var new_version = '0.4.2 ' ;
1
+ var current_version = '0.4.2 ' ;
2
+ var new_version = '0.4.3 ' ;
3
3
4
4
module . exports = function ( grunt ) {
5
5
grunt . loadNpmTasks ( 'grunt-replace' ) ;
Original file line number Diff line number Diff line change 1
- 0.4.2
1
+ 0.4.3
Original file line number Diff line number Diff line change 1
- VERSION = "0.4.2"
1
+ VERSION = "0.4.3"
2
+ BASE_BOX_VERSION = "0.4.3"
2
3
3
4
require 'yaml'
4
5
10
11
11
12
vm_config = YAML . load_file ( "config.yml" )
12
13
13
- VAGRANT_COMMAND = ARGV [ 0 ]
14
-
15
14
Vagrant . configure ( "2" ) do |config |
16
15
config . vm . box = "dockerizedrupal/base-ubuntu-trusty"
17
- config . vm . box_version = VERSION
16
+ config . vm . box_version = BASE_BOX_VERSION
18
17
config . vm . box_check_update = false
19
18
20
19
config . vm . hostname = vm_config [ "server_name" ]
@@ -63,20 +62,13 @@ Vagrant.configure("2") do |config|
63
62
64
63
vhost_run() {
65
64
local server_name="${1}"
66
- local tmp="$(mktemp -d)"
67
-
68
- git clone https://github.com/dockerizedrupal/vhost.git "${tmp}"
69
-
70
- cd "${tmp}"
71
-
72
- git checkout 1.1.6
73
-
74
- cp ./docker-compose.yml /opt/vhost.yml
75
65
76
- sed -i "s/SERVER_NAME=localhost /SERVER_NAME=${server_name}/" /opt/vhost.yml
66
+ sed -i "s/SERVER_NAME=dev /SERVER_NAME=${server_name}/" /opt/vhost.yml
77
67
sed -i "s/HOSTS_IP_ADDRESS=127.0.0.1/HOSTS_IP_ADDRESS=${IP_ADDRESS}/" /opt/vhost.yml
78
68
sed -i "s|/etc/hosts|/winhost/etc/hosts|" /opt/vhost.yml
79
69
70
+ docker-compose -f /opt/vhost.yml kill
71
+ docker-compose -f /opt/vhost.yml rm -f
80
72
docker-compose -f /opt/vhost.yml up -d
81
73
}
82
74
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vagrant-dockerizedrupal" ,
3
- "version" : " 0.4.2 " ,
3
+ "version" : " 0.4.3 " ,
4
4
"repository" : {
5
5
"type" : " git" ,
6
6
"url" : " https://github.com/dockerizedrupal/vagrant-dockerizedrupal.git"
You can’t perform that action at this time.
0 commit comments