buildkite-builder 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/buildkite/builder/extensions/sub_pipelines.rb +6 -2
- data/lib/buildkite/builder/pipeline_collection.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad16f8a66cf5c9c52bbbce15ccbd29589294309739a63f67a8982403f51b9b36
|
4
|
+
data.tar.gz: d148df13c7489629bb2d23c772fa309f937cf65ceafd46eb0303d199b4292f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be78bd7cf1891adaf95c557861c6f5b8cc8b16e28ecabae1406eba44526e0e16fc13df245d253f73892dae0324255d2ecb6837643ef1058b18bfdb87801521b
|
7
|
+
data.tar.gz: 2ae512dbf1f76794531d5f4ef278fffc061e10d21074d8eb0de7454cc55b2dc50b61c5b30695152283790234a3a9da52ccd4b734067ed7bdc90b7898304feec9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.1
|
@@ -18,6 +18,7 @@ module Buildkite
|
|
18
18
|
attribute :allow_dependency_failure
|
19
19
|
attribute :branches
|
20
20
|
attribute :async
|
21
|
+
attribute :build
|
21
22
|
|
22
23
|
def self.to_sym
|
23
24
|
name.split('::').last.downcase.to_sym
|
@@ -76,7 +77,8 @@ module Buildkite
|
|
76
77
|
|
77
78
|
trigger_step = context.data.steps.add(Pipelines::Steps::Trigger)
|
78
79
|
trigger_step.trigger(name)
|
79
|
-
|
80
|
+
|
81
|
+
build_options = {
|
80
82
|
message: '${BUILDKITE_MESSAGE}',
|
81
83
|
commit: '${BUILDKITE_COMMIT}',
|
82
84
|
branch: '${BUILDKITE_BRANCH}',
|
@@ -86,8 +88,10 @@ module Buildkite
|
|
86
88
|
BUILDKITE_PULL_REQUEST_REPO: '${BUILDKITE_PULL_REQUEST_REPO}',
|
87
89
|
BKB_SUBPIPELINE_FILE: sub_pipeline.pipeline_yml
|
88
90
|
}
|
89
|
-
|
91
|
+
}
|
92
|
+
build_options.merge!(sub_pipeline.build) if sub_pipeline.build
|
90
93
|
|
94
|
+
trigger_step.build(build_options)
|
91
95
|
trigger_step.key(sub_pipeline.key || "subpipeline_#{name}_#{context.data.pipelines.count}")
|
92
96
|
trigger_step.label(sub_pipeline.label || name.capitalize)
|
93
97
|
trigger_step.async(sub_pipeline.async || false)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildkite-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ngan Pham
|
8
8
|
- Andrew Lee
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-06-
|
12
|
+
date: 2022-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rainbow
|
@@ -177,7 +177,7 @@ metadata:
|
|
177
177
|
source_code_uri: https://github.com/Gusto/buildkite-builder
|
178
178
|
changelog_uri: https://github.com/Gusto/buildkite-builder/blob/master/CHANGELOG.md
|
179
179
|
bug_tracker_uri: https://github.com/Gusto/buildkite-builder/issues
|
180
|
-
post_install_message:
|
180
|
+
post_install_message:
|
181
181
|
rdoc_options: []
|
182
182
|
require_paths:
|
183
183
|
- lib
|
@@ -192,8 +192,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.
|
196
|
-
signing_key:
|
195
|
+
rubygems_version: 3.0.3.1
|
196
|
+
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: A gem for programmatically creating Buildkite pipelines.
|
199
199
|
test_files: []
|