bricolage 6.0.0beta1 → 6.0.0beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/RELEASE.md +10 -0
- data/lib/bricolage/job.rb +2 -3
- data/lib/bricolage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd96a97704f116e03c432aaab65d8ee28e76a571415fc8a11ad6ce7c0d594530
|
|
4
|
+
data.tar.gz: 271b47cee82b89c910f5ea1c9804d2be272b1817dc1ee0c5e8d5125e194f13d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45cd7ee922e61980526c5b08729be5b9021ada7c8c13a32124b233d2d796a8a10d7bd23f920bcd6b46822828b7acd45b39941c8721c242f8aa127ecd062568ed
|
|
7
|
+
data.tar.gz: 26f8c7375451d2418f968fb537d6359f4bc16afb6a95ab0f489b3c73b5b02d4ffa44070771a204e9a3b6b26b63768842457fef977dd4b1a24de2b71f8d9b600b
|
data/RELEASE.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Bricolage Release Note
|
|
2
2
|
|
|
3
|
+
## version 6.0.0 beta 2
|
|
4
|
+
|
|
5
|
+
- [fix] Always transmit error messages from jobs in the jobnet.
|
|
6
|
+
|
|
7
|
+
## version 6.0.0 beta 1
|
|
8
|
+
|
|
9
|
+
- [new] Introduces database queue. Database queue saves job states in the PostgreSQL instance, we now can run bricolage on container environment.
|
|
10
|
+
- [new] Default log level is DEBUG on development environment, INFO on production environment.
|
|
11
|
+
- [new] Only updating query is logged as INFO level. Read-only queries are logged in DEBUG level.
|
|
12
|
+
|
|
3
13
|
## version 5.30.0
|
|
4
14
|
|
|
5
15
|
- [new] streaming_load: new option --ctl-ds to change S3 data source for metadata files.
|
data/lib/bricolage/job.rb
CHANGED
|
@@ -6,6 +6,7 @@ require 'bricolage/variables'
|
|
|
6
6
|
require 'bricolage/configloader'
|
|
7
7
|
require 'bricolage/loglocator'
|
|
8
8
|
require 'bricolage/exception'
|
|
9
|
+
require 'tmpdir'
|
|
9
10
|
require 'fileutils'
|
|
10
11
|
|
|
11
12
|
module Bricolage
|
|
@@ -151,9 +152,7 @@ module Bricolage
|
|
|
151
152
|
end
|
|
152
153
|
|
|
153
154
|
def execute_in_process(log_locator:)
|
|
154
|
-
|
|
155
|
-
# Also, status_path should be defined regardless of log_path.
|
|
156
|
-
status_path = log_locator.path ? "#{log_locator.path}.status" : nil
|
|
155
|
+
status_path = "#{Dir.tmpdir}/bricolage.#{$$}.status.#{"%010x" % rand(1000000000000)}"
|
|
157
156
|
isolate_process(status_path) {
|
|
158
157
|
log_locator.redirect_stdouts {
|
|
159
158
|
do_execute
|
data/lib/bricolage/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bricolage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.0beta2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Minero Aoki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|