buildbox 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/buildbox/agent.rb +2 -5
- data/lib/buildbox/version.rb +1 -1
- 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: d03a215ef6a0f1cae6051fcf56554d62abc5815c
|
4
|
+
data.tar.gz: bcf6037404617835675177820af6a85f60e6bead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 712c31afdb5346f2cf2f703f8f2dd4f7a9e1237b30a5605a9a6cc8da2633e75d9c2e73d488a8129439cba0ff8fa4433e92e9f9dfc10d48894198899df149cd7a
|
7
|
+
data.tar.gz: 8980a9e144f21e8dea04ac40a01850f8110343610d74959baf3f852a260570a08e44533a18981aafa9cd9528b529c2e7e664d1759e48c1c16d4cc96c7e6dffb7
|
data/Gemfile.lock
CHANGED
data/lib/buildbox/agent.rb
CHANGED
@@ -13,14 +13,11 @@ module Buildbox
|
|
13
13
|
def work
|
14
14
|
builds = scheduled_builds
|
15
15
|
|
16
|
-
#
|
17
|
-
# by an agent.
|
16
|
+
# Run the builds one at a time
|
18
17
|
builds.each do |build|
|
18
|
+
# Let the agent know that we're about to start working on this build
|
19
19
|
@api.update_build(build, :agent_accepted => @access_token)
|
20
|
-
end
|
21
20
|
|
22
|
-
# Run the builds one at a time
|
23
|
-
builds.each do |build|
|
24
21
|
Monitor.new(build, @api).async.monitor
|
25
22
|
Runner.new(build).start
|
26
23
|
end
|
data/lib/buildbox/version.rb
CHANGED