Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable starting only a subset of components #186

Open
kate-goldenring opened this issue Sep 11, 2024 · 2 comments
Open

Enable starting only a subset of components #186

kate-goldenring opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@kate-goldenring
Copy link
Collaborator

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: fermyon/spin#2820

@kate-goldenring kate-goldenring self-assigned this Sep 11, 2024
@Mossaka
Copy link
Member

Mossaka commented Sep 19, 2024

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"

@kate-goldenring
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants