#Implementing Dagger into a Monorepo

1 messages · Page 1 of 1 (latest)

dull tulip
warm parcel
#

Thanks for sharing this! The initial problem outlined is a general one when dealing with monorepos. Tools like pantsbuild.org do a great job of solving this for you in general which as you've found is really tricky. I think it would be a great fit to add a plugin for Pants for running Dagger tasks.

boreal comet
#

Do you think that the flow should be from pants to run dagger pipelines or the dagger pipelines run pants ?

fleet gorge
#

@warm parcel , do you still think this is a good idea? I'm well acquainted with the Pantsbuild maintainer and I can ask him to help me do this.

fleet gorge
warm parcel
# fleet gorge <@355082254382268427> , do you still think this is a good idea? I'm well acquain...

Not sure. I ended up not adopting dagger as I couldn't really wrap my head around how I could get a local version of CI. I ended up using kubernetes + helper tools for portable CI. In this case it doesn't really interact with pants at all.

I think the benefit would be to use pants to figure out what does/doesn't need run and inject those into the CI task. Dagger in pants or pants in dagger, I'm not sure.