Commit Graph

63 Commits

Author SHA1 Message Date
Josh Kalderimis
6feed54684 hit my head against a wall 2013-05-02 19:16:52 +02:00
Josh Kalderimis
1a8b60cc98 turn on octopus in staging 2013-05-02 18:50:59 +02:00
Josh Kalderimis
69b8dff382 only add the shards info if in prod mode 2013-05-02 18:44:27 +02:00
Josh Kalderimis
d72f6ca02d octopus is on in production by default only 2013-05-02 18:23:41 +02:00
Josh Kalderimis
f4132786a6 i don't think this is the best solution 2013-05-02 18:05:32 +02:00
Josh Kalderimis
de6cb2c163 change the require order 2013-05-02 17:21:56 +02:00
Josh Kalderimis
ab2714621f i wonder what i am doing wrong with octopus 2013-05-02 17:08:31 +02:00
Josh Kalderimis
afddbb76ba require octopus 2013-05-02 16:45:34 +02:00
Josh Kalderimis
fa6ea0692d use a follower for one of the repos endpoint 2013-05-02 16:38:20 +02:00
Piotr Sarnacki
2efd1cb9a6 It's .deploy-sha, not .deploy_sha 😡 2013-03-16 16:42:52 +01:00
Piotr Sarnacki
7099331907 Read .deploy-sha file from the proper path 2013-03-16 15:34:59 +01:00
Konstantin Haase
2e6865d55f don't run metrics etc in heroku console 2013-02-14 19:12:26 +01:00
Piotr Sarnacki
0eadcfedbd Use redis for sidekiq from config also on staging 2013-02-06 14:20:03 +01:00
Sven Fuchs
598a586ed4 don't start metrics logger etc unless in production 2013-01-26 20:43:54 +01:00
Sven Fuchs
d441336573 expose logs on /job/:id/log.txt 2013-01-26 20:43:54 +01:00
Sven Fuchs
37dd125a8c start notifications 2013-01-23 22:17:40 +01:00
Sven Fuchs
a9bf43c1fd always use etag for caching when cache_key or updated_at are present, add the deploy_sha as a cache buster 2012-12-09 19:22:33 +01:00
Sven Fuchs
f19f5f9879 check redis for :use_rack_cache 2012-12-09 15:16:50 +01:00
Mathias Meyer
142fad9b81 Hook up activerecord metrics log subscriber. 2012-12-05 11:11:18 +01:00
Mathias Meyer
ecd236a8ff Add metriks. 2012-12-05 11:11:18 +01:00
Sven Fuchs
24b6843bda Merge branch 'master' of github.com:travis-ci/travis-api
Conflicts:
	Gemfile.lock
2012-11-27 15:23:22 +01:00
Sven Fuchs
aff75592e3 don't set services manually 2012-11-27 15:22:23 +01:00
Piotr Sarnacki
76a4becb55 Add prefix for Rack::Cache 2012-11-25 23:48:39 +01:00
Mathias Meyer
3fc6059d03 require 'raven' 2012-11-07 11:54:50 +01:00
Mathias Meyer
612b7f1e9f Switch to sentry for exceptions. 2012-11-07 11:46:43 +01:00
Mathias Meyer
901d936531 Set up Sidekiq properly. 2012-11-07 10:59:13 +01:00
Mathias Meyer
b07667c52a Set up sidekiq. 2012-11-07 10:55:45 +01:00
Mathias Meyer
308ce72aee Bump travis-core. Start features on app boot. 2012-11-07 10:43:25 +01:00
Piotr Sarnacki
2f87153df9 Move CORS middleware in front of the stack
If there is an error somewhere along the line (like in DB connection
management), it should not interfere with returning proper result for
OPTIONS request. Otherwise it's hard to guess why the actual request in
the browser was not properly sent.
2012-11-05 21:48:13 +01:00
Piotr Sarnacki
e2b49a91d6 Use AR's ConnectionManagement before AR::QueryCache
(closes #14)
2012-11-01 13:05:49 +01:00
Piotr Sarnacki
37e6262917 Don't show backtraces on errors 2012-11-01 00:04:08 +01:00
Piotr Sarnacki
30d7b90592 Fix new relic 2012-10-24 20:49:06 +02:00
Konstantin Haase
73eea4d51b always call setup 2012-10-22 23:53:41 +02:00
Sven Fuchs
272c1275f4 add activerecord query cache 2012-10-12 01:51:59 +02:00
Sven Fuchs
02f5eea4fc try using rack/cache with memcached 2012-10-11 15:04:24 +02:00
Sven Fuchs
8abd6fa150 manual redirects and rewrite rules for supporting v1 style resources 2012-10-10 01:48:22 +02:00
Sven Fuchs
f8bd49e88b on 404 redirect for /owner/name paths on v1 2012-10-10 01:47:12 +02:00
Sven Fuchs
168c0abba9 rename Responder to Base (resembles Sinatra::Base and i can't come up with another name for a common base class of Middleware and Endpoint) 2012-10-09 18:31:51 +02:00
Sven Fuchs
c3428e896a add deflater, roger @rkh? 2012-10-05 21:54:01 +02:00
Sven Fuchs
4328ba8649 adapt services changes from travis-core 2012-10-05 13:06:50 +02:00
Sven Fuchs
289f7c1486 start porting api integration tests 2012-10-02 16:39:38 +02:00
Sven Fuchs
5ff58b1d6c adapt changes for split services 2012-09-29 20:48:31 +02:00
Sven Fuchs
6dc28f0c49 add Rack::PostBodyContentTypeParser and fix locale update 2012-09-26 11:58:57 +02:00
Sven Fuchs
f09cb3cac0 set the amqp configuration 2012-09-25 18:47:05 +02:00
Sven Fuchs
68caf0e26e add newrelic 2012-09-25 17:54:13 +02:00
Sven Fuchs
97e06c556f add hubble 2012-09-25 17:16:27 +02:00
Konstantin Haase
fb992184a0 add jsonp 2012-09-20 14:53:16 +02:00
Konstantin Haase
742583e8e9 make sure we don't leak the github oauth code via a referrer 2012-09-19 16:29:11 +02:00
Sven Fuchs
79e382ce0b add services 2012-09-15 12:10:46 +02:00
Konstantin Haase
f05f841a46 move config around 2012-09-11 13:54:59 +02:00