diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /app/workers/pipeline_process_worker.rb | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'app/workers/pipeline_process_worker.rb')
-rw-r--r-- | app/workers/pipeline_process_worker.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/workers/pipeline_process_worker.rb b/app/workers/pipeline_process_worker.rb index cd7c82d3117..f0929b92bd0 100644 --- a/app/workers/pipeline_process_worker.rb +++ b/app/workers/pipeline_process_worker.rb @@ -10,11 +10,13 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker loggable_arguments 1 # rubocop: disable CodeReuse/ActiveRecord - def perform(pipeline_id, build_ids = nil) + # `_build_ids` is deprecated and will be removed in 14.0 + # See: https://gitlab.com/gitlab-org/gitlab/-/issues/232806 + def perform(pipeline_id, _build_ids = nil) Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline| Ci::ProcessPipelineService .new(pipeline) - .execute(build_ids) + .execute end end # rubocop: enable CodeReuse/ActiveRecord |