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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b1d456bdd627be3796a9c7af9724710c63ec4e8
4
- data.tar.gz: 325efc85366988512045e09c0385d44a527f229e
3
+ metadata.gz: 1bdd7f7f61f997c39fc4aca33b7e3b624ceabf79
4
+ data.tar.gz: 39e9c49f9dfc17bdf7b0a8b4ea839c133c2b497b
5
5
  SHA512:
6
- metadata.gz: d4f494e6903765561d4a9350beed2adb4214eb8d90ab91c348a3506c35ba67d37eef6be90aa6494b10296d150fb4947f51c0e0b8e2c31ec90d57c303c0920ec2
7
- data.tar.gz: 90344c2b93929ccacbc39e2515d156f1d13f9237617088c2799b772a00f44f7e6dd53f32440efb1699953e473f96789573872d24ebcd2a155bdd820c0015a839
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
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in shanty.gemspec
3
+ # Specify your gem's dependencies in boxci.gemspec
4
4
  gemspec
5
5
 
6
6
  group :test do
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ RSpec::Core::RakeTask.new(:spec)
10
10
  task :console do
11
11
  require 'irb'
12
12
  require 'irb/completion'
13
- require 'shanty'
13
+ require 'boxci'
14
14
  ARGV.clear
15
15
  IRB.start
16
16
  end
@@ -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 = "shanty<%= rand(10000) -%>.<%= @provider_config.fetch("domain_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" => "shanty",
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" => "shanty",
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
- run "vagrant up --no-provision --provider #{provider}", :verbose => verbose?
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
- run "vagrant ssh-config > ssh-config.local", :verbose => verbose?
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
@@ -1,3 +1,3 @@
1
1
  module Boxci
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
3
3
  end
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.32
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-25 00:00:00.000000000 Z
13
+ date: 2014-03-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor