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.
This commit is contained in:
parent
a592a78072
commit
e8df3ab8cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue