barking_iguana-compound 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/CHANGELOG.md +6 -1
- data/examples/simple/Gemfile.lock +4 -4
- data/lib/barking_iguana/compound/test_suite.rb +18 -12
- data/lib/barking_iguana/compound/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1695c5773e4e5dd661eed49427a063507370c735
|
4
|
+
data.tar.gz: 1a1410509e1ce0fbbd67af8a81b40118584ca339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c093006bfc362f1543db2a512ccfb6d2fe92b36915f1664cc863a8a7ae87ce0a1d9c57a4b543b1c5a8f0d49e67863fa015e3b721469050f50d1e2b75b32e8fba
|
7
|
+
data.tar.gz: 93eedceac7b96478389bdf0c3c610fec71ec8d85e00210cb71f350a9dbec4b643429815f35fa19437c8697deb1746078b61540e197eb573687ca4bacbeca1399
|
data/docs/CHANGELOG.md
CHANGED
@@ -2,10 +2,15 @@
|
|
2
2
|
|
3
3
|
Entries are in reverse chronological order.
|
4
4
|
|
5
|
-
## *0.1.
|
5
|
+
## *0.1.10* (Current Development)
|
6
6
|
|
7
7
|
Add release notes here, as things are added to the project.
|
8
8
|
|
9
|
+
## *0.1.9* (2017-01-12)
|
10
|
+
|
11
|
+
* Only generate per-stage per-action tasks if the ENV variable `DEBUG` is set
|
12
|
+
(to anything that's not the empty string).
|
13
|
+
|
9
14
|
## *0.1.8* (2017-01-08)
|
10
15
|
|
11
16
|
* Clean up the generated inventory after the test has run.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../../
|
3
3
|
specs:
|
4
|
-
barking_iguana-compound (0.1.
|
4
|
+
barking_iguana-compound (0.1.8)
|
5
5
|
ansible_spec
|
6
6
|
barking_iguana-benchmark
|
7
7
|
barking_iguana-logging
|
@@ -19,8 +19,8 @@ GEM
|
|
19
19
|
oj
|
20
20
|
serverspec (>= 2.0.0)
|
21
21
|
winrm
|
22
|
-
barking_iguana-benchmark (0.1.
|
23
|
-
barking_iguana-logging (0.1.
|
22
|
+
barking_iguana-benchmark (0.1.1)
|
23
|
+
barking_iguana-logging (0.1.6)
|
24
24
|
barking_iguana-otk
|
25
25
|
term-ansicolor
|
26
26
|
barking_iguana-otk (0.1.0)
|
@@ -99,4 +99,4 @@ DEPENDENCIES
|
|
99
99
|
rake
|
100
100
|
|
101
101
|
BUNDLED WITH
|
102
|
-
1.13.
|
102
|
+
1.13.7
|
@@ -15,23 +15,29 @@ module BarkingIguana
|
|
15
15
|
test.run
|
16
16
|
end.add_description "Run #{test.name} test from #{name} suite"
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
stage.
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
stage.
|
25
|
-
|
18
|
+
if debug?
|
19
|
+
test.stages.each do |stage|
|
20
|
+
Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}" do
|
21
|
+
stage.run
|
22
|
+
end.add_description "Run #{stage.name} stage of the #{test.name} test from #{name} suite"
|
23
|
+
stage.actions.each do |action|
|
24
|
+
Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}:#{action}" do
|
25
|
+
stage.public_send action
|
26
|
+
end.add_description "Run action #{action} for #{stage.name} stage of the #{test.name} test from #{name} suite"
|
27
|
+
end
|
26
28
|
end
|
27
|
-
end
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
30
|
+
Rake::Task.define_task "#{name}:#{test.name}:destroy" do
|
31
|
+
test.teardown
|
32
|
+
end.add_description "Tear down #{test.name} test from #{name} suite"
|
33
|
+
end
|
32
34
|
end
|
33
35
|
end
|
34
36
|
|
37
|
+
def debug?
|
38
|
+
ENV['DEBUG'].to_s != ''
|
39
|
+
end
|
40
|
+
|
35
41
|
attr_accessor :control_directory
|
36
42
|
private :control_directory=
|
37
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barking_iguana-compound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Craig R Webster
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
233
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.
|
234
|
+
rubygems_version: 2.5.2
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: Compound testing of Ansible playbooks
|