bricolage 6.0.0beta1 → 6.0.0beta2

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: 111b4bb62234f5a428ccd1da5a5ee2d6d4b1a051c8fda9ddd6fac3e590356797
4
- data.tar.gz: 77c3857f92a721503bd07f6e235c81f454d61e3a55e111e7a2c0ce72efa8f6ed
3
+ metadata.gz: dd96a97704f116e03c432aaab65d8ee28e76a571415fc8a11ad6ce7c0d594530
4
+ data.tar.gz: 271b47cee82b89c910f5ea1c9804d2be272b1817dc1ee0c5e8d5125e194f13d7
5
5
  SHA512:
6
- metadata.gz: ca02be7fe28f3323f8dcfa1f9c88a0dd70050f7af75109ee077d0347a5f7a4420bb7f7a6b80d9ad207bd447b640089b979e319fa9ed3cf3465e11039327bc2f3
7
- data.tar.gz: 7d9d77d27f31d5368a694b9514a1276532335e1f980b2dd45fa77b7a4f30cc500b4dc1fb6a99a0a2f5dd35b42c9e155201764ba3d1d9a253b52790acf1f92857
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.
@@ -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
- # ??? FIXME: status_path should be independent from log_path.
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
@@ -1,4 +1,4 @@
1
1
  module Bricolage
2
2
  APPLICATION_NAME = 'Bricolage'
3
- VERSION = '6.0.0beta1'
3
+ VERSION = '6.0.0beta2'
4
4
  end
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.0beta1
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-07-27 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg