Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-06-02 Thread Ryan Hallisey
stack-dev@lists.openstack.org> Sent: Wednesday, June 1, 2016 4:55:50 PM Subject: Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles Aaaand correct link: https://review.openstack.org/#/c/323589/ sorry for pastefail. On 1 June 2016 at 15:55, Michał Jastrzębsk

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-06-01 Thread Michał Jastrzębski
Aaaand correct link: https://review.openstack.org/#/c/323589/ sorry for pastefail. On 1 June 2016 at 15:55, Michał Jastrzębski wrote: > So this is prototype of working template overrides: > https://review.openstack.org/#/c/323612/ > > Pass --template-overrides=path-to-file to

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-06-01 Thread Michał Jastrzębski
So this is prototype of working template overrides: https://review.openstack.org/#/c/323612/ Pass --template-overrides=path-to-file to build.py in file override you can add any custom code/logic/dockerfile stuff to any of hooks we provide in Dockerfiles, and we'll provide a lot of them as it's

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-31 Thread Steven Dake (stdake)
On 5/31/16, 1:42 PM, "Michał Jastrzębski" wrote: >I am opposed to this idea as I don't think we need this. We can solve >many problems by using jinja2 to greater extend. I'll publish demo of >few improvements soon, please bear with me before we make a >arch-changing call.

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-31 Thread Michał Jastrzębski
I am opposed to this idea as I don't think we need this. We can solve many problems by using jinja2 to greater extend. I'll publish demo of few improvements soon, please bear with me before we make a arch-changing call. On 29 May 2016 at 14:41, Steven Dake (stdake) wrote: >

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-29 Thread Steven Dake (stdake)
>On 5/27/16, 1:58 AM, "Steven Dake (stdake)" wrote: > >> >> >>On 5/26/16, 8:45 PM, "Swapnil Kulkarni (coolsvap)" >>wrote: >> >>>On Fri, May 27, 2016 at 8:35 AM, Steven Dake (stdake) >>>wrote: Hey folks, While Swapnil has

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-27 Thread Britt Houser (bhouser)
I admit I'm not as knowledgable about the Kolla codebase as I'd like to be, so most of what you're saying is going over my head. I think mainly I don't understand the problem statement. It looks like you're pulling all the "hard coded" things out of the docker files, and making them user

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-27 Thread Steven Dake (stdake)
On 5/26/16, 8:45 PM, "Swapnil Kulkarni (coolsvap)" wrote: >On Fri, May 27, 2016 at 8:35 AM, Steven Dake (stdake) >wrote: >> Hey folks, >> >> While Swapnil has been busy churning the dockerfile.j2 files to all >>match >> the same style, and we also had

Re: [openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-26 Thread Swapnil Kulkarni (coolsvap)
On Fri, May 27, 2016 at 8:35 AM, Steven Dake (stdake) wrote: > Hey folks, > > While Swapnil has been busy churning the dockerfile.j2 files to all match > the same style, and we also had summit where we declared we would solve the > plugin problem, I have decided to begin work on

[openstack-dev] [kolla] prototype of a DSL for generating Dockerfiles

2016-05-26 Thread Steven Dake (stdake)
Hey folks, While Swapnil has been busy churning the dockerfile.j2 files to all match the same style, and we also had summit where we declared we would solve the plugin problem, I have decided to begin work on a DSL prototype. Here are the problems I want to solve in order of importance by this