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

bug fixes in Azure Webapp deploy task #11737

Merged
merged 10 commits into from
Nov 20, 2019

Conversation

vineetmimrot
Copy link
Member

@vineetmimrot vineetmimrot commented Nov 12, 2019

This PR addresses the following issues:

  1. In case of publish profile scenario, change the slot name to "production", if the deployment is done on main webApp.

  2. minor fix for printing application url on console log.

@vineetmimrot
Copy link
Member Author

@bishal-pdMSFT can you review this PR.

@bishal-pdMSFT
Copy link
Contributor

@vineetmimrot can you please add some details about the bug?

@vineetmimrot
Copy link
Member Author

@vineetmimrot can you please add some details about the bug?

Done. Can you please approve it.

@@ -39,9 +39,7 @@ export class AzureRmWebAppDeploymentProvider implements IWebAppDeploymentProvide
this.kuduService = new Kudu(this.publishProfileScmCredentials.scmUri, this.publishProfileScmCredentials.username, this.publishProfileScmCredentials.password);
let resourceId = publishProfileEndpoint.resourceId;
let resourceIdSplit = resourceId.split("/");
if (resourceIdSplit.length === 11) {
this.slotName = resourceIdSplit[10];
Copy link
Contributor

Choose a reason for hiding this comment

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

can we not just use this.taskParams.SlotName for slotName

Copy link
Member Author

Choose a reason for hiding this comment

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

In the case of publish profile, the input fields related to webapp are redundant. The artifact will be deployed only at the scm url present in the publish profile, irrespective of what the user provides value into input fields.

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense. Are the web app related inputs still visible in task ux?

Copy link
Contributor

Choose a reason for hiding this comment

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

Lets take this out of this PR

@vineetmimrot vineetmimrot merged commit e427d60 into master Nov 20, 2019
leantk pushed a commit that referenced this pull request Dec 23, 2019
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