hive-runner 2.1.15 → 2.1.16
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 +3 -3
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f93f7c3be523ef297bac9808d5005863be39f8ef
|
|
4
|
+
data.tar.gz: 8f3fd2329e720825c3653f600060535309adb5f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68e9a34d1acd84fd7b7dc2b37f1318d7053373e4e2726b39b2e6671dfbc073d69b141c721f1aa8ec1b88e5e50611faaa37e0b5b53238682c5adf26ba38caf8c2
|
|
7
|
+
data.tar.gz: a5ea8cf63bfcc12f76f82c41a3831538223db8e2bda3a2a36c10576acfe7bc087bf73f95573514ef6fbe94672922d18f50edb35934e15a19439570b6903eb4f6
|
data/lib/hive/worker.rb
CHANGED
|
@@ -158,7 +158,7 @@ module Hive
|
|
|
158
158
|
@log.info "Checking out the repository"
|
|
159
159
|
@log.debug " #{@job.repository}"
|
|
160
160
|
@log.debug " #{@file_system.testbed_path}"
|
|
161
|
-
checkout_code(@job.repository, @file_system.testbed_path)
|
|
161
|
+
checkout_code(@job.repository, @file_system.testbed_path, @job.branch)
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
@log.info "Initialising execution script"
|
|
@@ -374,8 +374,8 @@ module Hive
|
|
|
374
374
|
end
|
|
375
375
|
|
|
376
376
|
# Get a checkout of the repository
|
|
377
|
-
def checkout_code(repository, checkout_directory)
|
|
378
|
-
CodeCache.repo(repository).checkout(:head, checkout_directory) or raise "Unable to checkout repository #{repository}"
|
|
377
|
+
def checkout_code(repository, checkout_directory, branch)
|
|
378
|
+
CodeCache.repo(repository).checkout(:head, checkout_directory, branch) or raise "Unable to checkout repository #{repository}"
|
|
379
379
|
end
|
|
380
380
|
|
|
381
381
|
# Determine whether to keep the worker running
|
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.1.
|
|
4
|
+
version: 2.1.16
|
|
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-11-
|
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chamber
|
|
@@ -100,14 +100,20 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 1.0
|
|
103
|
+
version: '1.0'
|
|
104
|
+
- - ">="
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: 1.0.6
|
|
104
107
|
type: :runtime
|
|
105
108
|
prerelease: false
|
|
106
109
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
110
|
requirements:
|
|
108
111
|
- - "~>"
|
|
109
112
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 1.0
|
|
113
|
+
version: '1.0'
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: 1.0.6
|
|
111
117
|
- !ruby/object:Gem::Dependency
|
|
112
118
|
name: mind_meld
|
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -298,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
298
304
|
version: '0'
|
|
299
305
|
requirements: []
|
|
300
306
|
rubyforge_project:
|
|
301
|
-
rubygems_version: 2.
|
|
307
|
+
rubygems_version: 2.5.1
|
|
302
308
|
signing_key:
|
|
303
309
|
specification_version: 4
|
|
304
310
|
summary: Hive Runner
|