The compass-ci/scheduler will read the yamls, so, delete it in lkp-tests
Signed-off-by: Cao Xueliang caoxl78320@163.com --- lib/job.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/job.rb b/lib/job.rb index f19d1e6dc..015fb840f 100755 --- a/lib/job.rb +++ b/lib/job.rb @@ -420,8 +420,7 @@ class Job
def load_self_config self_config_path = "#{ENV['HOME']}/.config/compass-ci" - Dir.glob(['/etc/compass-ci/defaults/*.yaml', - "#{self_config_path}/defaults/*.yaml"]).each do |file| + Dir.glob(["#{self_config_path}/defaults/*.yaml"]).each do |file| load_one_defaults(file, @job) end