You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcap...@cloudfoundry.org
Hey,
I wonder why this haven't come up yet. But is there a way to do continuous integration (as suggested here) without any downtime?
What happens when I do a cf push is the following:
App gets uploaded and stored (Uploading foo...)
Old app instance is stopped (Stopping foo...)
New app instance gets deployed (Preparing to start foo...)
New app instance starts (Checking status of app 'foo'... 1 of 1 instances running (1 running))
The service will not be available between point 2. and point 4., for my current play! 2.1.5 app this takes about 40 sec! Is there a work around for this?
mana
Brian McClain
unread,
Oct 22, 2013, 9:01:51 AM10/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vcap...@cloudfoundry.org
Not sure if there's a better way, but this is the way I usually do it:
v1 of application is up and running in CF
Push up a second copy (v2) of the application, v1 and v2 are now both running side by side, but traffic for your "prod" URL is only mapped to v1
Map your "prod" URL to v2, traffic is now flowing to both v1 and v2
Unmap your "prod" url from v2, traffic is now only flowing to v2
Stop/Delete v1 of the application
In practice, I generally include the version of the application in the name of the app in CF, this also helps with determining what version of my applications are running in a particular environment.
Brian
@BrianMMcClain
Matt Stine
unread,
Oct 22, 2013, 10:13:25 AM10/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message