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
banzai Use Enumerable#index_by where possible 2017-03-16 16:33:15 -06:00
bitbucket
ci
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
omni_auth
rouge
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
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