Commit bce90a6d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '273559-consider-running-crystalball-only-on-2-hourly-pipeline' into 'master'

Enable crystalball only on 2-hourly pipeline

See merge request gitlab-org/gitlab!46418
parents 39562091 60831a35
......@@ -6,7 +6,7 @@ module CrystalballEnv
extend self
def start!
return unless ENV['CRYSTALBALL'] && ENV['CI_PIPELINE_SOURCE'] == 'schedule'
return unless ENV['CRYSTALBALL'] && ENV['CI_PIPELINE_SOURCE'] == 'schedule' && ENV['FREQUENCY'] == '2-hourly'
require 'crystalball'
require_relative '../tooling/lib/tooling/crystalball/coverage_lines_execution_detector'
......
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