Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to build mono repo based microservices in bamboo?

Alok Singh October 7, 2017

I have been trying to implement a solution where I can build micro-services based on the a mono-repos. The biggest blocker here is the sparse-checkout not supported by bamboo. So every time a service is getting modified all the services are getting rebuild. Is there a way I can streamline this in Bamboo. Any suggestions from the community?

2 answers

0 votes
Dave Attard
Contributor
February 21, 2023

you can use a plan based repo with change-detection

repositories:
- repo1:
type: bitbucket-server
server: Bitbucket
project: XXXX
slug: xxxx
clone-url:
public-key:
private-key:
branch: master
command-timeout-minutes: '30'
use-shallow-clones: true
cache-on-agents: true
submodules: false
ssh-key-applies-to-submodules: false
verbose-logs: false
fetch-all: false
lfs: false
change-detection:
file-filter-type: include_only
file-filter-pattern: folder1/.*
0 votes
Trevor Raiss September 24, 2018

Hi Alok, did you get this working? I can't find much content on this topic anywhere

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events