Skip to content
Snippets Groups Projects
Commit 62de4356 authored by AndrewCz's avatar AndrewCz
Browse files

Fix returning false and trailing period and add prod to storage config

parent ad393a06
No related branches found
No related tags found
Loading
Pipeline #294813785 passed
......@@ -8,6 +8,11 @@ development:
root: <%= Rails.root.join("storage") %>
tmp: <%= Rails.root.join("tmp") %>
production:
service: Disk
root: <%= Rails.root.join("storage") %>
tmp: <%= Rails.root.join("tmp") %>
local:
service: Disk
root: <%= Rails.root.join("storage") %>
......
......@@ -24,8 +24,8 @@ namespace :ansible_environment do
Rails.logger.debug "Cloning master..."
# Test for git
unless system('which git')
Rails.logger.error "Could not find 'git' executable in $PATH".
return False
Rails.logger.error "Could not find 'git' executable in $PATH"
return false
end
# TODO: Environment is a controlled git repo. We'll need a read-only user to access it
......
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