From feca142fe9fe165b850a4007303edc0e145fe612 Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Mon, 20 Aug 2018 12:29:19 +0100 Subject: [PATCH] Disable code_quality check in auto devops QA integration test This test takes too long and leads to flakiness so we disable it for now until somebody can figure out why it takes longer than 20 minutes to finish. --- qa/qa/specs/features/project/auto_devops_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qa/qa/specs/features/project/auto_devops_spec.rb b/qa/qa/specs/features/project/auto_devops_spec.rb index c2c3bef98e4..b3e4889abc0 100644 --- a/qa/qa/specs/features/project/auto_devops_spec.rb +++ b/qa/qa/specs/features/project/auto_devops_spec.rb @@ -15,6 +15,13 @@ module QA p.description = 'Project with Auto Devops' end + # Disable code_quality check in Auto DevOps pipeline as it takes + # too long and times out the test + Factory::Resource::SecretVariable.fabricate! do |resource| + resource.key = 'CODE_QUALITY_DISABLED' + resource.value = '1' + end + # Create Auto Devops compatible repo Factory::Repository::ProjectPush.fabricate! do |push| push.project = project