-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ROLLBAR_TOKEN optional, provide PACKET_ var name alternatives | ENG-7652 #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the commit comment:
s/not ever user/not every user/
d21c584
to
b2d0da5
Compare
Codecov Report
@@ Coverage Diff @@
## master #31 +/- ##
==========================================
+ Coverage 74.55% 74.85% +0.30%
==========================================
Files 5 5
Lines 334 338 +4
==========================================
+ Hits 249 253 +4
Misses 71 71
Partials 14 14
Continue to review full report at Codecov.
|
3557e89
to
ecbd39a
Compare
b1e0f24
to
d092caa
Compare
Since the 'tinkerbell' suite is no longer solely utilized by Packet/Equinix, it stands to reason not every user/deployment will wish to integrate with rollbar for exception logging. This change makes the rollbar integration optional. Additionally the example log function tests were moved to their own file.
codecov isn't used as a blocking check, at the moment its used to see if coverage goes down and to try to figure out why. |
Since the 'tinkerbell' suite is no longer solely utilized by Packet/Equinix, it
stands to reason not every user/deployment will wish to integrate with rollbar
for exception logging. This change makes the rollbar integration optional.
Additionally we provide alternative env var names for PACKET_VERSION and PACKET_ENV (VERSION and ENV respectively). These env vars are only required if ROLLBAR_TOKEN is defined.