Hiro Asari
dfffe8e405
Remove PATCH logs/:job_id
endpoint
...
To eradicate unnecessary inconsistency.
Spec to test the existing `GET logs/:id` remains.
2014-06-12 07:20:47 -04:00
Hiro Asari
d9e5eaaeeb
Update README [skip ci]
...
API now requires that `logs` table should be set up properly
2014-06-11 21:10:15 -04:00
Hiro Asari
477c8b9212
Tweak RemoveLog helper
...
Leave responding up to the endpoint
Remove unnecessary parameter from the helper's parameter
2014-06-11 20:19:57 -04:00
Hiro Asari
cc03c5458a
DRY up log patching logic
...
Move the shared logic into a Helpers method so that there is no
code duplication
2014-06-11 18:07:12 -04:00
Hiro Asari
8da49332d6
Clean up error handling for RemoveLog
...
With the error message change in travis-core, we can handle
2 exceptions in one rescue clause
2014-06-11 13:58:57 -04:00
Hiro Asari
4a3807b21a
Standardize error handling for RemoveLog service endpoints
...
Return status 409 for errors
2014-06-11 13:51:47 -04:00
Hiro Asari
1cf298464a
Add RemoveLog service endpoint to jobs/:id/log
...
This replaces https://github.com/travis-ci/travis-api/pull/107 .
2014-06-11 13:39:21 -04:00
Hiro Asari
851c2b2db2
Use bash function, not PowerShell
2014-06-11 11:28:42 -04:00
Hiro Asari
c822efc94e
Duplicate travis_retry()
2014-06-11 11:17:42 -04:00
Hiro Asari
82a0a5c0a5
Retry bundle install
2014-06-11 10:56:14 -04:00
Hiro Asari
db7828c2fe
Bring 'logs' table up to date
...
So that removed_* columns are added
2014-06-11 10:37:11 -04:00
Hiro Asari
7f830dc411
Update gems
2014-06-11 09:53:19 -04:00
Hiro Asari
5c079f8e66
Add specs for RemoveLog service
...
Status code is debatable; I opted for 422 when the job is still
running, and for 500 if unexpected error happened
2014-06-11 09:30:50 -04:00
Hiro Asari
cad6c4e68e
Update gemspec
2014-06-10 14:59:22 -04:00
Piotr Sarnacki
d5fa4780c8
Bump travis-core (for fixing the settings specs)
2014-05-21 14:18:01 +02:00
Piotr Sarnacki
aa50a5e9ff
Bump travis-core
2014-05-21 12:39:33 +02:00
Piotr Sarnacki
0c913e4d42
Bump travis-core
2014-05-13 15:31:58 +02:00
Piotr Sarnacki
d02648a542
Add build_id to requests payload
2014-05-06 16:04:10 +02:00
Piotr Sarnacki
5506a8143b
Bump travis-core
2014-05-06 15:46:13 +02:00
Mathias Meyer
34a7f817b3
Remove documentation, redirect /docs to new docs.
2014-05-05 15:06:06 +02:00
Piotr Sarnacki
7683279c56
Bump travis-core
2014-05-05 12:40:41 +02:00
Henrik Hodne
db2b3d9a42
Update Skylight agent version
2014-05-01 14:18:08 -05:00
Mathias Meyer
3103f00772
Bump travis-core.
...
Includes improvements for handling cached status image data.
2014-04-28 12:46:20 +02:00
Mathias Meyer
c240daa760
Enable async in the API.
2014-04-24 11:36:35 +02:00
Mathias Meyer
74761b439e
Remove response inspector. Enable monitoring on staging.
2014-04-24 10:14:21 +02:00
Mathias Meyer
ca0f1c4784
Point Librato exporter back to original.
...
Fix was included in the upstream repository.
2014-04-24 08:01:54 +02:00
Mathias Meyer
fe88881dba
Use git rack-cache, less verbose.
2014-04-23 18:06:05 +02:00
Mathias Meyer
879d531bdc
Put inspect before rack cache.
2014-04-23 17:31:58 +02:00
Mathias Meyer
7790f59b81
Debug nil responses.
2014-04-23 17:24:50 +02:00
Mathias Meyer
248fa1a9a7
Update metrics exporter to use debug branch.
2014-04-23 14:28:32 +02:00
Mathias Meyer
fdb265cfcb
Use roidrage's fork of the librato exporter.
...
Includes a bug fix for empty metrics.
2014-04-23 14:14:23 +02:00
Mathias Meyer
5623316889
Output body.
2014-04-23 14:05:21 +02:00
Mathias Meyer
cb83aa4626
Output response on Librato error.
2014-04-23 13:59:00 +02:00
Mathias Meyer
d6963c1325
Prefix error message.
2014-04-23 13:44:00 +02:00
Mathias Meyer
b83dc1c631
Actually remove prefix.
2014-04-23 13:31:53 +02:00
Mathias Meyer
5542c6f3ff
Add error handler, remove prefix.
2014-04-23 13:28:23 +02:00
Mathias Meyer
988bf24816
Remove direct require.
2014-04-23 13:02:16 +02:00
Mathias Meyer
3566b47d23
Require correct file.
2014-04-23 12:58:10 +02:00
Mathias Meyer
9bdaf9dc24
Require librato exporter.
2014-04-23 12:54:14 +02:00
Mathias Meyer
ea72572c07
Remove RackTimer.
2014-04-22 19:07:39 +02:00
Mathias Meyer
c8b2b15f56
Simplify Librato setup.
...
Moves monitoring related setup to its own method.
2014-04-18 15:54:34 +02:00
Mathias Meyer
d0818c5f1c
Enable direct librato export for metriks.
2014-04-18 15:47:48 +02:00
Piotr Sarnacki
360881a888
Remove ssh_keys endpoint
...
SshKeys will make sense only on Travis CI Pro
2014-04-15 11:14:11 +02:00
Piotr Sarnacki
c42335a286
Merge pull request #117 from travis-ci/ps-ssh-keys
...
Add ssh keys to settings API
2014-04-15 10:59:59 +02:00
Piotr Sarnacki
17fd6201b8
Don't error out on settings
...
We didn't have scope: :private specified on settings endpoint which
resulted in errors (services check permissions of current user anyway,
but it will error out if there is no user available).
2014-04-15 10:58:08 +02:00
Piotr Sarnacki
3994b82f78
Bump travis-core and use master branch
2014-04-15 10:53:59 +02:00
Piotr Sarnacki
f107d4676e
Params in POST and PATCH requests should be fetched from request body
...
This also adds missing specs for ssh_keys endpoint
2014-04-10 14:07:20 +02:00
Piotr Sarnacki
3bc94a9953
Bump travis-core
2014-04-10 14:07:18 +02:00
Henrik Hodne
26064f95a1
Merge pull request #119 from travis-ci/hh-skylight
...
Skylight
2014-04-09 18:08:48 -05:00
Henrik Hodne
9b0fb64ba1
skylight: add service probe
2014-04-09 16:53:24 -05:00