embulk-input-buildkite 0.4.1 → 0.5.0

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: b227b51712fb01deacbbf32a7105dc916c44d81a3acae07a3b3a731a45715596
4
- data.tar.gz: 241fffbdd771a02bccee88982970964acd29d79735f7c1044c1730757ac5ca97
3
+ metadata.gz: e373fccb1f67ff00d1642ae4c09f7aa7b95137d46b580250b3855ec4c5c42523
4
+ data.tar.gz: 5c5f71b3c0de9278dc9332592f979bb6d1743c12f79e62b8ed045f264d281bb3
5
5
  SHA512:
6
- metadata.gz: 1a80761792b239c147ca604a8c84c87af780b1b61a61034b9f933c9ebbbc4340283ef781b6c71fd96c22fb08408e08a24637815ce82389591e103a3b8fc8d02d
7
- data.tar.gz: 5e77c7096c5efdfd3d0531867a6594a42412ce098c32c37f7180c0b87600a45da40ba31eaf13a158f246455eb1a796f673e063f0e745ae902a7f7d94db6dcd58
6
+ metadata.gz: 549a1ba3f483ede6cd354f85140f87a396f5ef0a2f1b1355ba0b3c47b91557997c26a967c6b9a782c145b27864f7a07032286668a9562947809bdd98886e0513
7
+ data.tar.gz: 2b0dfef452a3089763b3a2f4b9ac0df779842447c9a296b663ecfcf17f6b5328b35de6a84cd98d35f793136c73e9bb1a7e22bea2e6892ec775ad5a42afaf039d
@@ -1,3 +1,9 @@
1
+ # 0.5.0
2
+
3
+ - started_at -> created_at
4
+ - for some reason started_at can be null https://buildkite.com/rails/rails/builds/61004.json
5
+ - Fix log message
6
+
1
7
  # 0.4.1
2
8
 
3
9
  - id should be string
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-buildkite"
4
- spec.version = "0.4.1"
4
+ spec.version = "0.5.0"
5
5
  spec.authors = ["Fumiaki MATSUSHIMA"]
6
6
  spec.summary = "Buildkite input plugin for Embulk"
7
7
  spec.description = "Loads records from Buildkite."
@@ -35,7 +35,7 @@ module Embulk
35
35
  Column.new(1, "data", :string),
36
36
  Column.new(2, "log", :string),
37
37
  Column.new(3, "artifacts", :string),
38
- Column.new(4, "started_at", :timestamp),
38
+ Column.new(4, "created_at", :timestamp),
39
39
  Column.new(5, "build_number", :long),
40
40
  Column.new(6, "build_data", :string),
41
41
  ]
@@ -70,7 +70,7 @@ module Embulk
70
70
 
71
71
  build = with_retry { client.fetch_build(number: build_num) }
72
72
  build[:jobs].each do |job|
73
- logger.info("Start Start job_id:[#{job[:id]}]")
73
+ logger.info("Start job_id:[#{job[:id]}]")
74
74
  log = with_retry { client.fetch_log(build_number: job[:build_number], job_id: job[:id]) }
75
75
  artifacts = with_retry { client.fetch_artifacts(build_number: job[:build_number], job_id: job[:id]) }
76
76
 
@@ -93,7 +93,7 @@ module Embulk
93
93
  job.to_json,
94
94
  log.to_json,
95
95
  artifacts.to_json,
96
- job[:started_at],
96
+ job[:created_at],
97
97
  job[:build_number],
98
98
  build.to_json,
99
99
  ])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-buildkite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiaki MATSUSHIMA