Fork me on GitHub
#duct
<
2020-06-12
>
val_waeselynck19:06:25

Is it possible to define custom profiles in Duct? My use case is that I'd like to have several variants of dev profiles.

Kevin19:06:46

You can add profiles in dev.clj

Kevin19:06:13

But they need to drive from :duct/profile iirc

val_waeselynck12:06:56

I've tried something along those lines and failed unfortunately... could you maybe be more specific?

rickmoynihan11:06:19

we do this extensively; there are some gotchas to do with resolution order of profiles though… they don’t currently happen in the order specified by that profiles vector; but by their own dependency order with ties resolved alphabetically

rickmoynihan11:06:58

This is something I’d like for duct to change

Kevin11:06:18

Yeah, ordering in Duct is a bit of an issue. Same problem with Ataraxy middleware (although that's an Ataraxy issue, not Duct)

Kevin11:06:47

The Duct configuration should get a bit of a revamp before 1.0 though. Would be nice to fix these things by then

val_waeselynck12:06:56

I've tried something along those lines and failed unfortunately... could you maybe be more specific?