buildkite-builder 4.9.0 → 4.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/buildkite/builder/extensions/agents.rb +21 -0
- data/lib/buildkite/builder/extensions.rb +1 -0
- data/lib/buildkite/builder/pipeline.rb +1 -0
- data/lib/buildkite/pipelines/steps/command.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94696619a839dad23bed66b944ffe3c2f2385de643b8317ce208199de31ece04
|
4
|
+
data.tar.gz: e2064c6ed12d991a98cfc04749c7da87e01a83f26f82aa8c14af1482448792f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7c62bfcf1f853f058c53e252676c83a7da26683568a65b9bd0e6608b525af4b1cf1633b5984226d64682fcc6b69c15c2e88fa86058c647d07979d3a69081903
|
7
|
+
data.tar.gz: dfbc7a611c89fcba1987bf99330a643ff7f0929d070d34095e56bba5fcccb2ee1547176b3732c7e534b95793fbe4334004eb95306631a72ee5b625e57a631a2e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.10.0
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Buildkite
|
2
|
+
module Builder
|
3
|
+
module Extensions
|
4
|
+
class Agents < Extension
|
5
|
+
def prepare
|
6
|
+
context.data.agents = {}
|
7
|
+
end
|
8
|
+
|
9
|
+
dsl do
|
10
|
+
def agents(*args)
|
11
|
+
if args.first.is_a?(Hash)
|
12
|
+
context.data.agents.merge!(args.first.transform_keys(&:to_s))
|
13
|
+
else
|
14
|
+
raise ArgumentError, 'value must be hash'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
module Buildkite
|
4
4
|
module Builder
|
5
5
|
module Extensions
|
6
|
+
autoload :Agents, File.expand_path('extensions/agents', __dir__)
|
6
7
|
autoload :Env, File.expand_path('extensions/env', __dir__)
|
7
8
|
autoload :Lib, File.expand_path('extensions/lib', __dir__)
|
8
9
|
autoload :Notify, File.expand_path('extensions/notify', __dir__)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildkite-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ngan Pham
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rainbow
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- lib/buildkite/builder/extension.rb
|
111
111
|
- lib/buildkite/builder/extension_manager.rb
|
112
112
|
- lib/buildkite/builder/extensions.rb
|
113
|
+
- lib/buildkite/builder/extensions/agents.rb
|
113
114
|
- lib/buildkite/builder/extensions/env.rb
|
114
115
|
- lib/buildkite/builder/extensions/lib.rb
|
115
116
|
- lib/buildkite/builder/extensions/notify.rb
|
@@ -174,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
175
|
- !ruby/object:Gem::Version
|
175
176
|
version: '0'
|
176
177
|
requirements: []
|
177
|
-
rubygems_version: 3.5.
|
178
|
+
rubygems_version: 3.5.0
|
178
179
|
signing_key:
|
179
180
|
specification_version: 4
|
180
181
|
summary: A gem for programmatically creating Buildkite pipelines.
|