Continuous integration with python 2.7 / flask / mongoDB / git

How do I implement continuous integration in my new application? This is currently how we push production - please bear with me, I know this is far from normal:

  • From local production git push origin (the production code base is stored in the production branch, changes are either written directly there, or committed, or files are checked separately from another branch. Origin is a remote production server)

  • In a remote window, sudo stop gunicorn (application works as a process)

  • cp ~ / flaskgit / application.py ~ / flask / applicaion.py (start git push from local clicking on init -bare repo with a hook after the update that fills the files in ~ / flaskgit. ~ / bulb is the place where the shooting service launches the application under the virtual table)

  • sudo start gunicorn

We are testing with ~ / flaskgit code running on a different port. as soon as he looks good we do CP

I would like to have something more fluid. I used Jenkins in the past and loved the experience, but did not set it up.

What resources / utilities should I look for to do this well?

Thanks!

+4
source share
1 answer

buildbot, jenkins / hudson, but this gives you continuous integration in the sense that you can run the "make" equivalent every time you change the code base with a commit commit. You can also look at the tramp if there is something for you to create a repeatable vm wrt for configuration / setup. You can bind it using fixation.

+1
source

All Articles