Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0f40022a
Commit
0f40022a
authored
Sep 10, 2021
by
Zhu Shung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add registry_prefix to saas module
parent
9fd1c988
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb
...y_orchestration_policies/ci_configuration_service_spec.rb
+1
-1
lib/gitlab/saas.rb
lib/gitlab/saas.rb
+4
-0
No files found.
ee/spec/services/security/security_orchestration_policies/ci_configuration_service_spec.rb
View file @
0f40022a
...
@@ -104,7 +104,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d
...
@@ -104,7 +104,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::CiConfigurationService d
dependencies:
[],
dependencies:
[],
script:
[
'gtcs scan'
],
script:
[
'gtcs scan'
],
variables:
{
variables:
{
CS_ANALYZER_IMAGE
:
'registry.gitlab.com/security-products/container-scanning:4'
,
CS_ANALYZER_IMAGE
:
"
#{
Gitlab
::
Saas
.
registry_prefix
}
/security-products/container-scanning:4"
,
GIT_STRATEGY
:
'none'
GIT_STRATEGY
:
'none'
}
}
}
}
...
...
lib/gitlab/saas.rb
View file @
0f40022a
...
@@ -20,6 +20,10 @@ module Gitlab
...
@@ -20,6 +20,10 @@ module Gitlab
def
self
.
dev_url
def
self
.
dev_url
'https://dev.gitlab.org'
'https://dev.gitlab.org'
end
end
def
self
.
registry_prefix
'registry.gitlab.com'
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment