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

Azure web app linux deploy to slot #4460

Closed
kevinluvian opened this issue Jun 3, 2017 · 5 comments
Closed

Azure web app linux deploy to slot #4460

kevinluvian opened this issue Jun 3, 2017 · 5 comments
Assignees
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release enhancement

Comments

@kevinluvian
Copy link

kevinluvian commented Jun 3, 2017

I noticed that there's no option to deploy to slot in azure web app linux in the VSTS
before, I tried to export the json task, and modify it manually to be able to deploy to slot, however, its not working
and then I noticed that it is intended to disable deploy to slot flag by this code
(https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts#L56)

        if(webAppKind && webAppKind === "linux") {
            deployToSlotFlag = false;
        }

is there any way to deploy to slot for azure web app linux? I think this is an must have features as to remove downtime in the deployment, and its become useless to have staging if we can't deploy to staging in the first place

@kevinluvian
Copy link
Author

is it a good idea to use slot as production?
so I can just deploy to production and swap it to staging and use staging slot as my endpoint for my domain?

@vincent1173 vincent1173 added Area: Release Area: AzureAppService Label to monitor Azure App Service issues labels Jun 5, 2017
@azooinmyluggage
Copy link
Contributor

We are adding support for this feature. In our backlog and coming soon.

@dikhakha
Copy link
Member

Have added this functionality to AzureRm web app deployment task and it will be available after next deployment.

@kevinluvian
Copy link
Author

Hi @dikhakha, thank you for the response, however, I can't find the option to deploy to slot, can you please tell me where can I change the setting?

@dikhakha
Copy link
Member

@kevinluvian Deploy to slot option for Linux apps will be available by default in the next version of Azure RM Deployment task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release enhancement
Projects
None yet
Development

No branches or pull requests

7 participants