Piotr Sarnacki
659dc4d992
Add current_build to repositories payload
...
This commit adds current_build (which is based on
repositories.current_build_id) to repositories payload. It also adds
ability to sort by current_build.
2016-05-17 14:11:09 +02:00
Piotr Sarnacki
13d9c97501
Revert "Merge pull request #257 from travis-ci/ps-current-build"
...
This reverts commit 52bebad05c
, reversing
changes made to 9d386efa4c
.
2016-05-11 17:13:40 +02:00
Piotr Sarnacki
c9b93982c9
Add current_build to repositories payload
...
current_build is the most recent build that is either completed or
running
2016-05-11 16:55:47 +02:00
Steffen
f186c16669
Merge branch 'master' into cronjobs
2016-04-22 10:33:40 +02:00
carlad
7b5c11fca6
add specs, update error names
2016-04-20 14:31:08 +02:00
carlad
63bef443e8
update build_cancel spec
2016-04-20 11:55:03 +02:00
Steffen
13aa741e57
Merge branch 'master' into cronjobs
2016-04-18 09:42:36 +02:00
carlad
00aaf32b1e
add branch_name for request
2016-04-15 17:22:41 +02:00
Steffen Kötte
0b2585de45
remove cronjobs and disallow creating if branch does no longer exist on GitHub
2016-04-12 11:33:30 +02:00
Steffen
7922ca8e84
Merge branch 'master' into cronjobs
2016-04-05 15:23:03 +02:00
Ana Rosas
0e8fe08f7c
Update limit method and finish test
2016-04-04 16:13:14 +02:00
carlad
24b2abdfd0
add .rspec for formatting, add new test (still broken)
2016-03-31 17:15:43 +02:00
Steffen Kötte
9734e7133f
fix feature flag for_branch endpoint
2016-03-29 16:51:00 +02:00
Jonas Chromik
ca82725e5e
move cron jobs feature flag to permissions
2016-03-22 13:48:51 +01:00
Jonas Chromik
fe76d38230
Merge branch 'master' into cronjobs
2016-03-21 17:08:33 +01:00
carlad
6b145e6f06
update lint service, update spec
2016-03-21 15:39:14 +01:00
Steffen Kötte
7215151403
adjust new test to include cron permission
2016-03-21 10:37:06 +01:00
Steffen Kötte
ac0012b0a2
Merge commit '8a050a468c77f2ad8c5faa99864c0bd7d61b08a0' into cronjobs
...
# Conflicts:
# Gemfile
2016-03-21 10:32:46 +01:00
carlad
f940bffe3f
more work on lint endpoint
2016-03-18 16:43:18 +01:00
carlad
643ca01ee5
user repo2 again
2016-03-14 13:24:01 +01:00
carlad
156a6ebb98
set repo id
2016-03-14 13:04:34 +01:00
carlad
74b43d5e89
use repo2
2016-03-14 12:58:46 +01:00
carlad
087788757f
add repo.id to spec
2016-03-14 12:56:01 +01:00
carlad
5cb5fdb8d6
update spec to create additional repo for sorting test
2016-03-14 12:14:10 +01:00
Christopher Weyand
6c839aebec
feature flag test
2016-03-14 11:03:41 +01:00
carlad
3a97ac8bfa
add spec for sort by default_branch.last_build
2016-03-11 15:17:06 +01:00
Hiro Asari
73f724c58c
Add more specs for /job/:job_id/debug
...
We now rely on https://github.com/travis-ci/travis-core/pull/519 .
2016-03-07 16:36:33 -10:00
Hiro Asari
d944fe347a
Add /job/:job_id/debug spec
2016-03-07 11:51:26 -10:00
Hiro Asari
89487c09ca
Fix specs to account for new 'debug' permissions
2016-02-29 15:08:08 -10:00
Lisa P
0448427136
create error in v3.rb
2016-02-25 15:06:45 +01:00
Steffen Kötte
6fb0f7b6ce
change error type
2016-02-01 16:08:33 +01:00
Steffen Kötte
64478d50d1
rename next_build_time to next_enqueuing
2016-01-28 13:46:35 +01:00
Steffen Kötte
05d2e4767e
adjust cron API path
2016-01-28 13:01:28 +01:00
Konstantin Haase
bf1714c437
v3: add metrics
2016-01-22 14:26:30 +01:00
Steffen Kötte
da33cff0eb
add more tests
...
add first version to start crons
adjust code to return now if cron is overdue
2016-01-18 16:59:10 +01:00
Steffen Kötte
2566a7761c
add tests for next build time
2016-01-18 13:50:53 +01:00
Steffen Kötte
e9356970f8
fix tests with output of next build date for cron jobs
2016-01-14 16:16:15 +01:00
Steffen Kötte
ffcf8985c0
add tests for only one cron job per branch and interval value
2016-01-11 15:54:50 +01:00
Steffen Kötte
587ed37395
fix specs for new structure
2016-01-11 15:11:48 +01:00
Steffen Kötte
e4aec173ee
Merge commit 'bddd9952a74d1eddad5d5a255419e07c836b286d' into addCron
...
Conflicts:
spec/v3/services/owner/find_spec.rb
spec/v3/services/repositories/for_current_user_spec.rb
spec/v3/services/repositories/for_owner_spec.rb
spec/v3/services/repository/find_spec.rb
2015-12-17 10:11:20 +01:00
carlad
06b5e0af15
v3: fix specs
2015-12-01 16:51:04 +01:00
carlad
50e198beee
v3: tidy specs for star, unstar, enable, disable
2015-12-01 15:02:10 +01:00
carlad
54ffac9916
v3: complete enable and disable repo specs
2015-12-01 14:56:33 +01:00
carlad
221b309653
v3: add webmock for disable repo spec
2015-12-01 12:36:43 +01:00
carlad
620e38a2a0
v3: add spec for disable repo (unfinished)
2015-11-30 19:37:50 +01:00
carlad
dfdfe651af
v3: complete specs for star and unstar
2015-11-30 19:36:49 +01:00
carlad
5d6b25a2b4
v3: add specs for disable repo
2015-11-30 17:51:50 +01:00
carlad
01591cefa5
v3: fix specs for services/repositories
2015-11-26 18:30:14 +01:00
Konstantin Haase
afb6fe286b
v3: SQL "NOT IN ()" never matches
2015-11-26 18:17:19 +01:00
carlad
24d5efda95
v3 update spec for services/repositories
2015-11-26 17:39:03 +01:00