gitlab-org--gitlab-foss/spec
Tomasz Maczukin bbf4d27a5c
Make runner's veryfication working again
In APIv1 we were using UpdateJob to verify if the runner exists. It was
the only method that was using Runner's token and used in special way
had no side effects (like scheduling a new job or unregisterring a
Runner).

In APIv4 we've change UpdateJob to use job's token as authentication
credentials, and that way we've removed the only endpoint that could
be used to verify if the Runner with a certain token exists in target
GitLab installation.

This commit adds `POST /api/v4/runners/verify` endpoint whose only
responsibility is to respond if Runner with posted credentials exists or
not.
2017-03-20 09:40:36 +01:00
..
bin
config
controllers All CI offline migrations 2017-03-17 23:06:11 +00:00
db/production
factories All CI offline migrations 2017-03-17 23:06:11 +00:00
features All CI offline migrations 2017-03-17 23:06:11 +00:00
finders
fixtures
helpers Fix time-sensitive helper spec 2017-03-17 16:14:04 +01:00
initializers
javascripts Remove UJS actions from pipelines tables 2017-03-17 17:30:32 +00:00
lib All CI offline migrations 2017-03-17 23:06:11 +00:00
mailers All CI offline migrations 2017-03-17 23:06:11 +00:00
migrations All CI offline migrations 2017-03-17 23:06:11 +00:00
models All CI offline migrations 2017-03-17 23:06:11 +00:00
policies
presenters
requests Make runner's veryfication working again 2017-03-20 09:40:36 +01:00
routing
rubocop/cop
serializers
services All CI offline migrations 2017-03-17 23:06:11 +00:00
support Add a new have_html_escaped_body_text that match an HTML-escaped text 2017-03-17 12:20:54 +01:00
tasks
uploaders
views
workers All CI offline migrations 2017-03-17 23:06:11 +00:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb Futher rename the CI variables 2017-03-16 08:49:01 +01:00
spec_helper.rb