buildkite-builder 4.6.0 → 4.8.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 +6 -0
- data/VERSION +1 -1
- data/lib/buildkite/builder/commands/abstract.rb +8 -0
- data/lib/buildkite/builder/commands/run.rb +0 -13
- data/lib/buildkite/builder/extension.rb +0 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e3127a8c8bdc29da817147bd3d2761ba1f0d4eefd46b782d4135b828163c0aa
|
4
|
+
data.tar.gz: 29c93f19e0310268abc128cecc7eaa5bf0bf8cd371fdcdc129605c917811c5d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6f36a66be812ab6b84a02b0042dee091b6a5099474e112a372e21d3dba3d5c1d4a2a9b6832801bcb29395898b9518e459f91ca1cc7788a05c34c3b2052229cb
|
7
|
+
data.tar.gz: 9b346edd951f0d2b6a10023394320fb0e974b05a0729eff50d1e8f2c41c188c0ca46d141f9e37924ff9cfb13e8c9f0925c722dcc017f19952515f050bc135815
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### 4.8.0
|
2
|
+
* Move `BUILDKITE_BUILDER_PIPELINE_PATH` override as part of command abstract.
|
3
|
+
|
4
|
+
### 4.7.0
|
5
|
+
* Remove warning of method redefined.
|
6
|
+
|
1
7
|
### 4.6.0
|
2
8
|
* Remove `capture` concept on `Buildkite::Pipelines::Command#run` and replaced with `Buildkite::Pipelines::Command::Result` object to represent `Open3.capture3` result.
|
3
9
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.8.0
|
@@ -81,6 +81,7 @@ module Buildkite
|
|
81
81
|
|
82
82
|
def pipeline_path
|
83
83
|
@pipeline_path ||=
|
84
|
+
find_root_by_env_path ||
|
84
85
|
find_root_by_main_pipeline ||
|
85
86
|
find_root_by_multi_pipeline
|
86
87
|
end
|
@@ -103,6 +104,13 @@ module Buildkite
|
|
103
104
|
end
|
104
105
|
end
|
105
106
|
end
|
107
|
+
|
108
|
+
def find_root_by_env_path
|
109
|
+
if ENV['BUILDKITE_BUILDER_PIPELINE_PATH']
|
110
|
+
path = Pathname.new(ENV['BUILDKITE_BUILDER_PIPELINE_PATH'])
|
111
|
+
path.absolute? ? path : Builder.root.join(path)
|
112
|
+
end
|
113
|
+
end
|
106
114
|
end
|
107
115
|
end
|
108
116
|
end
|
@@ -23,19 +23,6 @@ module Buildkite
|
|
23
23
|
Pipeline.new(pipeline_path, logger: log).upload
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
27
|
-
private
|
28
|
-
|
29
|
-
def pipeline_path
|
30
|
-
pipeline_path_override || super
|
31
|
-
end
|
32
|
-
|
33
|
-
def pipeline_path_override
|
34
|
-
if ENV['BUILDKITE_BUILDER_PIPELINE_PATH']
|
35
|
-
path = Pathname.new(ENV['BUILDKITE_BUILDER_PIPELINE_PATH'])
|
36
|
-
path.absolute? ? path : Builder.root.join(path)
|
37
|
-
end
|
38
|
-
end
|
39
26
|
end
|
40
27
|
end
|
41
28
|
end
|
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.8.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:
|
12
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rainbow
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.3
|
177
|
+
rubygems_version: 3.5.3
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: A gem for programmatically creating Buildkite pipelines.
|