Hi Sajith, thanks for this.  Do you think this information needs to get
added to the wiki?  I.e. will other users need to know this as well?
On 8 Jun 2014 04:15, "Sajith Kariyawasam" <saj...@wso2.com> wrote:

> Hi Maria,
>
> Yes, as Chris have mentioned code for git operations are in Cartridge
> Agent component.
>
> You need to do the git pull directly to the deployment directory of the
> particular cartridge. That can be configured using the APP_PATH system
> property in Cartridge Agent's startup script stratos.sh [1]
> For eg, in Tomcat cartridge you can have APP_PATH configured to
> <TOMCAT_HOME>/webapps, and have the war files in your git repository, and
> the git clone / pull is done to the exact location.
>
> Hope this helps
>
> Thanks,
> Sajith
>
> [1]
> https://github.com/apache/stratos/blob/master/products/cartridge-agent/modules/distribution/src/main/bin/stratos.sh
>
>
> On Sun, Jun 8, 2014 at 2:43 AM, chris snow <chsnow...@gmail.com> wrote:
>
>> Hi Maria,
>>
>> I think you want to be looking at the cartridge agent  [1] the git
>> pull seems to be here [2]
>>
>> I'm not sure about code for deploying, hopefully someone else will be
>> able to step in with this information...
>>
>> Cheers,
>>
>> Chris
>>
>> ---
>> [1]
>> https://github.com/apache/stratos/tree/master/components/org.apache.stratos.cartridge.agent
>> [2]
>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cartridge.agent/src/main/java/org/apache/stratos/cartridge/agent/CartridgeAgent.java#L331
>>
>> On Sat, Jun 7, 2014 at 9:55 PM, Maria Beckham <mariabeckha...@yahoo.com>
>> wrote:
>> > Hi,
>> >
>> > Which java code or components are responsible for doing git pull and
>> > deploying to tomcat server on git push notification?
>> >
>> > I saw some code like updaterepository but i dont see any git pull or
>> deploy
>> > code to update tomcat for java app war.
>> >
>> > Thanks,
>> > Maria
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> *--*
> *Sajith Kariyawasam*
> *Mobile: +94772269575 <%2B94772269575>*
>

Reply via email to