-
Notifications
You must be signed in to change notification settings - Fork 21
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
PULUMI_CONFIG env variable is not used with PulumiTest #1333
Comments
@imavroukakis, thanks for opening the issue. Would you be interested in contributing a fix? |
@justinvp happy to! |
apologies for taking so long, will have a pull request soon ! |
hey @justinvp , I have made the change but I cannot for the life of me figure out how unit tests are run for the java repo, any doco I could perhaps reference? |
hey @imavroukakis I'm not a contributor to this project but I was also looking for this to work since right now it seems we can't run Unit Tests in Java that require any sort of Pulumi config. Anything I can help you with? Looks like |
Hey @joaotab I want to actually run the Java side of the tests but they seem to blow up in unrelated places. The aim here is to |
What happened?
Trying to use a configuration JSON during testing via the environment variable at runtime - as is the case with the implementation in other languages.
Example
Given
'{"project:the_environment": "devtest"}'
stored in PULUMI_CONFIGfails when testing via
PulumiTest
Output of
pulumi about
Additional context
Instead of initialising an empty
config
inPulumiTestInternal
it should be possible and safe to do
instead.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: