gitlab-org--gitlab-foss/lib
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
..
api Make runner's veryfication working again 2017-03-20 09:40:36 +01:00
assets
backup Merge branch '28447-hybrid-repository-storages' into 'master' 2017-03-07 16:55:03 +00:00
banzai Use Enumerable#index_by where possible 2017-03-16 16:33:15 -06:00
bitbucket Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
ci Fix regression in runners registration v1 api 2017-03-13 16:35:10 +01:00
constraints
container_registry
generators/rails/post_deployment_migration
gitlab All CI offline migrations 2017-03-17 23:06:11 +00:00
json_web_token
mattermost Merge branch 'master' into 'zj-create-mattermost-team' 2017-03-06 14:04:14 +00:00
omni_auth Remove explicit require calls, and use require_dependency when needed 2017-03-13 14:29:55 +01:00
rouge Document tag option and clarify spec 2017-03-14 15:29:00 -06:00
support Merge branch '3kami3/gitlab-ce-real_ip' 2017-03-20 08:40:02 +01:00
tasks Futher rename the CI variables 2017-03-16 08:49:01 +01:00
additional_email_headers_interceptor.rb
banzai.rb
disable_email_interceptor.rb
email_template_interceptor.rb
event_filter.rb
expand_variables.rb
extracts_path.rb Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb