Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F324288
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
Mon, Nov 25, 9:02 AM
Size
500 B
Mime Type
text/x-diff
Expires
Wed, Nov 27, 9:02 AM (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
156131
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/config/deploy/production-ci.rb b/config/deploy/production-ci.rb
new file mode 100644
index 0000000..16498ee
--- /dev/null
+++ b/config/deploy/production-ci.rb
@@ -0,0 +1,9 @@
+set :rails_env, :production
+
+server 'webdns4.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