--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This maven plugin makes it easy to create or update a fabric profile from your maven project.
When you deploy your project to a fabric profile with this plugin the following takes place:
I am trying to use the fabric8 mavern plugin - I could not understand what are the different entries goes to pom file for just thefabric8:deploy goal since the artifact is already built before.
The below command is expecting the pom file for plugin information.mvn fabric8:deploy -Dprofile=sample-1 -Dversion=1.0 -Dbundles=mvn:org.apache.camel/camel-quartz/Is there is an easy process that I can follow to achieve my task.Thanks,Bala Gurram
--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Christian,Thanks for your reply! I like both approaches.First, you can update the bundle version in the profile that you currently have deployed:
Let us take the First approach, How do I update the bundle version in the profile ? Could you point me to the document or instructions I need to follow.
In my case:-1) Fuse is running on the remote machine (Machine-1)-2) My automation (script/process) runs on different machine (Machine-2) to update the bundle version in the profile(please provide instructions or doc for this step)
What do you mean by use profiles? Please elaborate.
Thanks,Bala G
On Tue, Aug 19, 2014 at 7:00 AM, Bala Gurram <bala....@gmail.com> wrote:
Hello James,
My goal is to update the artifact on remote fuse server profile. First time profile provisioning is done through the fabric management console. I am looking subsequent artifact updates through automation when ever I need to update the profile with new artifact/code.
There are two ways depending on your needs.First, you can update the bundle version in the profile that you currently have deployed. Then Fabric8 will update itself on the containers the profile is deployed to. The changes you make are all versioned (git in the backend) so you can see history, etc.The second way would be to make a new version of your profiles and update the version of your bundle in that new profile. Then deploy that new profile to a new container. Note, all of this updating the artifact is predicated on the fact that if you have changes to your artifact, you increment the version number. You don't ever replace artifacts/bundles/modules in place with the same version. Eg, if artifact version 1.0 is currently deployed, any subsequent deployment would be of version 1.1, 1.2, etc of your artifact. You wouldn't update 1.0 and push it out again as 1.0.
Looks like this is very close to what I am looking for- Sorry I missed to get it first.To understand better - I need to have the fabric 8 on my local machine to connect to fuse instance on my remote machine and do the artifact update using the plugin ? Help me understand better.
You don't use the plugin for this. You use profiles.
--
Bala Gurram
Hello Christian,Please see my query in green--Again thanks for your reply!
Thanks for your reply! I like both approaches.
First, you can update the bundle version in the profile that you currently have deployed:Let us take the First approach, How do I update the bundle version in the profile ? Could you point me to the document or instructions I need to follow.
Sure. There's the profile-edit commands from the command line, or you can click the wiki tab and find the profile you want to edit, then click the module/bundle tab and edit it.In my case:-1) Fuse is running on the remote machine (Machine-1)-2) My automation (script/process) runs on different machine (Machine-2) to update the bundle version in the profile(please provide instructions or doc for this step)Yah, use the command line then.
To go for command line option,-I need to establish the connection to fuse server running on Machine 1 from Machine 2, How do I do that ?-Do you have any sample piece of steps to connect to Machine 2 fuse instance from another machine and run these profile-edit commands on machine 2 by passing the updated bundle information and profile in the commands.What steps I need to follow to get this done ? I really appreciate your help on this.
What do you mean by use profiles? Please elaborate.Take a look at this: http://fabric8.io/gitbook/profiles.html
I got better understanding of how profiles work from doc. how to run from another machine is my big ??