Open kate-goldenring opened 2 months ago
Probably want a new Spin Execution Config variable like SPIN_COMPONENTS
that takes a list of components. E.g.
env:
- name: SPIN_COMPONENTS
value: "hello-rust,hello-go"
Thats exactly what i have in mind. I have a working implementation with SPIN_COMPONENTS_TO_RETAIN
as the env. I'll put up a PR once the Spin change merges
As a feature request, the shim should be able to execute only a subset of components. This will likely pull in changes from the Spin CLI work around this: https://github.com/fermyon/spin/issues/2820