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
2a57af2e
Commit
2a57af2e
authored
Jun 26, 2018
by
Micaël Bergeron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rework the configuration
parent
e787e52a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
config/gitlab.yml.example
config/gitlab.yml.example
+1
-1
doc/administration/pseudonymizer.md
doc/administration/pseudonymizer.md
+3
-3
ee/lib/pseudonymizer/uploader.rb
ee/lib/pseudonymizer/uploader.rb
+1
-1
No files found.
config/gitlab.yml.example
View file @
2a57af2e
...
...
@@ -735,7 +735,7 @@ production: &base
# Tables manifest that specifies the fields to extract and pseudonymize.
manifest: config/pseudonymizer.yml
upload:
#
remote_directory: 'gitlab-elt'
remote_directory: 'gitlab-elt'
# Fog storage connection settings, see http://fog.io/storage/ .
connection:
# provider: AWS
...
...
doc/administration/pseudonymizer.md
View file @
2a57af2e
...
...
@@ -33,7 +33,7 @@ To configure the pseudonymizer, you need to:
```ruby
gitlab_rails['pseudonymizer_manifest'] = 'config/pseudonymizer.yml'
gitlab_rails['pseudonymizer_upload_remote_directory'] = 'gitlab-elt'
gitlab_rails['pseudonymizer_upload_remote_directory'] = 'gitlab-elt'
# bucket name
gitlab_rails['pseudonymizer_upload_connection'] = {
'provider' => 'AWS',
'region' => 'eu-central-1',
...
...
@@ -67,9 +67,9 @@ To configure the pseudonymizer, you need to:
pseudonymizer:
manifest: config/pseudonymizer.yml
upload:
remote_directory: 'gitlab-elt' #
The
bucket name
remote_directory: 'gitlab-elt' # bucket name
connection:
provider: AWS
# Only AWS supported at the moment
provider: AWS
aws_access_key_id: AWS_ACCESS_KEY_ID
aws_secret_access_key: AWS_SECRET_ACCESS_KEY
region: eu-central-1
...
...
ee/lib/pseudonymizer/uploader.rb
View file @
2a57af2e
...
...
@@ -26,7 +26,7 @@ module Pseudonymizer
def
available?
!
connect_to_remote_directory
.
nil?
rescue
ObjectStorageUnavailableError
rescue
false
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