Commit Graph

1948 Commits

Author SHA1 Message Date
Sven Fuchs
a63b7efc83 squash rlh-are-remove-core 2016-06-08 15:26:51 +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
Ana Rosas
1c9212ef08 Refacto on restart endpoint for Jobs 2016-06-01 14:57:55 +02:00
Renée Hendricksen
794e2d70af Merge pull request #268 from travis-ci/fix-api-sentry-connection
Fix api sentry connection
2016-05-31 11:36:57 +02:00
Ana Rosas
0038197aab Assign variable before if statement 2016-05-30 18:10:11 +02:00
Renée Hendricksen
574dfab772 fix the error - it's reporting to Sentry - Yay 2016-05-30 18:07:54 +02:00
Renée Hendricksen
8c6477c247 try another spot to throw and error 2016-05-30 18:05:25 +02:00
Renée Hendricksen
ace3e588ea forgot this and it's not tested 2016-05-30 17:57:48 +02:00
Renée Hendricksen
a8b70f51f3 code error we want to see on staging 2016-05-30 17:51:04 +02:00
Renée Hendricksen
21c714ae97 fix the test 2016-05-30 17:31:37 +02:00
Renée Hendricksen
d7d8e3bbe3 use the method directly 2016-05-30 17:26:44 +02:00
Renée Hendricksen
2ded8ac2be some changes to get errors to report to Sentry 2016-05-30 17:16:27 +02:00
Ana Rosas
8655fd19ce Refacto endpoint 2016-05-30 17:07:17 +02:00
Ana Rosas
6de524d84c Enqueue restarting jobs for the Hub 2016-05-30 17:07:17 +02:00
Renée Hendricksen
0e43360f1d ignore my gemset 2016-05-30 15:31:19 +02:00
Christopher Weyand
799d757625 cron representation change tests 2016-05-30 11:26:06 +02:00
Christopher Weyand
504be84f27 cron return created_at 2016-05-30 10:02:21 +02:00
Ana Rosas
fa50bd13de Abstract enqueue restart service, to use it with Jobs and Builds 2016-05-26 17:45:31 +02:00
Josh Kalderimis
efb9d899b2 Signal Sciences support (#254)
* test out setting up signal sciences

* tweak the signalsciences config a little

* try out the updated signal sciences heroku integration

* use the old ngnix start script, as signalsciences is now nginx based

* make sure sigsci conf is included in our custom nginx config

* remove the custom port stuff, no longer needed
2016-05-26 17:44:12 +02:00
carlad
6e51368525 Merge pull request #263 from travis-ci/cd-cron-error
add error rescue for cron start method
2016-05-24 15:55:20 +02:00
carlad
e62ba7722e Merge branch 'master' into cd-cron-error 2016-05-24 15:46:35 +02:00
Ana Rosas
276a61759d Merge pull request #261 from travis-ci/ar-migrate-restart-builds
Enqueue restarting builds/jobs for Hub
2016-05-24 08:36:46 -05:00
carlad
1d3a2ebb67 add error rescue for cron start method 2016-05-24 15:20:40 +02:00
Ana Rosas
3c253bb88c Move stub to before block on restart test 2016-05-23 15:07:33 -05:00
Ana Rosas
2b37d90ffb Add permission methods to enqueue_build 2016-05-23 15:07:33 -05:00
Ana Rosas
9bd145856b Add feature flag to enqueue restart build to Hub 2016-05-23 15:07:33 -05:00
Ana Rosas
9bbfb7ec97 Add an equeue service 2016-05-23 15:07:33 -05:00
Ana Rosas
28884f9931 Enqueue build_restart event in Hub 2016-05-18 15:11:04 -05:00
Igor
e876a83d86 Merge pull request #260 from travis-ci/igor-cors-preflight-cache
Set Access-Control-Max-Age header for CORS preflight requests to cache them
2016-05-18 13:56:09 +02:00
Igor Wiedler
2a66505aca Set Access-Control-Max-Age header for CORS preflight requests to cache them (refs travis-pro/post-its#169) 2016-05-18 12:26:06 +02:00
Piotr Sarnacki
1615928c68 Bump travis-core 2016-05-17 16:15:27 +02:00
Piotr Sarnacki
5cade805e0 Merge pull request #259 from travis-ci/ps-current-build2
Add current_build to repositories payload
2016-05-17 14:20:22 +02:00
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
Konstantin Haase
754101e9af Merge pull request #258 from lucascherifi/patch-1
Update README.md
2016-05-17 11:58:17 +02:00
Lucas CHERIFI
654185538f Update README.md 2016-05-16 03:56:10 +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
52bebad05c Merge pull request #257 from travis-ci/ps-current-build
Add current_build to repositories payload
2016-05-11 17:00:35 +02:00