boxci 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/lib/boxci/templates/providers/openstack/Vagrantfile.erb +2 -2
- data/lib/boxci/templates/providers/virtualbox/Vagrantfile.erb +1 -1
- data/lib/boxci/tester.rb +10 -2
- data/lib/boxci/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bdd7f7f61f997c39fc4aca33b7e3b624ceabf79
|
4
|
+
data.tar.gz: 39e9c49f9dfc17bdf7b0a8b4ea839c133c2b497b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ccafee1d33627321805bcf836c39d124dba4b6e05a49dfb4a663b202deb99c7c5c6724151750458e1459d8b8bc7c2da65193e1e7c5f83937316c0fac6bcc448
|
7
|
+
data.tar.gz: 9cbfbb6a10119cf0726501993d4fb9abd60b3b7755d58a281937073b755277d100751e8983cdeb72e16d4f53e07dd05045e3d4e42367bd0e25d1a60a4760fb7a
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ versions as well as provide a rough history.
|
|
6
6
|
|
7
7
|
#### Next Release
|
8
8
|
|
9
|
+
#### v0.0.33
|
10
|
+
|
11
|
+
- Add `VAGRANT_LOG=debug` to `vagrant up` and `vagrant ssh-config` commands to
|
12
|
+
assist with identifying issues. This is only the case if the verbose switch
|
13
|
+
is set.
|
14
|
+
- Rename OpenStack hostnames to include boxci prefix instead of shanty prefix
|
15
|
+
[\#33](https://github.com/reachlocal/boxci/issues/33)
|
16
|
+
|
9
17
|
#### v0.0.32
|
10
18
|
|
11
19
|
- It should now add dummy boxes for various providers.
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -7,7 +7,7 @@ Vagrant.configure("2") do |config|
|
|
7
7
|
config.ssh.username = "<%= @provider_config.fetch("vagrant_user") %>"
|
8
8
|
|
9
9
|
config.vm.provider :openstack do |os|
|
10
|
-
os.server_name = "
|
10
|
+
os.server_name = "boxci<%= rand(10000) -%>.<%= @provider_config.fetch("domain_name") -%>"
|
11
11
|
os.username = "<%= @provider_config.fetch("username") %>"
|
12
12
|
os.api_key = "<%= @provider_config.fetch("password") %>"
|
13
13
|
os.flavor = Regexp.new('<%= @provider_config.fetch("box_size_flavor_map")[@project_config.box_size] -%>')
|
@@ -23,7 +23,7 @@ Vagrant.configure("2") do |config|
|
|
23
23
|
<% @project_config.puppet_facts.each do |k, v| %>
|
24
24
|
"<%= k %>" => "<%= v %>",
|
25
25
|
<% end %>
|
26
|
-
"role" => "
|
26
|
+
"role" => "boxci",
|
27
27
|
"vagrant_user" => "<%= @provider_config.fetch("vagrant_user") %>",
|
28
28
|
"vagrant_home" => "<%= @provider_config.fetch("vagrant_home") %>"
|
29
29
|
}
|
@@ -33,7 +33,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
33
33
|
<% @project_config.puppet_facts.each do |k, v| %>
|
34
34
|
"<%= k %>" => "<%= v %>",
|
35
35
|
<% end %>
|
36
|
-
"role" => "
|
36
|
+
"role" => "boxci",
|
37
37
|
"vagrant_user" => "<%= @provider_config.fetch("vagrant_user") %>",
|
38
38
|
"vagrant_home" => "<%= @provider_config.fetch("vagrant_home") %>"
|
39
39
|
}
|
data/lib/boxci/tester.rb
CHANGED
@@ -165,13 +165,21 @@ module Boxci
|
|
165
165
|
|
166
166
|
def spin_up_box
|
167
167
|
inside @project_workspace_folder do
|
168
|
-
|
168
|
+
if verbose?
|
169
|
+
run "VAGRANT_LOG=debug vagrant up --no-provision --provider #{provider}", :verbose => verbose?
|
170
|
+
else
|
171
|
+
run "vagrant up --no-provision --provider #{provider}"
|
172
|
+
end
|
169
173
|
end
|
170
174
|
end
|
171
175
|
|
172
176
|
def setup_ssh_config
|
173
177
|
inside @project_workspace_folder do
|
174
|
-
|
178
|
+
if verbose?
|
179
|
+
run "VAGRANT_LOG=debug vagrant ssh-config > ssh-config.local", :verbose => verbose?
|
180
|
+
else
|
181
|
+
run "vagrant ssh-config > ssh-config.local"
|
182
|
+
end
|
175
183
|
end
|
176
184
|
end
|
177
185
|
|
data/lib/boxci/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew De Ponte
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-03-
|
13
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|