We’re discussing creating different Docker images (microservices) from the same Bitbucket code repository. Each service will have its own folder and
What’s the best way to handle this in a CircleCI workflow? I can write some Bash to
git diff the files and only build affected Docker images, but this means with ~10 services we’d have 9 jobs simply echo’ing “No files diff’d, skipping”. It would also mean we’d end up using “credits” for each of these jobs, with no useful output.
Is there a cleaner way to do this, e.g. having jobs only run if certain files have been changed? I know Gitlab can do this pretty easily.
Thanks in advance