-
Notifications
You must be signed in to change notification settings - Fork 441
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
Flex Deployment #3404
Flex Deployment #3404
Conversation
@@ -7,7 +7,7 @@ namespace Azure.Functions.Cli.Arm | |||
internal static class ArmUriTemplates | |||
{ | |||
public const string ArmApiVersion = "2018-09-01"; | |||
public const string WebsitesApiVersion = "2015-08-01"; | |||
public const string WebsitesApiVersion = "2015-08-01";//"2022-03-01-privatepreview&stamp=eliasl-linux01geo.eastus.cloudapp.azure.com";//"2015-08-01"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the comment?
} | ||
else if (status == DeployStatus.Failed) | ||
{ | ||
throw new CliException("The deployment failed, Please check the printed logs."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should print the deployment logs since the kudu instance will get recycled and there might be no way for customers to access the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point, logs are already printed. Please search "// Safely printing logs after the status is confirmed." in the code.
} | ||
else if (status == DeployStatus.PartialSuccess) | ||
{ | ||
ColoredConsole.WriteLine(WarningColor(GetLogMessage("\"Deployment was partially successful, Please check the printed logs."))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing as above. We should print the deployment logs since the kudu instance will get recycled and there might be no way for customers to access the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logs should already be printed at this stage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you
Issue describing the changes in this PR
resolves #issue_for_this_pr
Pull request checklist