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

[question] How can I pass external args to tests? #448

Open
Tracked by #139
eddumelendez opened this issue Mar 15, 2023 · 3 comments
Open
Tracked by #139

[question] How can I pass external args to tests? #448

eddumelendez opened this issue Mar 15, 2023 · 3 comments
Labels
feature-request New feature or request

Comments

@eddumelendez
Copy link

My feature depends on a secret. For that reason, I can not put it in plain text. Is there currently a way to pass an external args? In GHA, would be easy to set using devcontainer features test -f secret-feature --args ${{ secrets.MY_TOKEN }}

@joshspicer
Copy link
Member

Are you looking to be able to add remoteEnv variables to a container via the command line when testing? (ie: Should these be environment variables in the running container?)

That's not something we have wired up in the test command currently, but seems like a useful feature

@joshspicer
Copy link
Member

@eddumelendez
Copy link
Author

yes, please that would be awesome! and probably related to this other question devcontainers/feature-starter#41

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

No branches or pull requests

2 participants