diff options
author | Rubén Dávila <ruben@gitlab.com> | 2018-05-11 20:55:17 +0300 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2018-05-11 20:55:17 +0300 |
commit | 410d41ba6e15ecb12f265ef05ad9ad7f96024fa7 (patch) | |
tree | 8a1dac5376e71b66850884350bb6d39ee43d03b2 /app/models/ci/build_runner_session.rb | |
parent | 6c70d7f90bf8be05b67b3ec9ed2eeda3e9f524ea (diff) |
Pass the template used to create Project between servicesrd-36899-squash-template-commits-and-override-author-when-creating-project-from-template
Before enqueuing the job to import a project we need to know if it was
created from a template in order to execute some tasks. We have the `template_name`
param but it's already being used to invoke the `Projects::CreateFromTemplateService`
service and it's logically being deleted from `params` otherwise we will
generate an infinite recursive call. That's why we need to use a
different param name to persist the template name.
Diffstat (limited to 'app/models/ci/build_runner_session.rb')
0 files changed, 0 insertions, 0 deletions