summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
diff options
context:
space:
mode:
authorJohn Jarvis <jarv@gitlab.com>2019-03-08 10:55:17 +0100
committerJohn Jarvis <jarv@gitlab.com>2019-03-08 10:55:17 +0100
commitcc5027685711f8375eb04f713439d0b7ccfe402d (patch)
tree2858ec68c98b4e6f4a9b3115f6c0fb23de21deff /qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
parent3190b498a1cc8c1e83826d2ca6f9d3f533fc65a4 (diff)
parent207d31002ea980ced4e106a3ab79fa2a6fd21047 (diff)
downloadgitlab-ce-cc5027685711f8375eb04f713439d0b7ccfe402d.tar.gz
Merge commit '207d31002ea980ced4e106a3ab79fa2a6fd21047' into 11-9-stable-prepare-rc4
Diffstat (limited to 'qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb')
-rw-r--r--qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
index 2aa386f35ce..4212a2b0392 100644
--- a/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
+++ b/qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
@@ -28,15 +28,6 @@ module QA
resource.value = '1'
end
- # Create Auto DevOps compatible repo
- Resource::Repository::ProjectPush.fabricate! do |push|
- push.project = @project
- push.directory = Pathname
- .new(__dir__)
- .join('../../../../../fixtures/auto_devops_rack')
- push.commit_message = 'Create Auto DevOps compatible rack application'
- end
-
# Create and connect K8s cluster
@cluster = Service::KubernetesCluster.new.create!
Resource::KubernetesCluster.fabricate! do |cluster|
@@ -47,6 +38,15 @@ module QA
cluster.install_prometheus = true
cluster.install_runner = true
end
+
+ # Create Auto DevOps compatible repo
+ Resource::Repository::ProjectPush.fabricate! do |push|
+ push.project = @project
+ push.directory = Pathname
+ .new(__dir__)
+ .join('../../../../../fixtures/auto_devops_rack')
+ push.commit_message = 'Create Auto DevOps compatible rack application'
+ end
end
after(:all) do