deployment - Best way to deploy Django app to OpenShift without downtime? -


i have been pushing new versions of django app openshift time now. @ first used general git push command. later on had add long running deploy commands. long story short took half hour complete deployment -> app unavailable.
enabled jenkins, first push fails , app unavailable time. jenkins runs on 1 gear, creates new gear , have 4 gears running. (one paid, because jenkins not work , stays alive time)
i've read hot deploy (page 40) might work without downtimes, afraid consistency(not sure read more it).
so, there these 3 options how push openshift. there third party service might use?

how push openshift minimize downtime , potentially number of gears used?

i think you've pretty answered own question, go hot deployment if need continuous delivery on app.

i'm not sure concerns consistency, if have them, use jenkins original ci purpose, , if ok, can push production using hot deployment.

basically, i'd have such workflow:

  1. make changes , commit them
  2. push jenkins ci server, check if tests , build passing
  3. push build gears using hot deployment

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -