You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Matthieu Vincent <mv...@gmail.com> on 2015/10/15 23:42:14 UTC

Re: [KARAF] CI feedback

Hi all,

 I'm back one year later.

I finally found time to try pax-exam which is quite good for testing ! :)

Is there any newz regarding continuous deployment ?

Thanks for feedback
Mat

2014-07-25 11:46 GMT+02:00 Charlie Mordant <cm...@gmail.com>:

> Hi Matthieu,
>
> Concerning Itesting, I use Pax-Exam(-container-karaf) and I just find it
> all good.
> It's also feasible to make E2E tests with the exam-maven-plugin (starting
> and stopping karaf during pre and post integration test phase) and Selenium.
>
> Regards,
>
>
> 2014-07-25 11:35 GMT+02:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
>> Hi Mat,
>>
>> yes, features:update or feature:refresh doesn't exist (it's not so
>> trivial, especially about the transitive features).
>>
>> So, yes: features:update == features:uninstall && features:install.
>>
>> I would recommend this more than copy bundles in the deploy folder (I'm
>> not a big fan of the hotdeployment ;)).
>>
>> Regards
>> JB
>>
>>
>> On 07/25/2014 11:29 AM, Matthieu Vincent wrote:
>>
>>> Hi JB,
>>>
>>>   thanks for tips.
>>>
>>> Another question : if my feature is already installed, as
>>> feature:refresh not yet available, i must do an uninstall/install
>>> feature or may I do a deployment using a basic copy of bundles into the
>>> deploy directory of my instance ?
>>>
>>> Thx,
>>> Mat
>>>
>>>
>>> 2014-07-25 11:22 GMT+02:00 Jean-Baptiste Onofré <jb@nanthrax.net
>>> <ma...@nanthrax.net>>:
>>>
>>>
>>>     Hi Matthieu,
>>>
>>>     FYI, Karaf itself is built using Jenkins and include utest/itests
>>>     (using Pax Exam). You can take a look on Karaf codebase itself.
>>>
>>>     For the automatic deployment, I will push my karaf:deploy Maven
>>>     plugin goal.
>>>     Waiting for this, you can leverage other project (Puppet, Chef,
>>>     Kalumet), or you can simply using the exec-maven-plugin to call a
>>>     script like:
>>>
>>>     sshpass -p karaf ssh -p 8101 karaf@host features:addurl mvn:.....
>>>     sshpass -p karaf ssh -p 8101 karaf@host features:install ....
>>>
>>>     Regards
>>>     JB
>>>
>>>
>>>     On 07/25/2014 11:16 AM, Matthieu Vincent wrote:
>>>
>>>         Hi everyone,
>>>
>>>               I would like to set up a continuous integration
>>>         environment for my
>>>         OSGi projects and I'd like to have some feedbacks and best
>>> practices
>>>         before starting, especially concerning integration testing and
>>>         automatic
>>>         deployment,
>>>
>>>         Thanks,
>>>         Mat
>>>
>>>
>>>     --
>>>     Jean-Baptiste Onofré
>>>     jbonofre@apache.org <ma...@apache.org>
>>>
>>>     http://blog.nanthrax.net
>>>     Talend - http://www.talend.com
>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
> --
> Charlie Mordant
>
> Full OSGI/EE stack made with Karaf:
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>

Re: [KARAF] CI feedback

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Mat,

the next releases will include new karaf-maven-plugin goals, especially 
karaf:deploy for continuous deployment.

karaf-boot currently in discussion will also bring "on the fly" custom 
distribution creation and embedded mode to easily move forward on 
continuous deployment (possible combination with karaf-docker).

Regards
JB

On 10/15/2015 11:42 PM, Matthieu Vincent wrote:
> Hi all,
>
>   I'm back one year later.
>
> I finally found time to try pax-exam which is quite good for testing ! :)
>
> Is there any newz regarding continuous deployment ?
>
> Thanks for feedback
> Mat
>
> 2014-07-25 11:46 GMT+02:00 Charlie Mordant <cmordant1@gmail.com
> <ma...@gmail.com>>:
>
>     Hi Matthieu,
>
>     Concerning Itesting, I use Pax-Exam(-container-karaf) and I just
>     find it all good.
>     It's also feasible to make E2E tests with the exam-maven-plugin
>     (starting and stopping karaf during pre and post integration test
>     phase) and Selenium.
>
>     Regards,
>
>
>     2014-07-25 11:35 GMT+02:00 Jean-Baptiste Onofré <jb@nanthrax.net
>     <ma...@nanthrax.net>>:
>
>         Hi Mat,
>
>         yes, features:update or feature:refresh doesn't exist (it's not
>         so trivial, especially about the transitive features).
>
>         So, yes: features:update == features:uninstall && features:install.
>
>         I would recommend this more than copy bundles in the deploy
>         folder (I'm not a big fan of the hotdeployment ;)).
>
>         Regards
>         JB
>
>
>         On 07/25/2014 11:29 AM, Matthieu Vincent wrote:
>
>             Hi JB,
>
>                thanks for tips.
>
>             Another question : if my feature is already installed, as
>             feature:refresh not yet available, i must do an
>             uninstall/install
>             feature or may I do a deployment using a basic copy of
>             bundles into the
>             deploy directory of my instance ?
>
>             Thx,
>             Mat
>
>
>             2014-07-25 11:22 GMT+02:00 Jean-Baptiste Onofré
>             <jb@nanthrax.net <ma...@nanthrax.net>
>             <mailto:jb@nanthrax.net <ma...@nanthrax.net>>>:
>
>
>                  Hi Matthieu,
>
>                  FYI, Karaf itself is built using Jenkins and include
>             utest/itests
>                  (using Pax Exam). You can take a look on Karaf codebase
>             itself.
>
>                  For the automatic deployment, I will push my
>             karaf:deploy Maven
>                  plugin goal.
>                  Waiting for this, you can leverage other project
>             (Puppet, Chef,
>                  Kalumet), or you can simply using the exec-maven-plugin
>             to call a
>                  script like:
>
>                  sshpass -p karaf ssh -p 8101 karaf@host features:addurl
>             mvn:.....
>                  sshpass -p karaf ssh -p 8101 karaf@host
>             features:install ....
>
>                  Regards
>                  JB
>
>
>                  On 07/25/2014 11:16 AM, Matthieu Vincent wrote:
>
>                      Hi everyone,
>
>                            I would like to set up a continuous integration
>                      environment for my
>                      OSGi projects and I'd like to have some feedbacks
>             and best practices
>                      before starting, especially concerning integration
>             testing and
>                      automatic
>                      deployment,
>
>                      Thanks,
>                      Mat
>
>
>                  --
>                  Jean-Baptiste Onofré
>             jbonofre@apache.org <ma...@apache.org>
>             <mailto:jbonofre@apache.org <ma...@apache.org>>
>
>             http://blog.nanthrax.net
>                  Talend - http://www.talend.com
>
>
>
>         --
>         Jean-Baptiste Onofré
>         jbonofre@apache.org <ma...@apache.org>
>         http://blog.nanthrax.net
>         Talend - http://www.talend.com
>
>
>
>
>     --
>     Charlie Mordant
>
>     Full OSGI/EE stack made with Karaf:
>     https://github.com/OsgiliathEnterprise/net.osgiliath.parent
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com