Skip to content

Use correct parameter names in web app deploy #202

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

Merged
merged 2 commits into from
Feb 22, 2020

Conversation

stevehaigh
Copy link
Contributor

It is not clear from the docs, but looking at the source code for the AzureWebAppContainer task it need a resource group and an image name (as opposed to container name). These parameters deploy successfully for me.

I'm not sure about the azureSubscription value, it might not be needed but I've left it as it was.

It is not clear from the docs, but looking at the source code for the AzureWebAppContainer task it need a resource group and an image name (as opposed to container name). These parameters deploy successfully for me.

I'm not sure about the azureSubscription value, it might not be needed but I've left it as it was.
@eedorenko
Copy link
Contributor

That's interesting. If you add a task from UI it generates yaml exactly as it is now
Screen Shot 2020-02-21 at 12 33 35 PM
And it works. Doesn't it work for you?

Copy link
Contributor

@eedorenko eedorenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment

@stevehaigh
Copy link
Contributor Author

Hi @eedorenko, thanks for looking. That's strange. I was hitting an error at the deploy task, which is resolved by the changes I made.
I'll try and repro again on Monday, but the parameters list for the task doesn't mention 'containers':

https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureWebAppContainerV1/taskparameters.ts

@eedorenko eedorenko merged commit d7c71bb into microsoft:master Feb 22, 2020
@stevehaigh stevehaigh deleted the patch-1 branch February 24, 2020 12:40
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

Successfully merging this pull request may close these issues.

2 participants