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
fbcc851f
Commit
fbcc851f
authored
Jun 26, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ce-gitlab-elt' into 'master'
Port gitlab-ee!5532 to CE See merge request gitlab-org/gitlab-ce!20100
parents
2440b7b6
66ad2ea1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
app/views/admin/application_settings/show.html.haml
app/views/admin/application_settings/show.html.haml
+3
-0
spec/support/helpers/stub_object_storage.rb
spec/support/helpers/stub_object_storage.rb
+6
-1
No files found.
app/views/admin/application_settings/show.html.haml
View file @
fbcc851f
...
...
@@ -324,3 +324,6 @@
=
_
(
'Configure push mirrors.'
)
.settings-content
=
render
partial:
'repository_mirrors_form'
=
render_if_exists
'admin/application_settings/pseudonymizer_settings'
,
expanded:
expanded
spec/support/helpers/stub_object_storage.rb
View file @
fbcc851f
...
...
@@ -15,9 +15,14 @@ module StubObjectStorage
return
unless
enabled
stub_object_storage
(
connection_params:
uploader
.
object_store_credentials
,
remote_directory:
remote_directory
)
end
def
stub_object_storage
(
connection_params
:,
remote_directory
:)
Fog
.
mock!
::
Fog
::
Storage
.
new
(
uploader
.
object_store_credential
s
).
tap
do
|
connection
|
::
Fog
::
Storage
.
new
(
connection_param
s
).
tap
do
|
connection
|
begin
connection
.
directories
.
create
(
key:
remote_directory
)
rescue
Excon
::
Error
::
Conflict
...
...
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