Skip to content
This repository was archived by the owner on Jan 6, 2018. It is now read-only.

Commit 966d76d

Browse files
committed
1 parent b91d32d commit 966d76d

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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';
33

44
module.exports = function(grunt) {
55
grunt.loadNpmTasks('grunt-replace');

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.2
1+
0.4.3

Vagrantfile

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
VERSION = "0.4.2"
1+
VERSION = "0.4.3"
2+
BASE_BOX_VERSION = "0.4.3"
23

34
require 'yaml'
45

@@ -10,11 +11,9 @@ end
1011

1112
vm_config = YAML.load_file("config.yml")
1213

13-
VAGRANT_COMMAND = ARGV[0]
14-
1514
Vagrant.configure("2") do |config|
1615
config.vm.box = "dockerizedrupal/base-ubuntu-trusty"
17-
config.vm.box_version = VERSION
16+
config.vm.box_version = BASE_BOX_VERSION
1817
config.vm.box_check_update = false
1918

2019
config.vm.hostname = vm_config["server_name"]
@@ -63,20 +62,13 @@ Vagrant.configure("2") do |config|
6362
6463
vhost_run() {
6564
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
7565
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
7767
sed -i "s/HOSTS_IP_ADDRESS=127.0.0.1/HOSTS_IP_ADDRESS=${IP_ADDRESS}/" /opt/vhost.yml
7868
sed -i "s|/etc/hosts|/winhost/etc/hosts|" /opt/vhost.yml
7969
70+
docker-compose -f /opt/vhost.yml kill
71+
docker-compose -f /opt/vhost.yml rm -f
8072
docker-compose -f /opt/vhost.yml up -d
8173
}
8274

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vagrant-dockerizedrupal",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/dockerizedrupal/vagrant-dockerizedrupal.git"

0 commit comments

Comments
 (0)