#886  remote shell executor bare metal
Closed
bufferUnderrun opened 2 years ago

Hi,

The old way i used to deploy to production: launch "CD Job" in onedev's server :

  • exec local docker image
  • reconstruct ssh private key from job_secret
  • scp to production server to copy file
  • ssh to production server to restart container
  • exit

My new way since few days : "CD Job" in onedev-s server

  • connect with "remote shell executor for bare metal" directly in my production server
  • copy file
  • restart container
  • exit

I must admit that the "remote shell executor bare metal" is an ultra fucking great feature !! Install scripts are easy and clean. So now, ours prods servers are just onedev clients and we push to prod just like that.

**Question **: can we run many onedev clients on the same machine ?

**Very thanks for the incredible job you're doing @robin **

Robin Shen commented 2 years ago

Thanks for sharing your experience, and glad to see if you are liking the new features.

You can of course run multiple onedev agents on same machine, or even under different OS users. Make sure to edit bin/agent.sh to use different service names via property APP_NAME and APP_LONG_NAME (change conf/wrapper.conf for related service properties if you are on Windows).

bufferUnderrun changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
onedev/server#886
Please wait...
Page is in error, reload to recover