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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abbbd848e9b1781d94ad645dd9cc22f633fdf3f614e9933e2bc644f6062681cb
4
- data.tar.gz: e193689050a930b1a39a5007eb325c314ea4f895052cd9bef00bc7b2f780337c
3
+ metadata.gz: 0e85e474f15e14b013eae227a2e7476fee870d031d2906b74e9be5fd60d92d12
4
+ data.tar.gz: fc732ffe3f575c2324ee35bb33a1cd1d5c70948a79a600d2985baf603bebf7e8
5
5
  SHA512:
6
- metadata.gz: 8c4614eda5a674ce7a6b112fc3832223f92ad04c52b051649259563b5dca4a86b7344b7edf3ecafc0a2f1c4aebbd675689dc6be59593bd82eef7c21e1f8e0039
7
- data.tar.gz: 5caef9605f16951eb9c6bfc33a0153928707e96aa99cd922d5c96f73f59f560b2a906fc33a8ba4e0cd1c86336df8748f56cc59bbcac573fee3374c3a83f2f411
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')
@@ -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
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-07-25 00:00:00.000000000 Z
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