Commit Graph

2191 Commits

Author SHA1 Message Date
Tyranja
8f9d5e41b7 remove debugging output 2016-06-14 15:18:15 +02:00
Tyranja
2624bd9e72 Revert "Removes the unused travis-core v0 code"
This reverts commit a68c0028d8e8dfb4a0e7f965e57fbc9e8686ba86.
2016-06-14 15:18:15 +02:00
Tyranja
56a59e4cc3 Adds debugging output for canceling jobs 2016-06-14 15:18:15 +02:00
Tyranja
c4e58c3e63 Add Commit_command back to vendor 2016-06-14 15:17:47 +02:00
Tyranja
341adbae21 Removes the unused travis-core v0 code 2016-06-14 15:17:47 +02:00
Sven Fuchs
feb4bcd90f delete unused stuffz 2016-06-14 15:17:47 +02:00
Renée Hendricksen
0077b6414a fix sidekiq on this branch 2016-06-14 15:17:47 +02:00
Renée Hendricksen
489c404bbb updated gemspec 2016-06-14 15:17:47 +02:00
Renée Hendricksen
e467fa3e6d renamed the core spec directory 2016-06-14 15:17:47 +02:00
Renée Hendricksen
ce071ad728 log pattern got excluded 2016-06-14 15:17:20 +02:00
Renée Hendricksen
5776e13385 wrong ruby in travis file 2016-06-14 15:17:20 +02:00
Renée Hendricksen
62f0bf7081 this is needed too 2016-06-14 15:17:20 +02:00
Renée Hendricksen
1ca54b361f github didn't have the correct version 2016-06-14 15:17:20 +02:00
Renée Hendricksen
4b6c177311 moved travis-core to vendor 2016-06-14 15:17:20 +02:00
Renée Hendricksen
7691d04de0 all the dep warnings 2016-06-14 15:16:51 +02:00
Renée Hendricksen
a02995e357 some more dep warnings 2016-06-14 15:16:15 +02:00
Renée Hendricksen
7c3c6bd1a9 passing specs 2016-06-14 15:16:15 +02:00
Ana Rosas
e097c8889e Enqueue cancel message on build cancel v3 endpoint 2016-06-14 15:15:59 +02:00
Tyranja
0f2c7e0307 Update rspec due to deprecation warnings 2016-06-14 15:14:11 +02:00
Renée Hendricksen
cecc501255 working service specs 2016-06-14 15:14:11 +02:00
Renée Hendricksen
5a8c1e63c4 update the gemspec 2016-06-14 15:14:11 +02:00
Renée Hendricksen
692308837d use the default rake task 2016-06-14 15:11:58 +02:00
Renée Hendricksen
3b490b58cb run both tests 2016-06-14 15:11:58 +02:00
Renée Hendricksen
e77be8210f working core specs 2016-06-14 15:11:58 +02:00
Renée Hendricksen
9ed43941fd updates for v3 approved by rkh and spruce up the model tests 2016-06-14 15:11:58 +02:00
Tyranja
e1f7921223 Change Database configuration to make the test pass 2016-06-14 15:11:58 +02:00
Renée Hendricksen
ae133e649a use the core spec helper 2016-06-14 15:10:40 +02:00
Tyranja
3b6ab6fb71 Copies spec from core 2016-06-14 15:10:40 +02:00
Ana Rosas
75460b2427 Use Travis::Enqueue::Services::CancelModel on v3 build cancel endpoint 2016-06-13 18:16:16 +02:00
Ana Rosas
777e42374c Auto-merged master into ar-enqueue-cancelling-jobs-builds on deployment. 2016-06-09 14:53:10 +02:00
carlad
b67c226515 Merge pull request #275 from travis-ci/jc-v3-settings
Add settings to API V3
2016-06-09 14:51:06 +02:00
Joe Corcoran
5fee54b91b Fewer object allocations :) 2016-06-09 11:29:17 +02:00
Ana Rosas
1c99216e23 Fix merge conflicts 2016-06-08 17:51:48 +02:00
Joe Corcoran
eb0eab5967 Move settings to top level of response
To better accommodate nested responses.
2016-06-08 17:18:24 +02:00
Joe Corcoran
daf534edb7 Don't overwrite settings with defaults
Also changes the way the JSON fields are set to force ActiveRecord
to recognise the changes. Is there a better way?
2016-06-08 17:13:05 +02:00
Joe Corcoran
fba9a87c39 Add settings to API V3
This adds /repo/{repository.id}/settings endpoints for reading
and updating repo settings.

Main points:

1. Sets up Settings as a first class resource instead of as an
   attribute of Repository
2. Adds new meta-programmed method to Query for accessing all
   prefixed params as a hash.
2016-06-08 15:59:52 +02:00
Ana Rosas
05f926b0ec Merge pull request #264 from travis-ci/ar-enqueue-restarting-jobs
Enqueue restarting Jobs and Builds for Hub
2016-06-07 14:23:40 +02:00
Ana Rosas
6656b5d0aa Merge branch 'master' into ar-enqueue-restarting-jobs 2016-06-07 11:23:04 +02:00
Buck Doyle
b649bb5a0f Remove duplicated sorting configuration (#274)
As noted by @rkh in the API introduction.
2016-06-06 15:08:00 -04:00
Ana Rosas
24865ee322 Merge branch 'master' into ar-enqueue-restarting-jobs 2016-06-06 18:22:06 +02:00
Piotr Sarnacki
686e3c9baf Merge pull request #273 from travis-ci/fix-sorting-by-current-build
Rename current_build sort to current_build_id
2016-06-06 16:48:05 +02:00
Piotr Sarnacki
7317d6b265 Rename current_build sort to current_build_id
This a quick workaround for sorting by current_build. When the field
that we use to sort is the same as one of the associations name API V3
will try to join the association. So in this case it will try to join
:current_build, which fails. This needs a better solution, but I want to
get this working for now.
2016-06-06 16:40:41 +02:00
Ana Rosas
3a58979e43 Merge branch 'master' into ar-enqueue-restarting-jobs 2016-06-06 15:21:53 +02:00
Piotr Sarnacki
b1de9d569c Merge pull request #272 from travis-ci/fix-sorting-by-current-build
Specify a table when sorting by current_build_id
2016-06-06 14:23:31 +02:00
Piotr Sarnacki
dbe0a75a22 Specify a table when sorting by current_build_id
Otherwise in some circumstances postgres may complain about
disambiguity.
2016-06-06 14:13:46 +02:00
Ana Rosas
8b9df97e3f Merge branch 'master' into ar-enqueue-restarting-jobs 2016-06-06 11:04:44 +02:00
carlad
9df4dc02cf Merge pull request #266 from HPI-BP2015H/cron-time
return created_at of cron
2016-06-03 15:37:10 +02:00
Christopher Weyand
7200744879 Merge branch 'master' into cron-time 2016-06-03 15:32:52 +02:00
Igor
92dd9a5ce0 Merge pull request #269 from travis-ci/igor-ruby-version
Use .ruby-version file instead of ruby statement in Gemfile
2016-06-03 12:10:49 +02:00
Igor Wiedler
bec9f35e69 Use .ruby-version file instead of ruby statement in Gemfile 2016-06-02 19:22:16 +02:00