Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1300249
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 19, 12:57 PM
Size
481 B
Mime Type
text/x-diff
Expires
Fri, Nov 21, 12:57 PM (11 h, 50 m)
Engine
blob
Format
Raw Data
Handle
294704
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/config/deploy/test.rb b/config/deploy/test.rb
index 6defbe3..0d937ab 100644
--- a/config/deploy/test.rb
+++ b/config/deploy/test.rb
@@ -1,5 +1,10 @@
set :rails_env, :production
server 'webdns4.test.grnet.gr', user: 'deployer', roles: %w(web app db)
set :ssh_options, forward_agent: false, port: 29
+
+#Override rm and ln commands with sudo, for use with jenkins deployer
+SSHKit.config.command_map[:rm] = 'sudo rm'
+SSHKit.config.command_map[:ln] = 'sudo ln'
+
Event Timeline
Log In to Comment