beaker-puppet 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-puppet/install_utils/puppet5.rb +1 -1
- data/lib/beaker-puppet/version.rb +1 -1
- data/tasks/ci.rake +7 -3
- 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: da73693c535ed78cfde43029b2c2c7b0bc3e0d4f
|
4
|
+
data.tar.gz: 4706afb84f74dd8d13cf7d5ad46bb320f5294dad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0a14fb382b29db5da6fb1bdd7b10d7a6437a55b43fe12be2015add2ea9105d14fe989978f276571053eab8b9fdb7e19ff2b5dc6eae6c61fcaba0fc90f1c2ddf
|
7
|
+
data.tar.gz: 318c2814ff69d56716c9451f3cb80e6fd180ff037e02917bde5326b88534c6ca5d1aa26333b34438186b4ad2f2893c15c52eb24206edb61dc712b8273122f77b
|
@@ -103,7 +103,7 @@ module BeakerPuppet
|
|
103
103
|
onhost_package_file = "#{project_name}*"
|
104
104
|
host.install_local_package(onhost_package_file)
|
105
105
|
when 'windows'
|
106
|
-
|
106
|
+
generic_install_msi_on(host, artifact_url)
|
107
107
|
when 'aix'
|
108
108
|
artifact_filename = File.basename(artifact_url)
|
109
109
|
artifact_folder = File.dirname(artifact_url)
|
data/tasks/ci.rake
CHANGED
@@ -8,7 +8,7 @@ require 'beaker/dsl/install_utils'
|
|
8
8
|
extend Beaker::DSL::InstallUtils
|
9
9
|
|
10
10
|
REPO_CONFIGS_DIR = 'repo-configs'
|
11
|
-
CLEAN.include('*.tar', REPO_CONFIGS_DIR, 'tmp', '.beaker')
|
11
|
+
CLEAN.include('*.tar', REPO_CONFIGS_DIR, 'tmp', '.beaker', 'log', 'junit')
|
12
12
|
|
13
13
|
# Default test target if none specified
|
14
14
|
# TODO There are some projects that do not need to test against a master. It
|
@@ -190,7 +190,9 @@ EOS
|
|
190
190
|
beaker(:provision)
|
191
191
|
beaker(:exec, 'pre-suite', '--pre-suite', pre_suites(:gem))
|
192
192
|
beaker(:exec, "#{File.dirname(__dir__)}/setup/gem/010_GemInstall.rb")
|
193
|
-
|
193
|
+
|
194
|
+
preserve_hosts = ENV['OPTIONS'].include?('--preserve-hosts=always') if ENV['OPTIONS']
|
195
|
+
beaker(:destroy) unless preserve_hosts
|
194
196
|
end
|
195
197
|
|
196
198
|
desc <<-EOS
|
@@ -236,7 +238,9 @@ def beaker_suite(type)
|
|
236
238
|
beaker(:exec, 'pre-suite')
|
237
239
|
beaker(:exec, ENV['TESTS'])
|
238
240
|
beaker(:exec, 'post-suite')
|
239
|
-
|
241
|
+
|
242
|
+
preserve_hosts = ENV['OPTIONS'].include?('--preserve-hosts=always') if ENV['OPTIONS']
|
243
|
+
beaker(:destroy) unless preserve_hosts
|
240
244
|
end
|
241
245
|
|
242
246
|
def pre_suites(type)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|