I’ve recently started working on my first orb (zzamboni/leanpub, feedback welcome). I have several jobs and commands which share the same base set of parameters, so I have declared them as a YAML anchor near the top of my single-file orb.
I was thinking of destructuring the orb, but it seems that in YAML references cannot be used across multiple files (I guess each .yml file in the tree gets validated separately?). This is what I get:
> circleci config pack src Error: Failed trying to marshal the tree to YAML : yaml: unknown anchor 'base-leanpub-params' referenced
Is this possible, or should I just stay with a single-file orb due to this?