Commit c0b79a75 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Move no runners alert to project ci settings

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6f609771
- if no_runners_for_project?(@project)
= render 'no_runners'
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
%br %br
You can add Specific runner for this project on Runners page You can add Specific runner for this project on Runners page
- if current_user.is_admin - if current_user.admin
or add Shared runner for whole application in admin are. or add Shared runner for whole application in admin are.
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
yaml file which is based on your old jobs. yaml file which is based on your old jobs.
Put this file to the root of your project and name it .gitlab-ci.yml Put this file to the root of your project and name it .gitlab-ci.yml
- if no_runners_for_project?(@ci_project)
= render 'no_runners'
= render 'form' = render 'form'
- if @ci_project.generated_yaml_config - if @ci_project.generated_yaml_config
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment