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 +4 -4
- data/CHANGELOG.md +6 -0
- data/embulk-input-buildkite.gemspec +1 -1
- data/lib/embulk/input/buildkite.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e373fccb1f67ff00d1642ae4c09f7aa7b95137d46b580250b3855ec4c5c42523
|
4
|
+
data.tar.gz: 5c5f71b3c0de9278dc9332592f979bb6d1743c12f79e62b8ed045f264d281bb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549a1ba3f483ede6cd354f85140f87a396f5ef0a2f1b1355ba0b3c47b91557997c26a967c6b9a782c145b27864f7a07032286668a9562947809bdd98886e0513
|
7
|
+
data.tar.gz: 2b0dfef452a3089763b3a2f4b9ac0df779842447c9a296b663ecfcf17f6b5328b35de6a84cd98d35f793136c73e9bb1a7e22bea2e6892ec775ad5a42afaf039d
|
data/CHANGELOG.md
CHANGED
@@ -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
|
+
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, "
|
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
|
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[:
|
96
|
+
job[:created_at],
|
97
97
|
job[:build_number],
|
98
98
|
build.to_json,
|
99
99
|
])
|