bugsnag 6.9.0 → 6.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/features/delayed_job.feature +9 -10
- data/features/fixtures/delayed_job/Dockerfile +2 -2
- data/features/fixtures/delayed_job/app/config/initializers/bugsnag.rb +12 -12
- data/features/fixtures/docker-compose.yml +118 -124
- data/features/fixtures/plain/Dockerfile +5 -6
- data/features/fixtures/plain/app/Gemfile +1 -1
- data/features/fixtures/plain/app/app.rb +19 -19
- data/features/fixtures/plain/app/configuration/api_key.rb +1 -1
- data/features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb +5 -1
- data/features/fixtures/rack1/Dockerfile +7 -6
- data/features/fixtures/rack1/Gemfile +1 -1
- data/features/fixtures/rack2/Dockerfile +7 -6
- data/features/fixtures/rack2/Gemfile +1 -1
- data/features/fixtures/rails3/Dockerfile +5 -6
- data/features/fixtures/rails3/app/Gemfile +1 -1
- data/features/fixtures/rails3/app/config/initializers/bugsnag.rb +12 -12
- data/features/fixtures/rails4/Dockerfile +7 -5
- data/features/fixtures/rails4/app/Gemfile +1 -1
- data/features/fixtures/rails4/app/config/initializers/bugsnag.rb +12 -12
- data/features/fixtures/rails5/Dockerfile +5 -6
- data/features/fixtures/rails5/app/Gemfile +1 -1
- data/features/fixtures/rails5/app/config/initializers/bugsnag.rb +12 -12
- data/features/fixtures/resque/Dockerfile +6 -5
- data/features/fixtures/resque/Gemfile +1 -1
- data/features/fixtures/sidekiq/Dockerfile +4 -2
- data/features/fixtures/sidekiq/app/Gemfile +3 -1
- data/features/fixtures/sidekiq/app/app.rb +4 -4
- data/features/fixtures/sinatra1/Dockerfile +6 -5
- data/features/fixtures/sinatra1/Gemfile +1 -1
- data/features/fixtures/sinatra2/Dockerfile +6 -5
- data/features/fixtures/sinatra2/Gemfile +1 -1
- data/features/plain_features/add_tab.feature +15 -17
- data/features/plain_features/api_key.feature +2 -3
- data/features/plain_features/app_type.feature +3 -5
- data/features/plain_features/app_version.feature +3 -5
- data/features/plain_features/auto_notify.feature +1 -3
- data/features/plain_features/delivery.feature +3 -5
- data/features/plain_features/exception_data.feature +4 -6
- data/features/plain_features/filters.feature +4 -6
- data/features/plain_features/handled_errors.feature +48 -30
- data/features/plain_features/ignore_classes.feature +0 -2
- data/features/plain_features/ignore_report.feature +0 -2
- data/features/plain_features/proxies.feature +4 -6
- data/features/plain_features/release_stages.feature +8 -10
- data/features/plain_features/report_api_key.feature +1 -3
- data/features/plain_features/report_severity.feature +3 -5
- data/features/plain_features/report_stack_frames.feature +54 -21
- data/features/plain_features/report_user.feature +10 -12
- data/features/plain_features/unhandled_errors.feature +4 -6
- data/features/rails_features/api_key.feature +3 -3
- data/features/rails_features/app_type.feature +4 -4
- data/features/rails_features/app_version.feature +2 -2
- data/features/rails_features/auto_capture_sessions.feature +4 -4
- data/features/rails_features/auto_notify.feature +5 -5
- data/features/rails_features/before_notify.feature +4 -4
- data/features/rails_features/handled.feature +6 -6
- data/features/rails_features/ignore_classes.feature +2 -2
- data/features/rails_features/meta_data_filters.feature +2 -2
- data/features/rails_features/project_root.feature +8 -8
- data/features/rails_features/release_stage.feature +2 -2
- data/features/rails_features/send_code.feature +2 -2
- data/features/rails_features/send_environment.feature +3 -3
- data/features/rails_features/unhandled.feature +4 -4
- data/features/rails_features/user_info.feature +4 -4
- data/features/sidekiq.feature +9 -10
- data/features/steps/ruby_notifier_steps.rb +6 -25
- data/features/support/env.rb +18 -9
- data/lib/bugsnag/configuration.rb +3 -3
- data/lib/bugsnag/integrations/mailman.rb +0 -1
- data/lib/bugsnag/integrations/shoryuken.rb +6 -8
- data/lib/bugsnag/integrations/sidekiq.rb +14 -11
- data/lib/bugsnag/stacktrace.rb +1 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/integrations/sidekiq_spec.rb +73 -7
- data/spec/report_spec.rb +62 -20
- data/spec/spec_helper.rb +1 -1
- data/spec/stacktrace_spec.rb +20 -16
- 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: ce226017ad134f5f882d4c5cd347871e04daac3270d032db298de2b23a5abc97
|
4
|
+
data.tar.gz: a5b2a379fafe7bd51b8d2d8ca762ccda6f19ac5beb1b9d6ac607fd85e8768a2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f94232a1d4f0c98df012d75ff19b02bfaf0133b3cc93b4e0b0285e9455ce52e40bb94b5f7cd1742841777f24ccfb0a7a01cc7756e618a4693675bad8e5dc378d
|
7
|
+
data.tar.gz: d9840980489c43a139d92e9573be4eb5ba36c34d1a4b79874fc96176d1d1ab20ba4d1fd2c179d92ae08645276543a899b41e9ce3e62520d9ca7a0292c140ab17
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
## 6.10.0 (05 Dec 2018)
|
5
|
+
|
6
|
+
### Enhancements
|
7
|
+
|
8
|
+
* Add SignalException to our default ignored classes
|
9
|
+
| [#479](https://github.com/bugsnag/bugsnag-ruby/pull/479)
|
10
|
+
| [Toby Hsieh](https://github.com/tobyhs)
|
11
|
+
|
12
|
+
* Include Bugsnag frames, marked out of project
|
13
|
+
| [#497](https://github.com/bugsnag/bugsnag-ruby/pull/497)
|
14
|
+
|
15
|
+
### Fixes
|
16
|
+
|
17
|
+
* Ensure Sidekiq request data is always attached to notifications
|
18
|
+
| [#495](https://github.com/bugsnag/bugsnag-ruby/pull/495)
|
19
|
+
|
4
20
|
## 6.9.0 (12 Nov 2018)
|
5
21
|
|
6
22
|
### Enhancements
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.
|
1
|
+
6.10.0
|
@@ -2,7 +2,6 @@ Feature: Bugsnag detects errors in Delayed job workers
|
|
2
2
|
|
3
3
|
Background:
|
4
4
|
Given I set environment variable "BUGSNAG_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
|
5
|
-
And I set environment variable "MAZE_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
|
6
5
|
And I configure the bugsnag endpoint
|
7
6
|
|
8
7
|
Scenario: An unhandled RuntimeError sends a report with arguments
|
@@ -11,14 +10,14 @@ Scenario: An unhandled RuntimeError sends a report with arguments
|
|
11
10
|
And I run the command "bundle exec rails runner 'TestModel.delay.fail_with_args(\"Test\")'" on the service "delayed_job"
|
12
11
|
And I wait for 5 seconds
|
13
12
|
Then I should receive a request
|
14
|
-
And the request used the Ruby notifier
|
13
|
+
And the request used the "Ruby Bugsnag Notifier" notifier
|
15
14
|
And the request used payload v4 headers
|
16
15
|
And the request contained the api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
|
17
16
|
And the event "unhandled" is true
|
18
|
-
And the event "severity"
|
19
|
-
And the event "context"
|
20
|
-
And the event "severityReason.type"
|
21
|
-
And the event "severityReason.attributes.framework"
|
17
|
+
And the event "severity" equals "error"
|
18
|
+
And the event "context" equals "TestModel.fail_with_args"
|
19
|
+
And the event "severityReason.type" equals "unhandledExceptionMiddleware"
|
20
|
+
And the event "severityReason.attributes.framework" equals "DelayedJob"
|
22
21
|
And the exception "errorClass" equals "RuntimeError"
|
23
22
|
And the event "metaData.job.class" equals "Delayed::Backend::ActiveRecord::Job"
|
24
23
|
And the event "metaData.job.id" is not null
|
@@ -35,13 +34,13 @@ Scenario: A handled exception sends a report
|
|
35
34
|
And I run the command "bundle exec rails runner 'TestModel.delay.notify_with_args(\"Test\")'" on the service "delayed_job"
|
36
35
|
And I wait for 5 seconds
|
37
36
|
Then I should receive a request
|
38
|
-
And the request used the Ruby notifier
|
37
|
+
And the request used the "Ruby Bugsnag Notifier" notifier
|
39
38
|
And the request used payload v4 headers
|
40
39
|
And the request contained the api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
|
41
40
|
And the event "unhandled" is false
|
42
|
-
And the event "severity"
|
43
|
-
And the event "context"
|
44
|
-
And the event "severityReason.type"
|
41
|
+
And the event "severity" equals "warning"
|
42
|
+
And the event "context" equals "TestModel.notify_with_args"
|
43
|
+
And the event "severityReason.type" equals "handledException"
|
45
44
|
And the exception "errorClass" equals "RuntimeError"
|
46
45
|
And the event "metaData.job.class" equals "Delayed::Backend::ActiveRecord::Job"
|
47
46
|
And the event "metaData.job.id" is not null
|
@@ -1,14 +1,14 @@
|
|
1
1
|
Bugsnag.configure do |config|
|
2
|
-
config.api_key = ENV["BUGSNAG_API_KEY"] || ENV["
|
3
|
-
config.endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["
|
4
|
-
config.session_endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["
|
5
|
-
config.app_type = ENV["
|
6
|
-
config.app_version = ENV["
|
7
|
-
config.auto_notify = ENV["
|
8
|
-
config.project_root = ENV["
|
9
|
-
config.ignore_classes << lambda { |ex| ex.class.to_s == ENV["
|
10
|
-
config.auto_capture_sessions = ENV["
|
11
|
-
config.release_stage = ENV["
|
12
|
-
config.send_code = ENV["
|
13
|
-
config.send_environment = ENV["
|
2
|
+
config.api_key = ENV["BUGSNAG_API_KEY"] || ENV["BUGSNAG_API_KEY"]
|
3
|
+
config.endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
|
4
|
+
config.session_endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
|
5
|
+
config.app_type = ENV["BUGSNAG_APP_TYPE"] if ENV.include? "BUGSNAG_APP_TYPE"
|
6
|
+
config.app_version = ENV["BUGSNAG_APP_VERSION"] if ENV.include? "BUGSNAG_APP_VERSION"
|
7
|
+
config.auto_notify = ENV["BUGSNAG_AUTO_NOTIFY"] != "false"
|
8
|
+
config.project_root = ENV["BUGSNAG_PROJECT_ROOT"] if ENV.include? "BUGSNAG_PROJECT_ROOT"
|
9
|
+
config.ignore_classes << lambda { |ex| ex.class.to_s == ENV["BUGSNAG_IGNORE_CLASS"] } if ENV.include? "BUGSNAG_IGNORE_CLASS"
|
10
|
+
config.auto_capture_sessions = ENV["BUGSNAG_AUTO_CAPTURE_SESSIONS"] == "true"
|
11
|
+
config.release_stage = ENV["BUGSNAG_RELEASE_STAGE"] if ENV.include? "BUGSNAG_RELEASE_STAGE"
|
12
|
+
config.send_code = ENV["BUGSNAG_SEND_CODE"] != "false"
|
13
|
+
config.send_environment = ENV["BUGSNAG_SEND_ENVIRONMENT"] == "true"
|
14
14
|
end
|
@@ -14,26 +14,25 @@ services:
|
|
14
14
|
- BUGSNAG_API_KEY
|
15
15
|
- http_proxy
|
16
16
|
- https_proxy
|
17
|
-
-
|
18
|
-
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
-
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
34
|
-
-
|
35
|
-
-
|
36
|
-
- MAZE_TIMEOUT
|
17
|
+
- BUGSNAG_APP_TYPE
|
18
|
+
- BUGSNAG_APP_VERSION
|
19
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
20
|
+
- BUGSNAG_AUTO_NOTIFY
|
21
|
+
- BUGSNAG_ENDPOINT
|
22
|
+
- BUGSNAG_IGNORE_CLASS
|
23
|
+
- BUGSNAG_IGNORE_MESSAGE
|
24
|
+
- BUGSNAG_META_DATA_FILTERS
|
25
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
26
|
+
- BUGSNAG_PROJECT_ROOT
|
27
|
+
- BUGSNAG_PROXY_HOST
|
28
|
+
- BUGSNAG_PROXY_PASSWORD
|
29
|
+
- BUGSNAG_PROXY_PORT
|
30
|
+
- BUGSNAG_PROXY_USER
|
31
|
+
- BUGSNAG_RELEASE_STAGE
|
32
|
+
- BUGSNAG_SEND_CODE
|
33
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
34
|
+
- BUGSNAG_SESSION_ENDPOINT
|
35
|
+
- BUGSNAG_TIMEOUT
|
37
36
|
- CALLBACK_INITIATOR
|
38
37
|
restart: "no"
|
39
38
|
|
@@ -41,30 +40,29 @@ services:
|
|
41
40
|
build:
|
42
41
|
context: delayed_job
|
43
42
|
args:
|
44
|
-
|
43
|
+
RUBY_VERSION: 2.5
|
45
44
|
environment:
|
46
45
|
- BUGSNAG_API_KEY
|
47
46
|
- http_proxy
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
- MAZE_AUTO_NOTIFY
|
47
|
+
- BUGSNAG_APP_TYPE
|
48
|
+
- BUGSNAG_APP_VERSION
|
49
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
50
|
+
- BUGSNAG_AUTO_NOTIFY
|
53
51
|
- BUGSNAG_ENDPOINT
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
52
|
+
- BUGSNAG_IGNORE_CLASS
|
53
|
+
- BUGSNAG_IGNORE_MESSAGE
|
54
|
+
- BUGSNAG_META_DATA_FILTERS
|
55
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
56
|
+
- BUGSNAG_PROJECT_ROOT
|
57
|
+
- BUGSNAG_PROXY_HOST
|
58
|
+
- BUGSNAG_PROXY_PASSWORD
|
59
|
+
- BUGSNAG_PROXY_PORT
|
60
|
+
- BUGSNAG_PROXY_USER
|
61
|
+
- BUGSNAG_RELEASE_STAGE
|
62
|
+
- BUGSNAG_SEND_CODE
|
63
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
64
|
+
- BUGSNAG_SESSION_ENDPOINT
|
65
|
+
- BUGSNAG_TIMEOUT
|
68
66
|
- CALLBACK_INITIATOR
|
69
67
|
restart: "no"
|
70
68
|
|
@@ -72,7 +70,7 @@ services:
|
|
72
70
|
build:
|
73
71
|
context: rack1
|
74
72
|
args:
|
75
|
-
-
|
73
|
+
- RUBY_VERSION
|
76
74
|
environment:
|
77
75
|
- endpoint
|
78
76
|
ports:
|
@@ -82,7 +80,7 @@ services:
|
|
82
80
|
build:
|
83
81
|
context: rack2
|
84
82
|
args:
|
85
|
-
-
|
83
|
+
- RUBY_VERSION
|
86
84
|
environment:
|
87
85
|
- endpoint
|
88
86
|
ports:
|
@@ -99,26 +97,25 @@ services:
|
|
99
97
|
- BUGSNAG_API_KEY
|
100
98
|
- http_proxy
|
101
99
|
- RAILS_ENV
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
- MAZE_TIMEOUT
|
100
|
+
- BUGSNAG_APP_TYPE
|
101
|
+
- BUGSNAG_APP_VERSION
|
102
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
103
|
+
- BUGSNAG_AUTO_NOTIFY
|
104
|
+
- BUGSNAG_ENDPOINT
|
105
|
+
- BUGSNAG_IGNORE_CLASS
|
106
|
+
- BUGSNAG_IGNORE_MESSAGE
|
107
|
+
- BUGSNAG_META_DATA_FILTERS
|
108
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
109
|
+
- BUGSNAG_PROJECT_ROOT
|
110
|
+
- BUGSNAG_PROXY_HOST
|
111
|
+
- BUGSNAG_PROXY_PASSWORD
|
112
|
+
- BUGSNAG_PROXY_PORT
|
113
|
+
- BUGSNAG_PROXY_USER
|
114
|
+
- BUGSNAG_RELEASE_STAGE
|
115
|
+
- BUGSNAG_SEND_CODE
|
116
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
117
|
+
- BUGSNAG_SESSION_ENDPOINT
|
118
|
+
- BUGSNAG_TIMEOUT
|
122
119
|
- CALLBACK_INITIATOR
|
123
120
|
ports:
|
124
121
|
- target: 3000
|
@@ -135,26 +132,25 @@ services:
|
|
135
132
|
- BUGSNAG_API_KEY
|
136
133
|
- http_proxy
|
137
134
|
- RAILS_ENV
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
- MAZE_TIMEOUT
|
135
|
+
- BUGSNAG_APP_TYPE
|
136
|
+
- BUGSNAG_APP_VERSION
|
137
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
138
|
+
- BUGSNAG_AUTO_NOTIFY
|
139
|
+
- BUGSNAG_ENDPOINT
|
140
|
+
- BUGSNAG_IGNORE_CLASS
|
141
|
+
- BUGSNAG_IGNORE_MESSAGE
|
142
|
+
- BUGSNAG_META_DATA_FILTERS
|
143
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
144
|
+
- BUGSNAG_PROJECT_ROOT
|
145
|
+
- BUGSNAG_PROXY_HOST
|
146
|
+
- BUGSNAG_PROXY_PASSWORD
|
147
|
+
- BUGSNAG_PROXY_PORT
|
148
|
+
- BUGSNAG_PROXY_USER
|
149
|
+
- BUGSNAG_RELEASE_STAGE
|
150
|
+
- BUGSNAG_SEND_CODE
|
151
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
152
|
+
- BUGSNAG_SESSION_ENDPOINT
|
153
|
+
- BUGSNAG_TIMEOUT
|
158
154
|
- CALLBACK_INITIATOR
|
159
155
|
ports:
|
160
156
|
- target: 3000
|
@@ -171,26 +167,25 @@ services:
|
|
171
167
|
- BUGSNAG_API_KEY
|
172
168
|
- http_proxy
|
173
169
|
- RAILS_ENV
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
- MAZE_TIMEOUT
|
170
|
+
- BUGSNAG_APP_TYPE
|
171
|
+
- BUGSNAG_APP_VERSION
|
172
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
173
|
+
- BUGSNAG_AUTO_NOTIFY
|
174
|
+
- BUGSNAG_ENDPOINT
|
175
|
+
- BUGSNAG_IGNORE_CLASS
|
176
|
+
- BUGSNAG_IGNORE_MESSAGE
|
177
|
+
- BUGSNAG_META_DATA_FILTERS
|
178
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
179
|
+
- BUGSNAG_PROJECT_ROOT
|
180
|
+
- BUGSNAG_PROXY_HOST
|
181
|
+
- BUGSNAG_PROXY_PASSWORD
|
182
|
+
- BUGSNAG_PROXY_PORT
|
183
|
+
- BUGSNAG_PROXY_USER
|
184
|
+
- BUGSNAG_RELEASE_STAGE
|
185
|
+
- BUGSNAG_SEND_CODE
|
186
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
187
|
+
- BUGSNAG_SESSION_ENDPOINT
|
188
|
+
- BUGSNAG_TIMEOUT
|
194
189
|
- CALLBACK_INITIATOR
|
195
190
|
ports:
|
196
191
|
- target: 3000
|
@@ -221,26 +216,25 @@ services:
|
|
221
216
|
environment:
|
222
217
|
- BUGSNAG_API_KEY
|
223
218
|
- http_proxy
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
229
|
-
-
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
235
|
-
-
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
239
|
-
-
|
240
|
-
-
|
241
|
-
-
|
242
|
-
-
|
243
|
-
- MAZE_TIMEOUT
|
219
|
+
- BUGSNAG_APP_TYPE
|
220
|
+
- BUGSNAG_APP_VERSION
|
221
|
+
- BUGSNAG_AUTO_CAPTURE_SESSIONS
|
222
|
+
- BUGSNAG_AUTO_NOTIFY
|
223
|
+
- BUGSNAG_ENDPOINT
|
224
|
+
- BUGSNAG_IGNORE_CLASS
|
225
|
+
- BUGSNAG_IGNORE_MESSAGE
|
226
|
+
- BUGSNAG_META_DATA_FILTERS
|
227
|
+
- BUGSNAG_NOTIFY_RELEASE_STAGE
|
228
|
+
- BUGSNAG_PROJECT_ROOT
|
229
|
+
- BUGSNAG_PROXY_HOST
|
230
|
+
- BUGSNAG_PROXY_PASSWORD
|
231
|
+
- BUGSNAG_PROXY_PORT
|
232
|
+
- BUGSNAG_PROXY_USER
|
233
|
+
- BUGSNAG_RELEASE_STAGE
|
234
|
+
- BUGSNAG_SEND_CODE
|
235
|
+
- BUGSNAG_SEND_ENVIRONMENT
|
236
|
+
- BUGSNAG_SESSION_ENDPOINT
|
237
|
+
- BUGSNAG_TIMEOUT
|
244
238
|
- CALLBACK_INITIATOR
|
245
239
|
restart: "no"
|
246
240
|
|
@@ -248,7 +242,7 @@ services:
|
|
248
242
|
build:
|
249
243
|
context: sinatra1
|
250
244
|
args:
|
251
|
-
-
|
245
|
+
- RUBY_VERSION
|
252
246
|
environment:
|
253
247
|
- endpoint
|
254
248
|
ports:
|
@@ -259,7 +253,7 @@ services:
|
|
259
253
|
build:
|
260
254
|
context: sinatra2
|
261
255
|
args:
|
262
|
-
-
|
256
|
+
- RUBY_VERSION
|
263
257
|
environment:
|
264
258
|
- endpoint
|
265
259
|
ports:
|
@@ -1,12 +1,11 @@
|
|
1
1
|
ARG RUBY_VERSION
|
2
2
|
FROM ruby:$RUBY_VERSION
|
3
3
|
|
4
|
-
|
4
|
+
WORKDIR /bugsnag
|
5
|
+
COPY temp-bugsnag-lib ./
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
COPY app/Gemfile $APP_PATH
|
7
|
+
WORKDIR /usr/src/app
|
8
|
+
COPY app/Gemfile /usr/src/app/
|
10
9
|
RUN bundle install
|
11
10
|
|
12
|
-
COPY app
|
11
|
+
COPY app/ /usr/src/app
|