full360-sequencer 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sequencer +2 -0
- data/lib/full360-sequencer.rb +3 -0
- 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: 0e85e474f15e14b013eae227a2e7476fee870d031d2906b74e9be5fd60d92d12
|
4
|
+
data.tar.gz: fc732ffe3f575c2324ee35bb33a1cd1d5c70948a79a600d2985baf603bebf7e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eda39159ea5cb80145574c01b594aba5193a1adb970ce0721c9d4383bae5889e7f059a0712c659aa856b91bf03fc26f127704996bccdc82f3b4faeb849fccf5
|
7
|
+
data.tar.gz: 85ffa009279ff7a855097902856d3c9fd48bc5b777b53e936360d8a7ba91c61dbd03968540ee95735cd1175660a70bb322d34a2920442004056694e92b061358
|
data/bin/sequencer
CHANGED
@@ -22,6 +22,7 @@ begin
|
|
22
22
|
logger.level = ENV['SEQUENCER_LOG_DEBUG'] ? Logger::DEBUG : Logger::INFO
|
23
23
|
|
24
24
|
if config_file == nil
|
25
|
+
logger.error('SEQUENCER_ERROR')
|
25
26
|
logger.error('YAML file not provided... exiting with error code 1')
|
26
27
|
exit 1
|
27
28
|
else
|
@@ -33,6 +34,7 @@ begin
|
|
33
34
|
logger.info('all steps succeeded... exiting with code 0')
|
34
35
|
exit 0
|
35
36
|
rescue => e
|
37
|
+
logger.error('SEQUENCER_ERROR')
|
36
38
|
logger.error(e.message)
|
37
39
|
e.backtrace.each { |r| logger.error(r) }
|
38
40
|
logger.error('failure... exiting with code 1')
|
data/lib/full360-sequencer.rb
CHANGED
@@ -42,6 +42,7 @@ module Full360
|
|
42
42
|
raise "task failed error" unless this_task.success
|
43
43
|
end
|
44
44
|
rescue => e
|
45
|
+
@logger.error('SEQUENCER_ERROR')
|
45
46
|
@logger.error(e.message)
|
46
47
|
e.backtrace.each { |r| @logger.error(r) }
|
47
48
|
end
|
@@ -103,6 +104,7 @@ module Full360
|
|
103
104
|
resp = @ecs_client.run_task(@params)
|
104
105
|
return resp
|
105
106
|
rescue => e
|
107
|
+
@logger.error('SEQUENCER_ERROR')
|
106
108
|
@logger.error("error creating ECS task...")
|
107
109
|
@logger.error("response from ECS: #{resp}")
|
108
110
|
raise e
|
@@ -129,6 +131,7 @@ module Full360
|
|
129
131
|
end
|
130
132
|
false
|
131
133
|
rescue => e
|
134
|
+
@logger.error('SEQUENCER_ERROR')
|
132
135
|
@logger.error(e.message)
|
133
136
|
e.backtrace.each { |r| @logger.error(r) }
|
134
137
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: full360-sequencer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pankaj batra
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|