Symbol white

← Back to other Deploy suggestions

ability for servers where code not deployed but specific commands run

3b43c1b209ebdbf195d1829943c207ba?rating=pg&size=52&default=mm
suggested by Anthony S
1

it would be great to be able to configure servers that dont get code deployed to but do have commands run on them at deploy time via ssh (eg redis servers, load balancers, memcached, mysql etc)

Collecting We're collecting votes & feedback about this suggestion!

Comments (1)

  • to update how i thought this might work
     
    you would configure servers as if you deployed code, but used the SSH/SFTP protocol and unticked a box thats ticked by default that says deploy code/files, then you would setup the commands in the ssh commands section as normal
     
    obviously for ordering of commands i would assume that the order of servers in the server group is the order that things would run and/or commands only servers would run pre-deploy commands before deploying code and run its post deploy commands after deploying code to other servers and running there own post-deploy commands, something like this:
     
    Non code servers run pre-deploy commands
    code servers run pre-deploy commands
    code servers deploy code
    code servers run post-deploy commands
    non code servers run post-deploy commands
    success

    3b43c1b209ebdbf195d1829943c207ba?rating=pg&size=52&default=mm
    posted by Anthony S

Login to comment on this suggestion