summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-08-20 15:14:16 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-08-20 15:14:16 +0000
commit1fb93773915dd77df145ad78ed6197554e5d54a6 (patch)
treec447c6a064bf9a04bc3f383c451b7d4aca353804
parentb289075d7b69282f8d863b59278f9e03a4f9a5e1 (diff)
parentfeca142fe9fe165b850a4007303edc0e145fe612 (diff)
downloadgitlab-ce-1fb93773915dd77df145ad78ed6197554e5d54a6.tar.gz
Merge branch 'fix-flaky-code-quality-auto-devops-qa' into 'master'
Disable code_quality check in auto devops QA integration test See merge request gitlab-org/gitlab-ce!21304
-rw-r--r--qa/qa/specs/features/project/auto_devops_spec.rb7
1 files changed, 7 insertions, 0 deletions
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