I am using Jenkins and ansible to automate my rails application deployment process. I would like to know, if there is any specific build process for rails app like Java application.
Right now, I am using the below set of process to automate my application deployment.
Fetches the code from Git source code
Build the code (tar) and put it in the build
the deployment jobs.
Copy the build package to the remote deployment server.
Un tar the build package.
Tag the release version.
Link the release version to the application folder. (Deploy
Maintains 3 release versions in the target deployment server.
(So that we can rollback to previous version of the code, if required.
Please suggest if we have any specific build process for rails app. Currently I am just using tar.