0

I am facing issue while deploying updated code on vmscaleset using Azure DevOps Pipeline. Tried using updating Image each time when code updates in repo, but its taking much time. Kindly suggest ways to accomplish this

1 Answers1

1

By reference to this doc: How Azure Pipelines manages the scale set, Azure Pipelines automatically scales the agent machines. Thus each time you run a build it will create new agents in Azure portal and your build will run when the new agents are idle and online, which takes much time.

You could choose to use Microsoft-hosted agents or Self-hosted agents, which should take not much time.

wallezzi
  • 334
  • 1
  • 6
  • I am asking about CD part not CI part. I want to Deploy code on vmss using azure pipelines. e.g. AWS has codedeploy and it deploy code on AutoScaling group. – user15589423 Apr 10 '21 at 10:38
  • @user15589423 Can you specify which step(e.g. Initialize job ...) in the pipeline takes much time? – Hugh Lin Apr 12 '21 at 09:07
  • https://learn.microsoft.com/en-us/azure/devops/pipelines/apps/cd/azure/deploy-virtual-scale-set-java?view=azure-devops I follow this blog. It take much time for image build process. – user15589423 Apr 13 '21 at 10:32