Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-18 Thread Brett Meyer
One of them there build tool profile or switch thingies.  Sorry, been in Maven land for too long these days... On 1/18/18 5:21 PM, Steve Ebersole wrote: > > I'm ok with it.  But we use Gradle, so it'll be hard to use a Maven > profile ;) > > > On Thu, Jan 18, 2018, 4:14 PM Brett Meyer

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-18 Thread Steve Ebersole
I'm ok with it. But we use Gradle, so it'll be hard to use a Maven profile ;) On Thu, Jan 18, 2018, 4:14 PM Brett Meyer wrote: > Thanks Chris! Steve, not sure if you officially voted -- any concerns? > Andrea? Anyone else? > > Again, this would all be disabled by default, behind a Maven profi

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-18 Thread Brett Meyer
Thanks Chris!  Steve, not sure if you officially voted -- any concerns?  Andrea?  Anyone else? Again, this would all be disabled by default, behind a Maven profile... On 1/16/18 3:15 PM, Chris Cranford wrote: > On 01/12/2018 12:54 PM, Sanne Grinovero wrote: >> On 12 January 2018 at 17:32, Brett

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-16 Thread Chris Cranford
On 01/12/2018 12:54 PM, Sanne Grinovero wrote: > On 12 January 2018 at 17:32, Brett Meyer wrote: >> If I don't have time to contribute to Pax Exam, I certainly don't have >> time to start a new project haha... >> >> And realistically, that "something new" would likely involve containers >> anyway.

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Brett Meyer
Great questions.  There'd be clear separation of concerns in this: * Docker o Plain 'ole Karaf o Install our features.xml o Install a test bundle that enables the ability to remotely execute some flows.  I had been thinking along the lines of what we do in the O

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Steve Ebersole
I believe most of this is already handled for various build tools (like the gradle docker plugin) and simplified by docker image repos (bintray, e.g.). But this is a good point. I'd be interested to see if you've done this before Brett.. On Fri, Jan 12, 2018 at 2:56 PM Gunnar Morling wrote: >

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Gunnar Morling
Brett, What's still unclear to me is when going the Docker route, won't you still need some code which deploys your tests to Karaf, runs them there and fetches the test results, so e.g. your Gradle build will fail if there are test failures? Would you envision to write these bits yourself? And wou

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Brett Meyer
I guess the way I'm looking at this is Docker will be primarily used by Jenkins, and myself or anyone working directly on hibernate-osgi itself.  Otherwise, it'll be disabled by default and hidden behind a profile.  We'll make sure that most contributors running the entire Hibernate test suite

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Sanne Grinovero
On 12 January 2018 at 18:04, Steve Ebersole wrote: > I do not. But from what I understand its trivial to install on Fedora, > unlike some other tools y'all like to use ;) Right, this one is easy to install :) Although my questions was more about if you're all ok with that. I know personally I'v

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread andrea boriero
I already have Docker running on my machine, so it seems not a big issue for me,but not sure about the impact for others. Anyway It's worth giving a try. On 12 January 2018 at 17:54, Sanne Grinovero wrote: > On 12 January 2018 at 17:32, Brett Meyer wrote: > > If I don't have time to contribute

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Steve Ebersole
I do not. But from what I understand its trivial to install on Fedora, unlike some other tools y'all like to use ;) On Fri, Jan 12, 2018 at 11:55 AM Sanne Grinovero wrote: > On 12 January 2018 at 17:32, Brett Meyer wrote: > > If I don't have time to contribute to Pax Exam, I certainly don't h

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Sanne Grinovero
On 12 January 2018 at 17:32, Brett Meyer wrote: > If I don't have time to contribute to Pax Exam, I certainly don't have > time to start a new project haha... > > And realistically, that "something new" would likely involve containers > anyway. > > At this point, mostly a question of 1) status quo

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Brett Meyer
If I don't have time to contribute to Pax Exam, I certainly don't have time to start a new project haha... And realistically, that "something new" would likely involve containers anyway. At this point, mostly a question of 1) status quo, 2) Docker (or any other container-based solution), or 3)

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Sanne Grinovero
Ok, looks like you really should start something new :) Hopefully many of those other annoyed Karaf developers will follow. On 12 January 2018 at 13:59, Brett Meyer wrote: > Plus, for me, it's more a question of time. I only have a bit available > for open source work these days, and I'd rather

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Steve Ebersole
Personally I have had problems with Arquillian in the past. It was either setting up CDI tests or setting up OSGi tests (or maybe both). I am open to any suggestions that make this less brittle or easier to work with On Fri, Jan 12, 2018 at 5:34 AM Sanne Grinovero wrote: > +1 to explore altern

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Brett Meyer
Plus, for me, it's more a question of time.  I only have a bit available for open source work these days, and I'd rather spend that knocking out some of the hibernate-osgi tasks we've had on our plate for a while.  I unfortunately don't have anything left to contribute to Pax Exam itself, assum

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Brett Meyer
Sorry Gunnar/Sanne, should have clarified this first: We actually used Arquillian before Pax Exam, and the experience was far worse (somewhat of a long story)... > Pax Exam was just "helping" to deploy/run things in Karaf, so I can't imagine using Karaf without the helpers being a walk in the

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Sanne Grinovero
+1 to explore alternatives to Pax Exam, but I'd be wary of maintining our own test infrastructure. Pax Exam was just "helping" to deploy/run things in Karaf, so I can't imagine using Karaf without the helpers being a walk in the park; e.g. having to deal with HTTP operations comes with its own bag

Re: [hibernate-dev] replace Pax Exam with Docker

2018-01-12 Thread Gunnar Morling
Hi Brett, We also had our fair share of frustration with Pax Exam in HV, and I was (more than once) at the point of dropping it. Docker could work, but as you say it's a bit of a heavy dependency, if not required anyways. Not sure whether I'd like to add this as a prerequisite for the HV build to

[hibernate-dev] replace Pax Exam with Docker

2018-01-11 Thread Brett Meyer
I'm fed up with Pax Exam and would love to replace it as the hibernate-osgi integration test harness.  Most of the Karaf committers I've been working with hate it more than I do.  Every single time we upgrade the Karaf version, something less-than-minor in hibernate-osgi, upgrade/change depen