remote shell executor bare metal (OD-886)
bufferUnderrun opened 3 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 3 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' 3 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
OD-886
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover