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

codedeploy
aws
java

#1

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


#2

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?


#3

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.


#4

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.


#5