Commit Graph

43 Commits

Author SHA1 Message Date
R. Tyler Croy 671ed879b2
Update some Ruby dependencies to include Sinatra 2.0.1
Thanks github for the notice!
2018-02-20 14:14:13 -08:00
R. Tyler Croy 99c0e7adf2
Multi-stage builds, wheee 2018-02-20 14:08:37 -08:00
R. Tyler Croy 6c311bc93d
Switch the container name to the new org 2018-02-20 14:08:37 -08:00
R. Tyler Croy 53a21971a2
Merge pull request #17 from rtyler/faraday-timeout
Timeouts out of Faraday are totally predictable.
2017-12-22 11:52:40 -08:00
R. Tyler Croy 352f13c5cd
Timeouts out of Faraday are totally predictable.
Fixes #16
2017-12-22 11:43:18 -08:00
R. Tyler Croy f6d2c9b389
Quietly handle connection failures
Fixes #10
2017-12-19 16:02:03 -08:00
R. Tyler Croy 71a807b958
Use the jruby environment as the indicator of the General Available channel
I've been using my own instance as a secondary alpha channel.
2017-12-19 16:02:03 -08:00
R. Tyler Croy 8e1707e01c
Merge pull request #13 from rtyler/less-sentry
Prevent predictable response errors from Sentry from re-raising as errors
2017-12-19 08:54:04 -08:00
R. Tyler Croy 30188bfa62
Correct the build badge 2017-12-19 08:53:33 -08:00
R. Tyler Croy 2c2303a700
Prevent predictable response errors from Sentry from re-raising as errors
Fixes #11, #8
2017-12-19 08:46:43 -08:00
R. Tyler Croy 945c8003a4
Update the Jenkins DAO to reflect the new subdomains for Code Valet 2017-12-18 13:45:31 -08:00
R. Tyler Croy 322bbe5dc0
Adjust the templates to handle canary on its own domain 2017-12-15 07:54:34 -08:00
R. Tyler Croy a156dc3288
Capture not found exceptions and avoid hitting sentry
Address #11 somewhat
2017-11-10 18:30:22 -08:00
R. Tyler Croy d984870d7f
parens! 2017-10-04 11:24:47 -07:00
R. Tyler Croy 64d81f269c
lol 2017-10-04 11:23:44 -07:00
R. Tyler Croy ae45baa18f
Include OpenSSL::SSL::SSLError in the list of expected network related errors
Fixes #2
2017-10-04 11:23:44 -07:00
R. Tyler Croy c4b5fe7c32
Clean up the styling to be a bit more readable
I'M SO GOOD AT CSS FITE ME
2017-10-04 11:23:44 -07:00
R. Tyler Croy 779ebdaf9a Merge pull request #7 from rtyler/caching-dao
Refactoring the access to the Jenkins services through a caching DAO layer
2017-09-04 11:09:26 -07:00
R. Tyler Croy 2fca701288
Add rubocop styling for funsies
This should help others contribute correctly too, so I hear.
2017-09-04 11:01:32 -07:00
R. Tyler Croy 3419d199e9
Catch invalid responses from Sentry's API and treat them as expected errors
Fixes #5
2017-09-04 10:30:57 -07:00
R. Tyler Croy 6e1a1ef172
Add the remainder of the Sentry DAO calls needed 2017-09-04 10:28:17 -07:00
R. Tyler Croy d67a9086c1
Add the Sentry DAO which presently covers the home page
Fixes #1, #2
2017-09-04 10:09:08 -07:00
R. Tyler Croy e0a67300fe
Ensure that the DAO::Jenkins calls properly ignore network errors but not others
Fixes #1
2017-09-04 09:35:23 -07:00
R. Tyler Croy f8ecd9e629
always should always be in a post {} 🔥 2017-09-04 09:09:17 -07:00
R. Tyler Croy 1ed83a6b72
Refactoring the access to the Jenkins services through a caching DAO layer
MiniCache is not thread-safe (derp) so smashing a Concurrent::Hash into it
should solve that problem

RUBY AMIRITE
2017-09-04 09:05:53 -07:00
R. Tyler Croy 6115964372 Merge pull request #4 from rtyler/ext-in-alpine
Build the gems inside the container
2017-09-03 17:38:20 -07:00
R. Tyler Croy ce0ba7e520
Properly build Puma, and other native gems, inside the container
This doesn't end up as big as I feared, so I'm rather pleased.

Fixes #3
2017-09-03 17:27:18 -07:00
R. Tyler Croy 9e8a768e11
Revert "Switch Canary to use Puma for its webserver instead of WEBrick"
This reverts commit c8a8d2c1b5.
2017-09-03 16:51:55 -07:00
R. Tyler Croy d9d9a843ca
Handle our URL root path when in production vs. local testing 2017-09-03 16:32:02 -07:00
R. Tyler Croy c8a8d2c1b5
Switch Canary to use Puma for its webserver instead of WEBrick 2017-09-03 16:26:00 -07:00
R. Tyler Croy 4c286eadf9
Avoid ascking for a tty in Jenkins Pipeline 2017-09-03 15:14:41 -07:00
R. Tyler Croy a35fc3530f
Avoid calling #auto_paginate if projects is empty 2017-09-03 13:23:53 -07:00
R. Tyler Croy d6d55e1899
Trailing slash 2017-09-03 13:17:54 -07:00
R. Tyler Croy 626f922ab5
Rely on relative image paths since we're hosting under /canary 2017-09-03 13:04:25 -07:00
R. Tyler Croy 4850867242
Properly build the container and run it in CI 2017-09-03 12:47:13 -07:00
R. Tyler Croy 638ea446a9
Begin fetching Jenkins master related information to present in the Canary homepage
This app is obvs. still janky AF
2017-09-03 12:43:49 -07:00
R. Tyler Croy 78719b0fce
Add the basic Canary app structure
This is derped along without any tests hard enough because I don't feel like
spending the time right now to come up with API shims for Sentry, whose data
types are nested AF.
2017-09-03 12:17:45 -07:00
R. Tyler Croy 01f52e7ba0
Fix build status link 2017-09-03 10:02:53 -07:00
R. Tyler Croy e6880fc977
Add the build status 2017-08-26 11:48:37 -07:00
R. Tyler Croy ca5a98ea3d Typo >_< 2017-08-26 11:46:52 -07:00
R. Tyler Croy fbdefa28e6
Add a placeholder Pipeline 2017-08-26 11:46:08 -07:00
R. Tyler Croy 4e0239c1e5
Add some details to the readme and another tango icon 2017-08-26 11:45:05 -07:00
R. Tyler Croy c63131941d Initial commit 2017-08-26 11:37:12 -07:00