Commit Graph

8 Commits

Author SHA1 Message Date
carlad
517a3b04f7 Revert "Revert "Merge branch 'master' of github.com:travis-ci/travis-api""
This reverts commit 171b9c57c7.
2015-01-27 16:22:30 +01:00
Konstantin Haase
171b9c57c7 Revert "Merge branch 'master' of github.com:travis-ci/travis-api"
This reverts commit 1b8f77ab36, reversing
changes made to 79a4a9ad13.
2015-01-27 14:39:36 +01:00
carlad
d050ebc018 update status code, remove unnecessary line 2015-01-27 12:48:13 +01:00
Tyranja
a9c31fa5e9 Extract cancel and restart builds and jobs into sidekiq worker
See below for all the commit messages squashed into this one...
add a test

delete empty space

add job_cancellation worker

change id

change job_id param

add job restart worker

add require to sidekiq.rb

change params

add test for job restart and cancellation

add test for job restart

update build.rb improve build spec

update job restart with correct response, add test to chack for correct response when restarting job
2015-01-26 17:29:13 +01:00
Tyranja
d8674a3715 take out the comments 2015-01-23 15:32:40 +01:00
Tyranja
d7ee8b4d3b enable Async and configure the Sidekiq client 2015-01-23 14:49:47 +01:00
Tyranja
057e9f0379 add Sidekiq for cancelling build
:
add require sidekiq to the sidekiq.rb

update Gemfile.lock

bump travis-sidekiqs

correct require statement

fix another request

connect to the database

add current user

add current user correctly

add current user correctly

add puts to see were in the condition we are

missing invertted comma

add comments to the worker

I HAVE NO IDEA

Revert "I HAVE NO IDEA"

This reverts commit 8bd1259bf4ea1b479f9391847a4700b7b15efe57.

change the id and source to symbols in the params because siedekiq expects that

add more printout

setup database connection, metrics and notification

correct the test
2015-01-23 14:43:54 +01:00
carlad
39bd25cc3b add sidekiq worker, update endpoint 2015-01-21 17:09:24 +01:00