gitlab-org--gitlab-foss/app/models/ci
Tomasz Maczukin c191c1103b
Send only defined dependencies
In APIv1 we've been sending all jobs from previous stages and
a `dependencies` list with names of jobs that user want to download
artifacts from. This was selected on Runners side.

In APIv1 we've planned to send only jobs that were defined (if any; and
all previous jobs by default). However I've missed the fact that
it was Runner who selected jobs, not GitLab. And now current version
of APIV4 sends all jobs everytime.

This commit fixes this. If user will define `dependencies` in his job,
then GitLab will send only selected jobs.
2017-03-20 09:40:36 +01:00
..
build.rb Send only defined dependencies 2017-03-20 09:40:36 +01:00
pipeline.rb All CI offline migrations 2017-03-17 23:06:11 +00:00
pipeline_status.rb Don't try to load status when there is no commit 2017-03-16 12:31:27 +01:00
runner.rb All CI offline migrations 2017-03-17 23:06:11 +00:00
runner_project.rb All CI offline migrations 2017-03-17 23:06:11 +00:00
stage.rb Fix Rubocop offense in CI/CD stage code 2017-03-08 12:35:17 +01:00
trigger.rb All CI offline migrations 2017-03-17 23:06:11 +00:00
trigger_request.rb Remove redundant class_name and foreign_key overrides 2016-10-24 22:29:48 +02:00
variable.rb All CI offline migrations 2017-03-17 23:06:11 +00:00