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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
9131fb56
Commit
9131fb56
authored
Dec 28, 2017
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename asset sync related AWS variables
parent
ac35636f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/initializers/asset_sync.rb
config/initializers/asset_sync.rb
+2
-2
No files found.
config/initializers/asset_sync.rb
View file @
9131fb56
...
@@ -14,8 +14,8 @@ AssetSync.configure do |config|
...
@@ -14,8 +14,8 @@ AssetSync.configure do |config|
config
.
fog_directory
=
ENV
[
'FOG_DIRECTORY'
]
if
ENV
.
has_key?
(
'FOG_DIRECTORY'
)
config
.
fog_directory
=
ENV
[
'FOG_DIRECTORY'
]
if
ENV
.
has_key?
(
'FOG_DIRECTORY'
)
config
.
fog_region
=
ENV
[
'FOG_REGION'
]
if
ENV
.
has_key?
(
'FOG_REGION'
)
config
.
fog_region
=
ENV
[
'FOG_REGION'
]
if
ENV
.
has_key?
(
'FOG_REGION'
)
config
.
aws_access_key_id
=
ENV
[
'A
WS_ACCESS_KEY_ID'
]
if
ENV
.
has_key?
(
'
AWS_ACCESS_KEY_ID'
)
config
.
aws_access_key_id
=
ENV
[
'A
SSETS_AWS_ACCESS_KEY_ID'
]
if
ENV
.
has_key?
(
'ASSETS_
AWS_ACCESS_KEY_ID'
)
config
.
aws_secret_access_key
=
ENV
[
'A
WS_SECRET_ACCESS_KEY'
]
if
ENV
.
has_key?
(
'
AWS_SECRET_ACCESS_KEY'
)
config
.
aws_secret_access_key
=
ENV
[
'A
SSETS_AWS_SECRET_ACCESS_KEY'
]
if
ENV
.
has_key?
(
'ASSETS_
AWS_SECRET_ACCESS_KEY'
)
config
.
aws_reduced_redundancy
=
ENV
[
'AWS_REDUCED_REDUNDANCY'
]
==
true
if
ENV
.
has_key?
(
'AWS_REDUCED_REDUNDANCY'
)
config
.
aws_reduced_redundancy
=
ENV
[
'AWS_REDUCED_REDUNDANCY'
]
==
true
if
ENV
.
has_key?
(
'AWS_REDUCED_REDUNDANCY'
)
config
.
rackspace_username
=
ENV
[
'RACKSPACE_USERNAME'
]
if
ENV
.
has_key?
(
'RACKSPACE_USERNAME'
)
config
.
rackspace_username
=
ENV
[
'RACKSPACE_USERNAME'
]
if
ENV
.
has_key?
(
'RACKSPACE_USERNAME'
)
...
...
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