buildkite-builder 4.2.2 → 4.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 368db189b191972229ed317ee1afda33c7827bead16c641324b34312a7e7dbcc
4
- data.tar.gz: 552bec587cfae42895bd90467f9c3f558d11409c1db501f60144ebb590467b52
3
+ metadata.gz: 37ac678a8fff2b5fe3ea556532ef7d7c39fe4830d80dd47b1fbd923879594117
4
+ data.tar.gz: 4332c1ff51fc79786db0b665e4b62aef77293a00508dae613d5a2bbdcc91808d
5
5
  SHA512:
6
- metadata.gz: 8deb3a535a9dc881bd97a35bf71b0306b7ba4dc246dd5fc568e7c44f064f8e93e60cb50c2bda0c8438cacc462e1919ff3d53466b693d1b39bde7005df1fbc95d
7
- data.tar.gz: 7f0d2e0d4a02f6f6ba99422c5215fea487adb6926d7300b7be447d37dd10fd9365c1be58864f9cc9816e03ee55c3c6e2d6d0293db344a4e9c0e3de0a76b41193
6
+ metadata.gz: 70f7f8e01a7d04b65f0a1bf3432011c8cc5192a183ac35a3ebf80e689d5decd0842a00be2994eeb60585d0bbcfc37bc6b346b8ddc2896a01fdaf1c0ef119e63c
7
+ data.tar.gz: 10a8b7871413cbbd4d00b84dd7106adb0e78253cbc410a80f78d6cb76ce68f2513c91a0cb7405db33457580a8ba6e60810ff69b32306a269b14d6766759e2bfd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 4.2.4
2
+ * Add more group step attributes as listed in https://buildkite.com/docs/pipelines/group-step#group-step-attributes
3
+
4
+ ### 4.2.3
5
+ * Simplify pipeline upload duplication check
6
+
1
7
  ### 4.2.2
2
8
  * Use step id to distinguish different piplelines, fix re-uploading pipeline on same step issue.
3
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.2
1
+ 4.2.4
@@ -17,7 +17,7 @@ module Buildkite
17
17
  # variables to be set. It also uploads the pipeline to Buildkite.
18
18
  log.info "+++ 🧰 #{'Buildkite Builder'.color(:springgreen)} v#{Buildkite::Builder.version} ─ #{relative_pipeline_path.to_s.yellow}"
19
19
 
20
- if Buildkite::Pipelines::Command.meta_data(:get, Builder.meta_data.fetch(:job)) == Buildkite.env.step_id
20
+ if Buildkite::Pipelines::Command.meta_data(:exists, Builder.meta_data.fetch(:job))
21
21
  log.info "Pipeline already uploaded in #{Buildkite.env.step_id} step".color(:dimgray)
22
22
  else
23
23
  Pipeline.new(pipeline_path, logger: log).upload
@@ -6,7 +6,10 @@ module Buildkite
6
6
  class Group < Abstract
7
7
  attribute :label
8
8
  attribute :key
9
+ attribute :skip
10
+ attribute :if, as: :condition
9
11
  attribute :depends_on, append: true
12
+ attribute :allow_dependency_failure
10
13
 
11
14
  attr_reader :steps
12
15
 
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.2.2
4
+ version: 4.2.4
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: 2023-06-26 00:00:00.000000000 Z
12
+ date: 2023-08-09 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.4.10
177
+ rubygems_version: 3.3.13
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: A gem for programmatically creating Buildkite pipelines.