How to deploy a single service (directory) from a big monorepo?

I have a repo that contains a lot of Java (Jetty) services. Is it possible to build and deploy (AWS CodeDeploy) a single service?

1 Like

Just to clarify the question, are you asking how to do this in the general case or how to do this with some existing scripts that you have on CircleCI?

I am trying to see if CricleCI will work for my case - other hosted solutions I checked don’t have that support as far as I can tell. So it’s in general. I don’t have any scripts yet.

I’ve never done anything like this myself, and we don’t have any “first-class” support for doing this. But at the end of the day CircleCI allows you to run arbitrary scripts and code inside of a Docker container that you have root access for.

This means that if you can do it in Linux, you can do it on CircleCI.

So, I am not able to answer the question of how to do this, but I am 99% sure that whatever solution you have in mind will work on CircleCI.

I hope that someone else with experience deploying from a monorepo could chime in here.