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.
This commit is contained in:
Dylan Griffith 2018-08-20 12:29:19 +01:00
parent 0a73c1c583
commit feca142fe9
1 changed files with 7 additions and 0 deletions

View File

@ -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