[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RFC: New cartridge format

On 08/30/2012 05:55 PM, Clayton Coleman wrote:
I think Heroku uses it or something related.

Apparently it does. From https://github.com/heroku/heroku-buildpack-php/tree/master/bin:

The procfile is "release" which calls boot.sh, which is created in a "compile" script.


----- Original Message -----
On 08/30/2012 02:49 PM, Mike McGrath wrote:
On Thu, 30 Aug 2012, Mike Khusid wrote:

On 08/13/2012 05:27 PM, Mike McGrath wrote:
The arch board and runtime teams met today to chat about the
future of
cartridges and I think we've come up with a really solid format.
piggybacks on the typeless gears work we're already going and
simplifies cartridge creation.

The new format is much closer to a regular DIY cartridge and also
proper interfaces into our "platform".  The distinction between
what a
cartridge does and what our platform does is going to be well
We're still months away from using it, but take a look.

cartridges-new is a *NON-WORKING* branch that we can work from.


Here's an example of the new php cartridge:


Compared to the old:


This is a work in progress and will likely change a bit over time
but this
should give everyone a good idea of where we're headed.


I've been going through some of the scripts and then it dawned on
me that
someone might have had the same problem and solved it. I searched
and it looks
like someone did, indeed. Please take a look at a Procfile format
that Foreman
uses. Reference: https://github.com/ddollar/foreman and
http://ddollar.github.com/foreman/. What do you think about using
Procfile to
simplify automating process launching?

I think someone has mentioned this before but I missed it.  What is
relationship between foreman and Procfile?  Is Procfile a standard?

Should we use this format or just support it?  Seems like there's a
lot of
analogous features we already use so it's not out of the question
we'd be able to use it.

As far as I can tell, Procfile is a creation of a foreman which I
above. There is apparently more than one open source software called
foreman which also had me confused.

IMHO, I'd use this format. It's simple enough and seems sufficient
basic use cases. For complex use cases, one can use the scripts in
hooks directory for customizations.


dev mailing list
dev lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]