bricolage 5.27.2 → 5.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +22 -0
- data/Gemfile +2 -0
- data/LICENSES +21 -0
- data/RELEASE.md +271 -0
- data/Rakefile +3 -0
- data/bricolage.gemspec +26 -0
- data/jobclass/exec.rb +5 -2
- data/lib/bricolage/configloader.rb +12 -10
- data/lib/bricolage/datasource.rb +16 -11
- data/lib/bricolage/job.rb +3 -0
- data/lib/bricolage/jobfile.rb +42 -6
- data/lib/bricolage/parameters.rb +6 -2
- data/lib/bricolage/version.rb +1 -1
- data/streaming_load_log.ct +9 -0
- metadata +11 -143
- data/test/all.rb +0 -3
- data/test/home/Gemfile +0 -3
- data/test/home/Gemfile.lock +0 -44
- data/test/home/config/bricolage.yml +0 -1
- data/test/home/config/development/database.yml +0 -100
- data/test/home/config/development/password.yml +0 -6
- data/test/home/config/development/variable.yml +0 -7
- data/test/home/data/20141002-1355_00.txt +0 -2
- data/test/home/data/20141002-1355_01.txt +0 -2
- data/test/home/data/20141002-1355_02.txt +0 -2
- data/test/home/data/test.txt +0 -1
- data/test/home/jobnet-test.rb +0 -61
- data/test/home/log/20170117/subsys::job1/20170117_202014082/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::job1/20170117_202334852/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::job1/20170117_202405056/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::migrate/20170117_202548409/subsys-migrate.log +0 -80
- data/test/home/log/20170117/subsys::migrate/20170117_202636115/subsys-migrate.log +0 -79
- data/test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job2.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job3.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job4.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job2.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job3.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job4.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job1.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job2.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job3.log +0 -3
- data/test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job4.log +0 -3
- data/test/home/log/20170629/subsys::job1/20170629_155543985/subsys-job1.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job1.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job2.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job3.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job4.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job1.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job2.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job3.log +0 -3
- data/test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job4.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job1.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job2.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job3.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job4.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job1.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job2.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job3.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job4.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job1.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job2.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job3.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job4.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_153437221/subsys-job1.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job1.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job2.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job3.log +0 -3
- data/test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job4.log +0 -3
- data/test/home/log/20170704/subsys::insert/20170704_164335210/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert/20170704_164344251/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert/20170704_164723299/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert.sql/20170704_164143661/subsys-insert.sql.log +0 -14
- data/test/home/log/20170704/subsys::insert.sql.job/20170704_163033119/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert.sql.job/20170704_172410576/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert.sql.job/20170704_173130175/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::insert.sql.job/20170704_173201376/subsys-insert.log +0 -14
- data/test/home/log/20170704/subsys::net1/20170704_162457694/subsys-job1.log +0 -3
- data/test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job1.log +0 -3
- data/test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job2.log +0 -3
- data/test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job3.log +0 -3
- data/test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job4.log +0 -3
- data/test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job1.log +0 -3
- data/test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job2.log +0 -3
- data/test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job3.log +0 -3
- data/test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job4.log +0 -3
- data/test/home/log/20170707/subsys::insert/20170707_020050817/subsys-insert.log +0 -51
- data/test/home/log/20170707/subsys::insert/20170707_020050817/subsys-insert.log.status +0 -1
- data/test/home/log/20170707/subsys::job1/20170707_020542902/subsys-job1.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job1.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job2.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job3.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job4.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job1.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job2.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job3.log +0 -3
- data/test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job4.log +0 -3
- data/test/home/revert.sh +0 -7
- data/test/home/s +0 -1
- data/test/home/subsys/d.ct +0 -7
- data/test/home/subsys/insert.sql.job +0 -7
- data/test/home/subsys/item_pv_acc.ct +0 -8
- data/test/home/subsys/job1.job +0 -1
- data/test/home/subsys/job2.job +0 -1
- data/test/home/subsys/job3.job +0 -1
- data/test/home/subsys/job4.job +0 -1
- data/test/home/subsys/job5.job +0 -1
- data/test/home/subsys/job6.job +0 -1
- data/test/home/subsys/job7.job +0 -1
- data/test/home/subsys/load.job +0 -9
- data/test/home/subsys/load_test.ct +0 -6
- data/test/home/subsys/load_test.job +0 -14
- data/test/home/subsys/migrate.job +0 -33
- data/test/home/subsys/my-import-delta.sql.job +0 -40
- data/test/home/subsys/my-import.job +0 -31
- data/test/home/subsys/net1.jobnet +0 -3
- data/test/home/subsys/net2.jobnet +0 -2
- data/test/home/subsys/put.job +0 -3
- data/test/home/subsys/raw-vacuum.jobnet +0 -1
- data/test/home/subsys/raw-vacuum.sql.job +0 -7
- data/test/home/subsys/rebuild.sql.job +0 -14
- data/test/home/subsys/redis_export.job +0 -9
- data/test/home/subsys/redis_export2.job +0 -8
- data/test/home/subsys/search_backends.ct +0 -13
- data/test/home/subsys/separated.job +0 -1
- data/test/home/subsys/separated.sql +0 -1
- data/test/home/subsys/some_view-cv.sql.job +0 -11
- data/test/home/subsys/unified.jobnet +0 -1
- data/test/home/subsys/unified.sql.job +0 -5
- data/test/home/subsys/users.ct +0 -13
- data/test/home/subsys/variable.yml +0 -6
- data/test/test_c_streaming_load.rb +0 -13
- data/test/test_filesystem.rb +0 -19
- data/test/test_logfilepath.rb +0 -19
- data/test/test_parameters.rb +0 -401
- data/test/test_psqldatasource.rb +0 -12
- data/test/test_s3datasource.rb +0 -40
- data/test/test_variables.rb +0 -114
- data/test/vacuum-test.rb +0 -8
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: 5.
|
4
|
+
version: 5.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minero Aoki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: pry
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,14 +97,20 @@ dependencies:
|
|
111
97
|
description: Redshift-oriented Data Warehouse Batch Framework
|
112
98
|
email: aamine@loveruby.net
|
113
99
|
executables:
|
114
|
-
- bricolage-jobnet
|
115
100
|
- bricolage
|
101
|
+
- bricolage-jobnet
|
116
102
|
extensions: []
|
117
103
|
extra_rdoc_files: []
|
118
104
|
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- Gemfile
|
107
|
+
- LICENSES
|
119
108
|
- README.md
|
109
|
+
- RELEASE.md
|
110
|
+
- Rakefile
|
120
111
|
- bin/bricolage
|
121
112
|
- bin/bricolage-jobnet
|
113
|
+
- bricolage.gemspec
|
122
114
|
- jobclass/adhoc.rb
|
123
115
|
- jobclass/create.rb
|
124
116
|
- jobclass/createview.rb
|
@@ -173,132 +165,8 @@ files:
|
|
173
165
|
- lib/bricolage/variables.rb
|
174
166
|
- lib/bricolage/version.rb
|
175
167
|
- libexec/create-lockfile
|
176
|
-
-
|
177
|
-
|
178
|
-
- test/home/Gemfile.lock
|
179
|
-
- test/home/config/bricolage.yml
|
180
|
-
- test/home/config/development/database.yml
|
181
|
-
- test/home/config/development/password.yml
|
182
|
-
- test/home/config/development/variable.yml
|
183
|
-
- test/home/data/20141002-1355_00.txt
|
184
|
-
- test/home/data/20141002-1355_01.txt
|
185
|
-
- test/home/data/20141002-1355_02.txt
|
186
|
-
- test/home/data/test.txt
|
187
|
-
- test/home/jobnet-test.rb
|
188
|
-
- test/home/log/20170117/subsys::job1/20170117_202014082/subsys-job1.log
|
189
|
-
- test/home/log/20170117/subsys::job1/20170117_202334852/subsys-job1.log
|
190
|
-
- test/home/log/20170117/subsys::job1/20170117_202405056/subsys-job1.log
|
191
|
-
- test/home/log/20170117/subsys::migrate/20170117_202548409/subsys-migrate.log
|
192
|
-
- test/home/log/20170117/subsys::migrate/20170117_202636115/subsys-migrate.log
|
193
|
-
- test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job1.log
|
194
|
-
- test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job2.log
|
195
|
-
- test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job3.log
|
196
|
-
- test/home/log/20170117/subsys::net1/20170117_203022461/subsys-job4.log
|
197
|
-
- test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job1.log
|
198
|
-
- test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job2.log
|
199
|
-
- test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job3.log
|
200
|
-
- test/home/log/20170117/subsys::net1/20170117_203102130/subsys-job4.log
|
201
|
-
- test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job1.log
|
202
|
-
- test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job2.log
|
203
|
-
- test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job3.log
|
204
|
-
- test/home/log/20170117/subsys::net1/20170117_203232033/subsys-job4.log
|
205
|
-
- test/home/log/20170629/subsys::job1/20170629_155543985/subsys-job1.log
|
206
|
-
- test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job1.log
|
207
|
-
- test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job2.log
|
208
|
-
- test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job3.log
|
209
|
-
- test/home/log/20170629/subsys::net1/20170629_154308811/subsys-job4.log
|
210
|
-
- test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job1.log
|
211
|
-
- test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job2.log
|
212
|
-
- test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job3.log
|
213
|
-
- test/home/log/20170629/subsys::net1/20170629_155330208/subsys-job4.log
|
214
|
-
- test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job1.log
|
215
|
-
- test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job2.log
|
216
|
-
- test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job3.log
|
217
|
-
- test/home/log/20170630/subsys::net1/20170630_145523511/subsys-job4.log
|
218
|
-
- test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job1.log
|
219
|
-
- test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job2.log
|
220
|
-
- test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job3.log
|
221
|
-
- test/home/log/20170630/subsys::net1/20170630_145545097/subsys-job4.log
|
222
|
-
- test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job1.log
|
223
|
-
- test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job2.log
|
224
|
-
- test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job3.log
|
225
|
-
- test/home/log/20170630/subsys::net1/20170630_145615702/subsys-job4.log
|
226
|
-
- test/home/log/20170630/subsys::net1/20170630_153437221/subsys-job1.log
|
227
|
-
- test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job1.log
|
228
|
-
- test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job2.log
|
229
|
-
- test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job3.log
|
230
|
-
- test/home/log/20170630/subsys::net1/20170630_153507519/subsys-job4.log
|
231
|
-
- test/home/log/20170704/subsys::insert.sql.job/20170704_163033119/subsys-insert.log
|
232
|
-
- test/home/log/20170704/subsys::insert.sql.job/20170704_172410576/subsys-insert.log
|
233
|
-
- test/home/log/20170704/subsys::insert.sql.job/20170704_173130175/subsys-insert.log
|
234
|
-
- test/home/log/20170704/subsys::insert.sql.job/20170704_173201376/subsys-insert.log
|
235
|
-
- test/home/log/20170704/subsys::insert.sql/20170704_164143661/subsys-insert.sql.log
|
236
|
-
- test/home/log/20170704/subsys::insert/20170704_164335210/subsys-insert.log
|
237
|
-
- test/home/log/20170704/subsys::insert/20170704_164344251/subsys-insert.log
|
238
|
-
- test/home/log/20170704/subsys::insert/20170704_164723299/subsys-insert.log
|
239
|
-
- test/home/log/20170704/subsys::net1/20170704_162457694/subsys-job1.log
|
240
|
-
- test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job1.log
|
241
|
-
- test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job2.log
|
242
|
-
- test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job3.log
|
243
|
-
- test/home/log/20170704/subsys::net1/20170704_162544282/subsys-job4.log
|
244
|
-
- test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job1.log
|
245
|
-
- test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job2.log
|
246
|
-
- test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job3.log
|
247
|
-
- test/home/log/20170706/subsys::net1/20170706_201157129/subsys-job4.log
|
248
|
-
- test/home/log/20170707/subsys::insert/20170707_020050817/subsys-insert.log
|
249
|
-
- test/home/log/20170707/subsys::insert/20170707_020050817/subsys-insert.log.status
|
250
|
-
- test/home/log/20170707/subsys::job1/20170707_020542902/subsys-job1.log
|
251
|
-
- test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job1.log
|
252
|
-
- test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job2.log
|
253
|
-
- test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job3.log
|
254
|
-
- test/home/log/20170707/subsys::net1/20170707_012252058/subsys-job4.log
|
255
|
-
- test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job1.log
|
256
|
-
- test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job2.log
|
257
|
-
- test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job3.log
|
258
|
-
- test/home/log/20170707/subsys::net1/20170707_020039222/subsys-job4.log
|
259
|
-
- test/home/revert.sh
|
260
|
-
- test/home/s
|
261
|
-
- test/home/subsys/d.ct
|
262
|
-
- test/home/subsys/insert.sql.job
|
263
|
-
- test/home/subsys/item_pv_acc.ct
|
264
|
-
- test/home/subsys/job1.job
|
265
|
-
- test/home/subsys/job2.job
|
266
|
-
- test/home/subsys/job3.job
|
267
|
-
- test/home/subsys/job4.job
|
268
|
-
- test/home/subsys/job5.job
|
269
|
-
- test/home/subsys/job6.job
|
270
|
-
- test/home/subsys/job7.job
|
271
|
-
- test/home/subsys/load.job
|
272
|
-
- test/home/subsys/load_test.ct
|
273
|
-
- test/home/subsys/load_test.job
|
274
|
-
- test/home/subsys/migrate.job
|
275
|
-
- test/home/subsys/my-import-delta.sql.job
|
276
|
-
- test/home/subsys/my-import.job
|
277
|
-
- test/home/subsys/net1.jobnet
|
278
|
-
- test/home/subsys/net2.jobnet
|
279
|
-
- test/home/subsys/put.job
|
280
|
-
- test/home/subsys/raw-vacuum.jobnet
|
281
|
-
- test/home/subsys/raw-vacuum.sql.job
|
282
|
-
- test/home/subsys/rebuild.sql.job
|
283
|
-
- test/home/subsys/redis_export.job
|
284
|
-
- test/home/subsys/redis_export2.job
|
285
|
-
- test/home/subsys/search_backends.ct
|
286
|
-
- test/home/subsys/separated.job
|
287
|
-
- test/home/subsys/separated.sql
|
288
|
-
- test/home/subsys/some_view-cv.sql.job
|
289
|
-
- test/home/subsys/unified.jobnet
|
290
|
-
- test/home/subsys/unified.sql.job
|
291
|
-
- test/home/subsys/users.ct
|
292
|
-
- test/home/subsys/variable.yml
|
293
|
-
- test/test_c_streaming_load.rb
|
294
|
-
- test/test_filesystem.rb
|
295
|
-
- test/test_logfilepath.rb
|
296
|
-
- test/test_parameters.rb
|
297
|
-
- test/test_psqldatasource.rb
|
298
|
-
- test/test_s3datasource.rb
|
299
|
-
- test/test_variables.rb
|
300
|
-
- test/vacuum-test.rb
|
301
|
-
homepage: https://github.com/aamine/bricolage
|
168
|
+
- streaming_load_log.ct
|
169
|
+
homepage: https://github.com/bricolages/bricolage
|
302
170
|
licenses:
|
303
171
|
- MIT
|
304
172
|
metadata: {}
|
data/test/all.rb
DELETED
data/test/home/Gemfile
DELETED
data/test/home/Gemfile.lock
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../..
|
3
|
-
specs:
|
4
|
-
bricolage (5.27.0)
|
5
|
-
aws-sdk-s3 (~> 1)
|
6
|
-
aws-sdk-sns (~> 1)
|
7
|
-
pg (~> 0.18.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
aws-partitions (1.53.0)
|
13
|
-
aws-sdk-core (3.13.0)
|
14
|
-
aws-partitions (~> 1.0)
|
15
|
-
aws-sigv4 (~> 1.0)
|
16
|
-
jmespath (~> 1.0)
|
17
|
-
aws-sdk-kms (1.4.0)
|
18
|
-
aws-sdk-core (~> 3)
|
19
|
-
aws-sigv4 (~> 1.0)
|
20
|
-
aws-sdk-s3 (1.8.0)
|
21
|
-
aws-sdk-core (~> 3)
|
22
|
-
aws-sdk-kms (~> 1)
|
23
|
-
aws-sigv4 (~> 1.0)
|
24
|
-
aws-sdk-sns (1.1.0)
|
25
|
-
aws-sdk-core (~> 3)
|
26
|
-
aws-sigv4 (~> 1.0)
|
27
|
-
aws-sigv4 (1.0.2)
|
28
|
-
coderay (1.1.2)
|
29
|
-
jmespath (1.3.1)
|
30
|
-
method_source (0.9.0)
|
31
|
-
pg (0.18.4)
|
32
|
-
pry (0.11.3)
|
33
|
-
coderay (~> 1.1.0)
|
34
|
-
method_source (~> 0.9.0)
|
35
|
-
|
36
|
-
PLATFORMS
|
37
|
-
ruby
|
38
|
-
|
39
|
-
DEPENDENCIES
|
40
|
-
bricolage!
|
41
|
-
pry
|
42
|
-
|
43
|
-
BUNDLED WITH
|
44
|
-
1.14.6
|
@@ -1 +0,0 @@
|
|
1
|
-
enable-queue: true
|
@@ -1,100 +0,0 @@
|
|
1
|
-
sql: &redshift_parameters
|
2
|
-
type: psql
|
3
|
-
host: <%= ENV['RSHOST'] || 'dwh.ckpd.co' %>
|
4
|
-
port: <%= ENV['RSPORT'] || 5439 %>
|
5
|
-
database: production
|
6
|
-
username: <%= ENV['RSUSER'] || 'tabemirudev' %>
|
7
|
-
pgpass: <%= user_home_relative_path '.pgpass' %>
|
8
|
-
encoding: utf8
|
9
|
-
|
10
|
-
#sql_dev:
|
11
|
-
# <<: *redshift_parameters
|
12
|
-
#
|
13
|
-
#sql_prod:
|
14
|
-
# <<: *redshift_parameters
|
15
|
-
# username: tabemiru_batch
|
16
|
-
|
17
|
-
#sql_app:
|
18
|
-
# type: psql
|
19
|
-
# host: localhost #cookpad-dwh-401.cbzwjkf60uat.ap-northeast-1.redshift.amazonaws.com
|
20
|
-
# port: 5445
|
21
|
-
# database: production
|
22
|
-
# username: tabemiru_batch
|
23
|
-
# pgpass: <%= user_home_relative_path '.pgpass' %>
|
24
|
-
# encoding: utf8
|
25
|
-
|
26
|
-
sql_app2:
|
27
|
-
type: psql
|
28
|
-
host: localhost
|
29
|
-
port: 5446
|
30
|
-
database: production
|
31
|
-
username: tabemiru_batch
|
32
|
-
pgpass: <%= user_home_relative_path '.pgpass' %>
|
33
|
-
encoding: utf8
|
34
|
-
|
35
|
-
postgres:
|
36
|
-
type: psql
|
37
|
-
host: localhost
|
38
|
-
port: 5432
|
39
|
-
database: bricolage
|
40
|
-
username: bricolage
|
41
|
-
password: bricolage
|
42
|
-
encoding: utf8
|
43
|
-
sql_log_level: DEBUG
|
44
|
-
|
45
|
-
s3:
|
46
|
-
type: s3
|
47
|
-
endpoint: "s3-ap-northeast-1.amazonaws.com"
|
48
|
-
region: "ap-northeast-1"
|
49
|
-
bucket: tabemiru-data.ap-northeast-1
|
50
|
-
prefix: "dev"
|
51
|
-
#s3cfg: <%= user_home_relative_path '.s3cfg' %>
|
52
|
-
#access_key_id: "<%= password 'aws_access_key_id' %>"
|
53
|
-
#secret_access_key: "<%= password 'aws_secret_access_key' %>"
|
54
|
-
#master_symmetric_key: "12345678901234567890123456789012"
|
55
|
-
iam_role: "arn:aws:iam::789035092620:role/RedshiftDWHTeamS3Access"
|
56
|
-
|
57
|
-
s3_log:
|
58
|
-
type: s3
|
59
|
-
endpoint: "s3-ap-northeast-1.amazonaws.com"
|
60
|
-
region: "ap-northeast-1"
|
61
|
-
bucket: "redshift-copy-buffer"
|
62
|
-
prefix: "development/bricolage/log"
|
63
|
-
|
64
|
-
mysql:
|
65
|
-
type: mysql
|
66
|
-
host: 127.0.0.1
|
67
|
-
port: 9011
|
68
|
-
database: main
|
69
|
-
username: work_readonly
|
70
|
-
password: <%= password 'mysql_shared_work_readonly' %>
|
71
|
-
encoding: utf8
|
72
|
-
|
73
|
-
mysql_summary:
|
74
|
-
type: mysql
|
75
|
-
host: 127.0.0.1
|
76
|
-
port: 40201
|
77
|
-
database: summarized_data
|
78
|
-
username: work_readonly
|
79
|
-
password: <%= password 'mysql_shared_work_readonly' %>
|
80
|
-
encoding: utf8
|
81
|
-
|
82
|
-
sns:
|
83
|
-
type: sns
|
84
|
-
region: "ap-northeast-1"
|
85
|
-
topic_arn: "arn:aws:sns:ap-northeast-1:789035092620:dwh-service-notification"
|
86
|
-
|
87
|
-
redis:
|
88
|
-
type: redis
|
89
|
-
host: localhost
|
90
|
-
port: 6379
|
91
|
-
|
92
|
-
td:
|
93
|
-
type: td
|
94
|
-
database: logs
|
95
|
-
apikey: <%= password 'td_tabemiru' %>
|
96
|
-
|
97
|
-
td_search_log:
|
98
|
-
type: td
|
99
|
-
database: search_log
|
100
|
-
apikey: <%= password 'td_tabemiru' %>
|
@@ -1,6 +0,0 @@
|
|
1
|
-
td_tabemiru: "121/c1376bb5e3972fc4a4efc942c1df100f7bc156e0"
|
2
|
-
mysql_shared_work_readonly: "s0uL/M@9r1"
|
3
|
-
mysql_shared_ckpd_readonly: "no3lnar;"
|
4
|
-
mysql_local_work_readonly: "ckpdtest"
|
5
|
-
aws_access_key_id: "AKIAI5R5BL2W73PR3FXQ"
|
6
|
-
aws_secret_access_key: "Mj9/cwWuruUO0qHsYFI2911G31PQaIj3+eJTBxyO"
|
data/test/home/data/test.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
test
|
data/test/home/jobnet-test.rb
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
require 'bricolage/jobflow'
|
2
|
-
require 'pathname'
|
3
|
-
require 'stringio'
|
4
|
-
require 'forwardable'
|
5
|
-
require 'pp'
|
6
|
-
|
7
|
-
class ConstantLoader
|
8
|
-
def initialize(subnets)
|
9
|
-
@subnets = subnets
|
10
|
-
end
|
11
|
-
|
12
|
-
def load(ref)
|
13
|
-
@subnets[ref.to_s]
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
def root_flow(subnets)
|
18
|
-
h = {}
|
19
|
-
subnets.each do |flow|
|
20
|
-
h[flow.name] = flow
|
21
|
-
end
|
22
|
-
root = Bricolage::RootJobFlow.new(ConstantLoader.new(h))
|
23
|
-
subnets.each do |flow|
|
24
|
-
root.add_subnet flow
|
25
|
-
end
|
26
|
-
root.fix
|
27
|
-
root
|
28
|
-
end
|
29
|
-
|
30
|
-
class StringFile
|
31
|
-
def initialize(str, path)
|
32
|
-
@f = StringIO.new(str)
|
33
|
-
@path = path
|
34
|
-
end
|
35
|
-
|
36
|
-
attr_reader :path
|
37
|
-
|
38
|
-
extend Forwardable
|
39
|
-
def_delegators '@f', :each, :lineno
|
40
|
-
end
|
41
|
-
|
42
|
-
def make_flow(src, name)
|
43
|
-
path = "test/#{name}.jobnet"
|
44
|
-
ref = Bricolage::JobFlow.make_node_ref(Pathname(path))
|
45
|
-
Bricolage::JobFlow.parse_stream(StringFile.new(src, path), ref)
|
46
|
-
end
|
47
|
-
|
48
|
-
net1 = make_flow(<<-End, 'net1')
|
49
|
-
job1
|
50
|
-
-> *net2
|
51
|
-
-> job4
|
52
|
-
End
|
53
|
-
|
54
|
-
net2 = make_flow(<<-End, 'net2')
|
55
|
-
job3
|
56
|
-
-> job4
|
57
|
-
End
|
58
|
-
|
59
|
-
root_flow([net1, net2]).each_subnet do |flow|
|
60
|
-
pp flow.sequential_nodes
|
61
|
-
end
|
@@ -1,80 +0,0 @@
|
|
1
|
-
2017-01-17 20:25:48 +0900: INFO: development environment
|
2
|
-
2017-01-17 20:25:48 +0900: INFO: [CMD] "/Users/minero-aoki/c/bricolage/libexec/sqldump" "--json" "127.0.0.1" "9011" "work_readonly" "main" "select * from main.search_backends;" | "gzip" "{:out=>"/tmp/bricolagedev/search_backends.json.gz"}"
|
3
|
-
2017-01-17 20:25:48.540819891 +0900 JST: [SQL] select * from main.search_backends;
|
4
|
-
2017-01-17 20:25:48.597928759 +0900 JST: query returned
|
5
|
-
2017-01-17 20:25:48.598038993 +0900 JST: Total 11 records
|
6
|
-
2017-01-17 20:25:48 +0900: INFO: aws s3 cp /tmp/bricolagedev/search_backends.json.gz s3://tabemiru-data.ap-northeast-1/dev/search_backends/search_backends.json.gz
|
7
|
-
2017-01-17 20:25:51 +0900: INFO: 3.28 secs
|
8
|
-
2017-01-17 20:25:51 +0900: ERROR: Aws::Errors::MissingCredentialsError: unable to sign request without credentials set
|
9
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/request_signer.rb:104:in `require_credentials'
|
10
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_request_signer.rb:14:in `call'
|
11
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/xml/error_handler.rb:8:in `call'
|
12
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/helpful_socket_errors.rb:10:in `call'
|
13
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_request_signer.rb:65:in `call'
|
14
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_redirects.rb:15:in `call'
|
15
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/retry_errors.rb:87:in `call'
|
16
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_dualstack.rb:32:in `call'
|
17
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_accelerate.rb:49:in `call'
|
18
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_md5s.rb:31:in `call'
|
19
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_expect_100_continue.rb:21:in `call'
|
20
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_bucket_name_restrictions.rb:12:in `call'
|
21
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_bucket_dns.rb:31:in `call'
|
22
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/rest/handler.rb:7:in `call'
|
23
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/user_agent.rb:12:in `call'
|
24
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/seahorse/client/plugins/endpoint.rb:41:in `call'
|
25
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/param_validator.rb:21:in `call'
|
26
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/seahorse/client/plugins/raise_response_errors.rb:14:in `call'
|
27
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_sse_cpk.rb:19:in `call'
|
28
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_dualstack.rb:24:in `call'
|
29
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/s3_accelerate.rb:34:in `call'
|
30
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/idempotency_token.rb:18:in `call'
|
31
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/aws-sdk-core/plugins/param_converter.rb:20:in `call'
|
32
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/seahorse/client/plugins/response_target.rb:21:in `call'
|
33
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/seahorse/client/request.rb:70:in `send_request'
|
34
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-core-2.6.36/lib/seahorse/client/base.rb:207:in `block (2 levels) in define_operation_methods'
|
35
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-resources-2.6.36/lib/aws-sdk-resources/services/s3/file_uploader.rb:42:in `block in put_object'
|
36
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-resources-2.6.36/lib/aws-sdk-resources/services/s3/file_uploader.rb:49:in `open_file'
|
37
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-resources-2.6.36/lib/aws-sdk-resources/services/s3/file_uploader.rb:41:in `put_object'
|
38
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-resources-2.6.36/lib/aws-sdk-resources/services/s3/file_uploader.rb:34:in `upload'
|
39
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/aws-sdk-resources-2.6.36/lib/aws-sdk-resources/services/s3/object.rb:251:in `upload_file'
|
40
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/s3datasource.rb:188:in `block in run'
|
41
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/s3datasource.rb:165:in `block in each_src_dest'
|
42
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/s3datasource.rb:163:in `each'
|
43
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/s3datasource.rb:163:in `each_src_dest'
|
44
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/s3datasource.rb:186:in `run'
|
45
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:82:in `block (2 levels) in run'
|
46
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:81:in `each'
|
47
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:81:in `block in run'
|
48
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/datasource.rb:136:in `open'
|
49
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/datasource.rb:140:in `open_for_batch'
|
50
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:80:in `run'
|
51
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:47:in `block in run'
|
52
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:46:in `each'
|
53
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/script.rb:46:in `run'
|
54
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/job.rb:143:in `block in execute'
|
55
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/logger.rb:44:in `with_elapsed_time'
|
56
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/job.rb:142:in `execute'
|
57
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/application.rb:68:in `block in main'
|
58
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/application.rb:97:in `redirect_log_to_file'
|
59
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/application.rb:67:in `main'
|
60
|
-
/Users/minero-aoki/c/bricolage/lib/bricolage/application.rb:28:in `main'
|
61
|
-
/Users/minero-aoki/c/bricolage/bin/bricolage:6:in `<top (required)>'
|
62
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bin/bricolage:23:in `load'
|
63
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bin/bricolage:23:in `<top (required)>'
|
64
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `load'
|
65
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `kernel_load'
|
66
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:27:in `run'
|
67
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:332:in `exec'
|
68
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
|
69
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
|
70
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
|
71
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:20:in `dispatch'
|
72
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
|
73
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:11:in `start'
|
74
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:34:in `block in <top (required)>'
|
75
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
|
76
|
-
/Users/minero-aoki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:26:in `<top (required)>'
|
77
|
-
/Users/minero-aoki/.rbenv/versions/2.3/bin/bundle:23:in `load'
|
78
|
-
/Users/minero-aoki/.rbenv/versions/2.3/bin/bundle:23:in `<main>'
|
79
|
-
|
80
|
-
2017-01-17 20:25:51 +0900: ERROR: error: Aws::Errors::MissingCredentialsError: unable to sign request without credentials set
|
@@ -1,79 +0,0 @@
|
|
1
|
-
2017-01-17 20:26:36 +0900: INFO: development environment
|
2
|
-
2017-01-17 20:26:36 +0900: INFO: [CMD] "/Users/minero-aoki/c/bricolage/libexec/sqldump" "--json" "127.0.0.1" "9011" "work_readonly" "main" "select * from main.search_backends;" | "gzip" "{:out=>"/tmp/bricolagedev/search_backends.json.gz"}"
|
3
|
-
2017-01-17 20:26:36.214888001 +0900 JST: [SQL] select * from main.search_backends;
|
4
|
-
2017-01-17 20:26:36.27827597 +0900 JST: query returned
|
5
|
-
2017-01-17 20:26:36.278393544 +0900 JST: Total 11 records
|
6
|
-
2017-01-17 20:26:36 +0900: INFO: aws s3 cp /tmp/bricolagedev/search_backends.json.gz s3://tabemiru-data.ap-northeast-1/dev/search_backends/search_backends.json.gz
|
7
|
-
rm -f /tmp/bricolagedev/search_backends.json.gz
|
8
|
-
2017-01-17 20:26:36 +0900: INFO: command: psql --no-psqlrc --host=dwh.ckpd.co --port=5439 --username=aamine production --echo-all -v ON_ERROR_STOP=true -f /var/folders/_t/f8rv7p995rq8m3j3tf45w4rm0000gp/T/1484652396_69460_3fd54d43f9d8_14594 --no-password
|
9
|
-
\timing on
|
10
|
-
Timing is on.
|
11
|
-
begin transaction;
|
12
|
-
BEGIN
|
13
|
-
Time: 8.269 ms
|
14
|
-
drop table if exists aamine.search_backends_old cascade;
|
15
|
-
psql:/var/folders/_t/f8rv7p995rq8m3j3tf45w4rm0000gp/T/1484652396_69460_3fd54d43f9d8_14594:5: INFO: Table "search_backends_old" does not exist and will be skipped
|
16
|
-
DROP TABLE
|
17
|
-
Time: 8.647 ms
|
18
|
-
drop table if exists aamine.search_backends_wk cascade;
|
19
|
-
psql:/var/folders/_t/f8rv7p995rq8m3j3tf45w4rm0000gp/T/1484652396_69460_3fd54d43f9d8_14594:7: INFO: Table "search_backends_wk" does not exist and will be skipped
|
20
|
-
DROP TABLE
|
21
|
-
Time: 8.031 ms
|
22
|
-
/* /Users/minero-aoki/c/bricolage/test/home/subsys/search_backends.ct */
|
23
|
-
create table aamine.search_backends_wk
|
24
|
-
( id int
|
25
|
-
, role varchar(10)
|
26
|
-
, group_id smallint
|
27
|
-
, index_type varchar(32)
|
28
|
-
, config_key varchar(32)
|
29
|
-
, updated_at timestamp
|
30
|
-
)
|
31
|
-
distkey (id)
|
32
|
-
sortkey (id)
|
33
|
-
;
|
34
|
-
CREATE TABLE
|
35
|
-
Time: 521.167 ms
|
36
|
-
copy aamine.search_backends_wk
|
37
|
-
from 's3://tabemiru-data.ap-northeast-1/dev/search_backends/search_backends.json.gz'
|
38
|
-
credentials 'aws_iam_role=arn:aws:iam::789035092620:role/RedshiftDWHTeamS3Access'
|
39
|
-
json 'auto'
|
40
|
-
statupdate false
|
41
|
-
compupdate false
|
42
|
-
emptyasnull
|
43
|
-
gzip
|
44
|
-
;
|
45
|
-
psql:/var/folders/_t/f8rv7p995rq8m3j3tf45w4rm0000gp/T/1484652396_69460_3fd54d43f9d8_14594:30: INFO: Load into table 'search_backends_wk' completed, 11 record(s) loaded successfully.
|
46
|
-
COPY
|
47
|
-
Time: 1235.569 ms
|
48
|
-
grant select on aamine.search_backends_wk to aamine;
|
49
|
-
GRANT
|
50
|
-
Time: 8.580 ms
|
51
|
-
analyze aamine.search_backends_wk;
|
52
|
-
ANALYZE
|
53
|
-
Time: 43.441 ms
|
54
|
-
create table if not exists aamine.search_backends (x int);
|
55
|
-
psql:/var/folders/_t/f8rv7p995rq8m3j3tf45w4rm0000gp/T/1484652396_69460_3fd54d43f9d8_14594:36: INFO: Relation "search_backends" already exists and will be skipped
|
56
|
-
CREATE TABLE
|
57
|
-
Time: 7.768 ms
|
58
|
-
alter table aamine.search_backends rename to search_backends_old;
|
59
|
-
ALTER TABLE
|
60
|
-
Time: 10.037 ms
|
61
|
-
alter table aamine.search_backends_wk rename to search_backends;
|
62
|
-
ALTER TABLE
|
63
|
-
Time: 11.686 ms
|
64
|
-
commit;
|
65
|
-
COMMIT
|
66
|
-
Time: 8482.452 ms
|
67
|
-
drop table if exists aamine.search_backends_old cascade;
|
68
|
-
DROP TABLE
|
69
|
-
Time: 4801.919 ms
|
70
|
-
;
|
71
|
-
Time: 8.088 ms
|
72
|
-
vacuum sort only aamine.search_backends;
|
73
|
-
VACUUM
|
74
|
-
Time: 36970.832 ms
|
75
|
-
;
|
76
|
-
Time: 8.746 ms
|
77
|
-
2017-01-17 20:27:29 +0900: INFO: status: 0 (pid 69478 exit 0)
|
78
|
-
2017-01-17 20:27:29 +0900: INFO: 53.05 secs
|
79
|
-
2017-01-17 20:27:29 +0900: INFO: SUCCESS
|