diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-22 06:08:34 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-22 06:08:34 +0000 |
| commit | 7137270698700c113deccbc2859f4cc8a899ed8f (patch) | |
| tree | 02ee5a0b2c10cdab57c37acccefdeee2f19d062e /app/helpers/ci | |
| parent | b460d4a7c027452a221b6fa0e1215c307e2bf2b6 (diff) | |
| download | gitlab-ce-7137270698700c113deccbc2859f4cc8a899ed8f.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/ci')
| -rw-r--r-- | app/helpers/ci/pipelines_helper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/helpers/ci/pipelines_helper.rb b/app/helpers/ci/pipelines_helper.rb index 90806df1d64..823332c3d1d 100644 --- a/app/helpers/ci/pipelines_helper.rb +++ b/app/helpers/ci/pipelines_helper.rb @@ -105,12 +105,10 @@ module Ci } experiment(:runners_availability_section, namespace: project.root_ancestor) do |e| - e.control {} # rubocop:disable Lint/EmptyBlock e.candidate { data[:any_runners_available] = project.active_runners.exists?.to_s } end experiment(:ios_specific_templates, actor: current_user, project: project, sticky_to: project) do |e| - e.control {} # rubocop:disable Lint/EmptyBlock e.candidate do data[:registration_token] = project.runners_token if can?(current_user, :register_project_runners, project) data[:ios_runners_available] = (project.shared_runners_available? && Gitlab.com?).to_s |
