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

CICD for Micro Frontend mono repo

muruganshankar January 10, 2022

Hi,

We are working with Micro frontend apps, in mono repo structure.  We are facing some issue while architecting bamboo CICD.  My mono repo will have multiple subdirectories in it and each subdir are treated as independent application.  On every checkin on that repo our bamboo pipeline will get trigger.  My requirement is I don't want to build subdir if their no change in that.  Can we somehow check, is there a change in the subdir then build that else skip that ?.  Is that possible in bamboo.  Please guide me.

1 answer

0 votes
Dave Attard 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/.*

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events