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

AzureWebAppContainerV1: AppSettings updated after App Service restart #13673

Closed
sergeyzwezdin opened this issue Oct 7, 2020 · 1 comment · Fixed by #13827
Closed

AzureWebAppContainerV1: AppSettings updated after App Service restart #13673

sergeyzwezdin opened this issue Oct 7, 2020 · 1 comment · Fixed by #13827

Comments

@sergeyzwezdin
Copy link

Type: Bug
Enter Task Name: AzureWebAppContainerV1

list here (V# not needed): AzureWebAppContainer
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

  • Server - Azure Pipelines
  • Agent - Hosted

Issue Description

While deploying test container to Azure App Services, I noticed that the service restarted right after deployment and then app settings changed. It seems that's wrong because of in this case App Service sometimes fails with error that Docker credentials are not found.

image

What if put these lines before calling deployWebAppImage?

if(this.taskParams.AppSettings) {
var customApplicationSettings = ParameterParser.parse(this.taskParams.AppSettings);
await this.appServiceUtility.updateAndMonitorAppSettings(customApplicationSettings);
}

@AmrutaKawade
Copy link
Contributor

This is fixed and will be deployed within 2 weeks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants