You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by hsinchen <hc...@gmail.com> on 2015/05/15 02:57:01 UTC

CI/CD with Karaf

Hi,

We intends to build up a CI/CD flow with Karaf as the the final target. The
tool/flow is IDE/Maven -> Jenkins ->  Nexus OSS or Cave-> CD -> standalone
Karafs or Cellar-based Karaf.

What is the suitable tool for the CD? Apache ACE or Puppet or Others?
1. For ACE to standalone Karafs, it works. We could deploy bundles to all of
single Karaf runtime.
2. For ACE to Cellar-based Karaf, it is also fine. But,  we could just treat
it as a collection of single Karaf runtime like 1. ACE doesn't support group
deploy to all Karaf runtimes within a cluster.

For ACE, 1 or 2, we could not use odr:deploy and karaf feature based
deployment. ACE has no UI for operation history. The role/privilege seems no
difference for all roles.

What is the practice for reference? ACE, Puppet, ?

For Build Tool to OBR, 2 possible paths.
1. Jenkins -> Nexus, we try to set up OBR plugin for Nexus OSS. But, it
fails to generate meta data.
Jenkins -> Company Nexus -> OSGi Nexus (Proxy Repository to Company Nexus
Repoisitory + a Virtual Repoisitory to the Proxy Repoisotry). Have no idea
why no meta data for OBR is generated.
2. For Jenkins -> Cave, it seems that we need to let jenkins put the
artifacts to Nexus OSS and Cave simultaneously since we uses Nexus for all.

Is any good practice for production usage? We would also have an approval
process to trigger to real deployment from CD tool to Karafs.









--
View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: CI/CD with Karaf

Posted by "Jamie G." <ja...@gmail.com>.
CI -- Jenkins build running Pax Exam & unit tests.

CD -- depends on your organization and the application(s) its supporting.

On Tue, May 19, 2015 at 12:47 PM, hsinchen <hc...@gmail.com> wrote:
> Hi,
>
> Any experience for CI/CD? Or, just install bundles manually with any
> integration or provisioning tool?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366p4040493.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Re: CI/CD with Karaf

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

The karaf:deploy, karaf:run, and karaf:client karaf-maven-plugin goals 
will be included in the next releases.

Regards
JB

On 10/15/2015 11:36 PM, yodamad wrote:
> Hi JB
>
>   When this new karaf:deploy command will be available ? Will it be
> compatible with Karaf 3.x & 4.x ?
>
> Thanks
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366p4043121.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

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

Re: CI/CD with Karaf

Posted by yodamad <mv...@gmail.com>.
Hi JB

 When this new karaf:deploy command will be available ? Will it be
compatible with Karaf 3.x & 4.x ?

Thanks



--
View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366p4043121.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: CI/CD with Karaf

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

CI can be done in Jenkins, leveraging Maven, and performing utest (using 
junit and easymock for instance), and itest (using pax-exam).

For CD, you can use the coming karaf goal (mvn karaf:deploy) or kalumet 
(or any kind of deployment tools like chef, puppet, etc).

Regards
JB

On 05/19/2015 05:17 PM, hsinchen wrote:
> Hi,
>
> Any experience for CI/CD? Or, just install bundles manually with any
> integration or provisioning tool?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366p4040493.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

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

Re: CI/CD with Karaf

Posted by hsinchen <hc...@gmail.com>.
Hi,

Any experience for CI/CD? Or, just install bundles manually with any
integration or provisioning tool?



--
View this message in context: http://karaf.922171.n3.nabble.com/CI-CD-with-Karaf-tp4040366p4040493.html
Sent from the Karaf - User mailing list archive at Nabble.com.