hive-runner 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/hive/worker.rb +24 -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: 9a93bf37dee687ab24e3b1be82f5828fa67a7835
|
|
4
|
+
data.tar.gz: 1a776d2f8bde614e587e8d835e0147f01ed6ca23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b2f12ad7a1368aa8f51219ea1ba68133c38923aa315916d0e3fd5f9fe451b9041f5f4f43e301de1e008fd06c6c9798339ce9bb9747b710e65fb0c8e1a254fff
|
|
7
|
+
data.tar.gz: f12deb4b4db7899aa12b85d5f0e651a7fe190748669d775719e8b98e900b6f5108b9c761d8a829c745426c20fd29ce5fd5528ce52bf34a7ea6d3453359bbfffb
|
data/lib/hive/worker.rb
CHANGED
|
@@ -319,7 +319,26 @@ module Hive
|
|
|
319
319
|
rescue => e
|
|
320
320
|
@log.warn("Res Testmine upload failed #{e.message}")
|
|
321
321
|
end
|
|
322
|
-
|
|
322
|
+
|
|
323
|
+
begin
|
|
324
|
+
if conf_file = lion_config(checkout)
|
|
325
|
+
Res.submit_results(
|
|
326
|
+
reporter: :lion,
|
|
327
|
+
ir: res_file,
|
|
328
|
+
config_file: conf_file,
|
|
329
|
+
hive_job_id: job.job_id,
|
|
330
|
+
version: job.execution_variables.version,
|
|
331
|
+
target: job.execution_variables.queue_name
|
|
332
|
+
)
|
|
333
|
+
end
|
|
334
|
+
rescue => e
|
|
335
|
+
@log.warn("Res Lion upload failed #{e.message}")
|
|
336
|
+
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
323
342
|
# TODO Add in Testrail upload
|
|
324
343
|
|
|
325
344
|
end
|
|
@@ -347,6 +366,10 @@ module Hive
|
|
|
347
366
|
Dir.glob( "#{checkout}/.testmi{n,t}e.yml" ).first
|
|
348
367
|
end
|
|
349
368
|
|
|
369
|
+
def lion_config(checkout)
|
|
370
|
+
Dir.glob( "#{checkout}/.lion.yml" ).first
|
|
371
|
+
end
|
|
372
|
+
|
|
350
373
|
# Get a checkout of the repository
|
|
351
374
|
def checkout_code(repository, checkout_directory)
|
|
352
375
|
CodeCache.repo(repository).checkout(:head, checkout_directory) or raise "Unable to checkout repository #{repository}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hive-runner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joe Haig
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chamber
|
|
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
283
283
|
version: '0'
|
|
284
284
|
requirements: []
|
|
285
285
|
rubyforge_project:
|
|
286
|
-
rubygems_version: 2.
|
|
286
|
+
rubygems_version: 2.4.7
|
|
287
287
|
signing_key:
|
|
288
288
|
specification_version: 4
|
|
289
289
|
summary: Hive Runner
|