aws-must-templates 0.2.3 → 0.2.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7844432866ea809ccbfc43cd8596ee7585069e01
|
4
|
+
data.tar.gz: 2bd67c59afd1517524631001287aee1a4eaf49ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bd811230f6fc691f58343294c807ac521e11e84909443d91c86b4648b140b75e253c7a8be499696126c67368c2eb09ebed4aba3b96757144e8810fe48ca2541
|
7
|
+
data.tar.gz: 42d9896c80cff5258ed414f1c59860ca3b5af158cfb00214cdcbd45dd025ca66ca3d64b65d3a2bb73fb0bec40b67fb7ca6bb31f18fc921552e3c01e5e186d209
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# aws-must-templates - cloudformation templates for aws-must - $Release:0.2.
|
1
|
+
# aws-must-templates - cloudformation templates for aws-must - $Release:0.2.4$
|
2
2
|
|
3
3
|
Set of [extensible](#OVERRIDE)
|
4
4
|
[templates](https://rawgit.com/jarjuk/aws-must-templates/master/generated-docs/aws-must-templates.html)
|
@@ -101,11 +101,11 @@ describe current_test do
|
|
101
101
|
|
102
102
|
if strictIngress.value then
|
103
103
|
it "validate all ingress rules in test suite" do
|
104
|
-
expect(
|
104
|
+
expect( 1 ).to eql( 1 )
|
105
105
|
end
|
106
106
|
else
|
107
107
|
it "WARNING does not validate all ingress rules in test suite" do
|
108
|
-
expect(
|
108
|
+
expect( 1 ).to eql( 1 )
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
@@ -126,11 +126,11 @@ describe current_test do
|
|
126
126
|
|
127
127
|
if strictEgress.value then
|
128
128
|
it "validates all egress rules in test suite" do
|
129
|
-
expect(
|
129
|
+
expect( 1 ).to eql( 1 )
|
130
130
|
end
|
131
131
|
else
|
132
132
|
it "WARNING does not validate all egress rules in test suite" do
|
133
|
-
expect(
|
133
|
+
expect( 1 ).to eql( 1 )
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## <a id="RespondsToPing"></a>RespondsToPing<a class='navigator' href='#top'>[top]</a>
|
6
6
|
|
7
|
-
Validate that
|
7
|
+
Validate that instance answers to ping.
|
8
8
|
|
9
9
|
+++close+++
|
10
10
|
|
@@ -21,24 +21,32 @@ describe current_test do
|
|
21
21
|
# ------------------------------------------------------------------
|
22
22
|
# test parameters
|
23
23
|
|
24
|
-
|
24
|
+
instance = suite_value( :instance_name )
|
25
|
+
|
25
26
|
timeout = 20 # seconds
|
26
27
|
testcount = 3 # times
|
27
28
|
|
28
29
|
# ------------------------------------------------------------------
|
29
30
|
# tests
|
30
31
|
|
31
|
-
describe "ping '#{
|
32
|
+
describe "ping '#{instance.value}'" do
|
33
|
+
|
34
|
+
describe ec2_named_resource(instance.value) do
|
35
|
+
|
36
|
+
let( :public_dns_name ) { subject.public_dns_name }
|
37
|
+
its( :public_dns_name ) { should_not eql nil }
|
38
|
+
|
32
39
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
40
|
+
it "#reponds within #{timeout} seconds with #{testcount} test counts" do
|
41
|
+
# -W: Time to wait for a response, in seconds
|
42
|
+
# -c: Stop after sending count ECHO_REQUEST packets. With deadline
|
43
|
+
# -option, ping waits for count ECHO_REPLY packets, until the
|
44
|
+
# -timeout expires
|
38
45
|
|
39
|
-
|
40
|
-
|
41
|
-
|
46
|
+
cmd = "ping #{public_dns_name} -W 20 -c 3"
|
47
|
+
# puts cmd `#{cmd}`
|
48
|
+
raise "Error in '#{cmd}' " unless $? == 0 end
|
49
|
+
end
|
42
50
|
end
|
43
51
|
|
44
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-must-templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jarjuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-must
|
@@ -72,6 +72,26 @@ dependencies:
|
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '2.21'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: aws-ssh-resolver
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0.0'
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 0.0.3
|
85
|
+
type: :runtime
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0.0'
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.0.3
|
75
95
|
description: |2
|
76
96
|
Set of extensible templates for [aws-must](https://github.com/jarjuk/aws-must) tool to generate
|
77
97
|
CloudFormation JSON from a YAML configuration, and a
|