pulumi / pulumi-az-pipelines-task

Azure Pipelines task extension for running Pulumi apps.
https://marketplace.visualstudio.com/publishers/pulumi
Apache License 2.0
27 stars 19 forks source link

Support for pulumi refresh command #71

Closed dirien closed 3 years ago

dirien commented 3 years ago

Describe the solution you'd like Would be nice, when the plugin is supporting the pulumi refreshcommand

praneetloke commented 3 years ago

@dirien you should be able to type any supported command in the pick list box, if it is not already available for selection. The pick list is editable. If you are configuring the pipeline directly in yaml, you just need to pass the value to the cmd input param. Did you encounter an error while trying to use the refresh command? If you did, could you please provide more details on what the error was?

dirien commented 3 years ago

hi,

from the ui i see that refresh ist not available and it shows a warning in the editor:

image image

But as you wrote, when i "hardcode" it works.

So i created a PR https://github.com/pulumi/pulumi-az-pipelines-task/pull/72 to add the missing refresh to the options box. Pleae give me feedack, if somthing is not as expected in the PR. I will changei it.

praneetloke commented 3 years ago

@dirien the warning should be ok to ignore. The picklist options were intentionally made editable for reasons like this when a command is missing in the list to select from. Your PR looks good to me. Thank you for submitting it!

praneetloke commented 3 years ago

Once again, thank you for submitting the PR! The change is available with v1.0.12. Your build agent should automatically pick-up the new task extension version. It might take a few minutes for it to detect the new version availability.