Commit Graph

1096 Commits

Author SHA1 Message Date
Hiro Asari
08443b1a38 Update gemspec once again 2014-06-17 10:43:52 -04:00
Hiro Asari
dae8652279 Merge branch 'master' into ha-feature-remove_log_endpoint 2014-06-17 10:40:30 -04:00
Hiro Asari
16aad923d0 Update gemspec 2014-06-17 10:15:54 -04:00
Hiro Asari
f21c3a14c5 Bring travis-core up to date 2014-06-17 09:57:11 -04:00
Hiro Asari
9265ac62c9 Merge branch 'master' into ha-feature-remove_log_endpoint
Conflicts:
	Gemfile.lock
	travis-api.gemspec
2014-06-17 09:05:05 -04:00
Konstantin Haase
897be0f200 enable bundler caching 2014-06-17 14:56:13 +02:00
Konstantin Haase
143a9cd071 Revert "removed the branches endpoint"
This reverts commit f7450cdb6b.
2014-06-17 14:44:13 +02:00
Konstantin Haase
0145236b30 Merge pull request #123 from travis-ci/rkh-lint
add endpoint for .travis.yml linting
2014-06-17 14:15:02 +02:00
Konstantin Haase
10fe7e1c39 add endpoint for linting 2014-06-17 12:14:10 +02:00
Konstantin Haase
27f091d3f3 regenerate gemspec 2014-06-17 11:42:35 +02:00
Hiro Asari
8d4c4488b1 Merge pull request #94 from travis-ci/jk_remove_branches_endpoint
Remove the branches endpoint
2014-06-16 11:36:59 -04:00
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
6f7a61c047 Bump travis-core 2014-05-23 13:42:22 +02:00
Piotr Sarnacki
3ef8fab3c6 Add settings endpoint for env_vars 2014-05-23 13:42:22 +02: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
Hiro Asari
c2a390e02f Add badges for "canceled" states
Fixes https://github.com/travis-ci/travis-ci/issues/1592
2014-05-20 16:36:38 -04: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