Open yourdeveloper opened 9 years ago
Nobody that can help me out here?
Sorry, I haven't deployed to EC2. Now, are you running strider on the same instance where you want to deploy your app?
On 9/4/14, Peter van de Put notifications@github.com wrote:
Nobody that can help me out here?
Reply to this email directly or view it on GitHub: https://github.com/Strider-CD/strider/issues/552#issuecomment-54477059
Yes Strider is running on same machine as our dev server therefore when test are OK i want to pull the repository and restart node process, it is an CentOS image
Ok, that shouldn't be too bad. Use the custom scripts plugin, and in the "deploy" stage, you can put whatever script you want. For example, copying the current directory (which contains the just-tested code), to a certain destination. Then you could trigger a restart using supervisor, upstart, or whatever it is you're using.
On 9/4/14, Peter van de Put notifications@github.com wrote:
Yes Strider is running on same machine as our dev server therefore when test are OK i want to pull the repository and restart node process, it is an CentOS image
Reply to this email directly or view it on GitHub: https://github.com/Strider-CD/strider/issues/552#issuecomment-54486495
@yourdeveloper did that solve your problem?
@yourdeveloper i think you should see this tool. you can use it as a process manager for node app, and you can deploy code using pm2-deploy module. Very easy to configure
Also worth checking out pod, which wraps PM2, as suggested by @fernandoneto https://github.com/yyx990803/pod
Turns your deployment custom script into a simple git push like so:
In that example we are pushing to 2 different remote servers on deploy too
Could overcast and Shipit be useful here? Overcast for EC2 tooling and Shipit for deploys. Perhaps Shipit as a Strider plugin?
Right now we're using Flightplan internally, but it doesn't have a standard deploy pattern. I'm not aware of any comparable to Shipit's deploy tasks. On Strider I'm able to use custom scripts + ssh deploy plugin instead of Flightplan, but that requires all commands to be local first, before all remote commands.
Hi guys, we got strider working and now when we commit to master the tests are executed. We run strider on our dev server and want to deploy automatically if tests run without issues by pulling repository and restarting our node server process does anyone have a sample deployment script (running on EC2)