Hi Chris, You could use artifacts-updated extension for that purpose. Basically the artifacts updated event is published by ADC to instance notifier topic. This is being subscribed by the cartridge agent and it will execute artifacts-updated.sh script upon receiving this event. You should be able to use this extension point to build/re-deploy artifacts. I haven't used this but it should work.
On Fri, May 2, 2014 at 11:29 PM, Nirmal Fernando <[email protected]> wrote: > Possible via extending Cartridge Agent. > > > On Fri, May 2, 2014 at 11:24 PM, chris snow <[email protected]> wrote: >> >> Ah, OK. Not sure my SCM team will be so easily convinced though :) >> >> Can stratos trigger a workflow on the cartridge after the git pull? For >> example, if an app server requires the artifact to be deployed in a special >> way, or if the app server needs restarting after deploying the artifact? >> >> >> On 2 May 2014 18:31, "Nirmal Fernando" <[email protected]> wrote: >>> >>> If it's an application, you can store it in GIT. >>> >>> >>> On Fri, May 2, 2014 at 10:51 PM, chris snow <[email protected]> wrote: >>>> >>>> I've been trying out the php cartridge that pulls source changes from >>>> git. >>>> >>>> I'm a little bit confused. How does stratos work with pre-compiled >>>> binaries, e.g. Java war files? Do these artifacts to be stored in git? >>> >>> >>> >>> >>> -- >>> Best Regards, >>> Nirmal >>> >>> Nirmal Fernando. >>> PPMC Member & Committer of Apache Stratos, >>> Senior Software Engineer, WSO2 Inc. >>> >>> Blog: http://nirmalfdo.blogspot.com/ > > > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ -- Akila Ravihansa Perera Software Engineer WSO2 Inc. http://wso2.com Phone: +94 77 64 154 38 Blog: http://ravihansa3000.blogspot.com
