Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2019-03-05 23:49:23 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2019-03-05 23:57:52 +0300
commite8df3ab8cd03fab327d5b0c01edebc0fd4607008 (patch)
treeeb0f72e7d223f13633793197d65d81a1c7efbfe2 /qa
parenta592a78072bb44fed1a25c25f2cabdc4cf4bc0bd (diff)
Fix QA Auto DevOps push after adding cluster
This is necessary because otherwise the push will trigger a pipeline that does not include a production deployment job.
Diffstat (limited to 'qa')
-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