poise-boiler 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/poise_boiler/helpers/rake/travis.rb +3 -1
- data/lib/poise_boiler/version.rb +1 -1
- data/spec/helpers/travis_spec.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f46bf2e852bf4d110073f1a1d7af64b800d18bc
|
4
|
+
data.tar.gz: 3f4ee4fec5f51076a249e97a6758cac235bd72e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d288fc044a6a51cd1728a05b7af27be7ad8819bb76f9077d71a02999a7379aaa9edf88d83d86a15e1a94ca962a16d7c6749e2d533a3f7af1f6b351056543c66
|
7
|
+
data.tar.gz: e36256449de30bc3ac59e43836d39039118e2d1a84af8e07aff9e42ee6f9c4a2e0cb48a9e713fb61e445f0f7f70dc55acdaa723074181da3b89590e29e3cf38e
|
data/CHANGELOG.md
CHANGED
@@ -50,7 +50,9 @@ module PoiseBoiler
|
|
50
50
|
end
|
51
51
|
|
52
52
|
file '.ssh/id_rsa' do
|
53
|
-
|
53
|
+
# Add a zero-byte passphrase field.
|
54
|
+
cmd = %w{ssh-keygen -f} + [File.expand_path('~/.ssh/id_rsa')] + %w{-b 768 -P} + ['']
|
55
|
+
sh(*cmd)
|
54
56
|
end
|
55
57
|
|
56
58
|
desc 'Run Test-Kitchen integration tests.'
|
data/lib/poise_boiler/version.rb
CHANGED
data/spec/helpers/travis_spec.rb
CHANGED
@@ -117,4 +117,22 @@ EOH
|
|
117
117
|
end
|
118
118
|
its(:exitstatus) { is_expected.to eq 0 }
|
119
119
|
end # /context secure vars
|
120
|
+
|
121
|
+
context 'secure vars and Rackspace' do
|
122
|
+
file '.kitchen.travis.yml', 'name: rackspace'
|
123
|
+
file '.ssh/stub'
|
124
|
+
environment TRAVIS_SECURE_ENV_VARS: '1'
|
125
|
+
before do
|
126
|
+
_environment['HOME'] = temp_path
|
127
|
+
end
|
128
|
+
|
129
|
+
its(:stdout) { is_expected.to include 'Running task spec' }
|
130
|
+
its(:stdout) { is_expected.to include 'Running task chef:foodcritic' }
|
131
|
+
if (ENV['BUNDLE_GEMFILE'] || '').include?('master')
|
132
|
+
its(:stdout) { is_expected.to_not include 'Running task travis:integration' }
|
133
|
+
else
|
134
|
+
its(:stdout) { is_expected.to include 'Running task travis:integration' }
|
135
|
+
end
|
136
|
+
its(:exitstatus) { is_expected.to eq 0 }
|
137
|
+
end
|
120
138
|
end
|