Y
Y
Yuri Artemev2015-01-30 12:34:42
Erlang
Yuri Artemev, 2015-01-30 12:34:42

Who deploys Erlang applications?

It seems to me that Erlang lacks such a thing as Capistrano. So that you can set up a couple of scripts and make make deploy. And I want to automate this process for my small applications. To build the project, I use rebar and relx, with the make deploy command, the script goes to the server, does a git pull, compiles the project, builds the release, and starts it. This, of course, is tin. But so far I have not found a simpler and more convenient way.
So I want to hear how others solve this issue :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Sokhatsky, 2015-01-30
@artemeff

I prefer to do a git pull on a directory on the server that I am patching in real time.
After I made a patch, I comic it directly from the server.
I am rebuilding releases and docker containers from git.
In turn, I extinguish the line of containers of the ring and re-raise new ones.
This worklfow is supposed to be in mad deploy . But it will communicate not via ssh with servers, but with a service as part of the voxoz architecture , which manages the docker slice containers . But it hasn't been released to the public yet.

D
Dmitry Tyuterev, 2015-01-30
@dmitryttt

git pull + make (bash+relx) to spec. car.
Then: now - manual copying for prod. server... planning its own apt repository with update
and ansible for laying out nginx, supervisord, etc... configs, installing perl packages, creating users...

P
Platinum Thinker, 2015-02-05
@PlatinumThinker

Just got into this issue. I made a script that builds a deb package from the relx release and it will all run on jenkins. also raised its own repository of deb packages

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question