Skip to content
Snippets Groups Projects
Commit 9512d600 authored by Mayra Cabrera's avatar Mayra Cabrera :zero:
Browse files

Removes dev client from security tasks

Omnibus is currently moving its security development to GitLab Security,
so it won't be longer necessary to validate and merge MR on
dev.gitlab.org.

Also modifies the projects_to_verify to return only GitLab Security and
Omnibus GitLab Security

Related to gitlab-com/gl-infra/delivery#692
parent a991cc2e
No related branches found
No related tags found
No related merge requests found
......@@ -127,19 +127,10 @@ module ReleaseTools
private
def projects_to_verify
if @client.security_remote?
%w[
gitlab-org/security/gitlab
]
else
%w[
gitlab/gitlabhq
gitlab/gitlab-ee
gitlab/gitaly
gitlab/gitlab-workhorse
gitlab/omnibus-gitlab
]
end
%w[
gitlab-org/security/gitlab
gitlab-org/security/omnibus-gitlab
]
end
end
end
......
......@@ -26,10 +26,6 @@ namespace :security do
ReleaseTools::Security::Mirrors.disable
end
ReleaseTools::Security::MergeRequestsMerger
.new(ReleaseTools::Security::DevClient.new, merge_master: merge_master)
.execute
ReleaseTools::Security::MergeRequestsMerger
.new(ReleaseTools::Security::Client.new, merge_master: merge_master)
.execute
......@@ -78,10 +74,6 @@ namespace :security do
desc 'Validates security merge requests'
task validate: :force_security do
ReleaseTools::Security::MergeRequestsValidator
.new(ReleaseTools::Security::DevClient.new)
.execute
ReleaseTools::Security::MergeRequestsValidator
.new(ReleaseTools::Security::Client.new)
.execute
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment