airavata-courses / TeamFlash

1 stars 3 forks source link

Regarding Multiple Language for CI #9

Closed akmehra closed 7 years ago

akmehra commented 8 years ago

I am still confused as to how will we have a common yml file for multiple languages. Any suggestions?

@gouravshenoy @marpierc

gouravshenoy commented 8 years ago

Hi Abhishek,

There are couple of options for micro-services and their CI/CD:

  1. Maintain multiple sub-branches in git for each micro-service, and within each sub-branch have a travis file that builds that service. Then during deployment, merge all micro-services in a single instance to install the application.
  2. Have a single branch with different micro-service projects (in different languages). Travis provides an option to parallelizing the build process - with this you can configure travis to run multiple build types (eg: run java using maven & node.js using gradle, etc). See this for more info: https://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-builds-across-virtual-machines

You can decide which option best suites your design. Hope this helps!

Thanks and Regards, Gourav Shenoy

On Mon, Sep 19, 2016 at 11:07 PM, akmehra notifications@github.com wrote:

I am still confused as to how will we have a common yml file for multiple languages. Any suggestions?

@gouravshenoy https://github.com/gouravshenoy @marpierc https://github.com/marpierc

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/airavata-courses/TeamFlash/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5HbpX27HJgeT2QvSNtW-x7kQZVGHAiks5qr03igaJpZM4KBLY3 .