#Dagger with NX monorepo

1 messages · Page 1 of 1 (latest)

versed iron
#

I'm asking for help from the Dagger Discord community. I'm new to Dagger and trying to use it in an NX monorepo. My goal is to build and test everything, including all applications, using Dagger. I'm a bit unsure about navigating projects in the NX monorepo with Dagger scripts and running a specific app for testing and building in Docker using Dagger. I've also included an image of the project and the error I'm facing. Thank you for your assistance.

modern radish
#

Check line 12, with directories the first argument is the path inside of the container. Replace ‘.’ with a. Abs path and try it again nvm, didn't see the first pic in the mobile. I think what I wrote is not valid

warm agate
#

Ideally, you can have a shared dagger pipeline and pass in a few parameters that tells it what to work on. You should be able to use a mounted cache for the shared dependencies.

We are wrapping our dagger TS code with commander.js

(https://github.com/hofstadter-io/hof/blob/_dev/next/ci/dagger.mts)

Dagger Zenith (#project-zenith channel) aims to surface these typical configuration points into the dagger CLI so we don't need things like commander in the future. (not sure what else zenith is about, there is also a story over there about reusing pipelines from other files / langs)

GitHub

Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic. - hofstadter-io/hof

exotic cloak