Questions tagged [azure-devops]

Azure DevOps provides unlimited private Git hosting, cloud build for continuous integration, agile planning (issues, Kanban, Scrum, dashboards) along with release management for continuous delivery to the cloud and on-premises. Azure DevOps has a powerful set of collaboration tools to support your DevOps team on every platform with IDE support in Eclipse, IntelliJ, XCode and Visual Studio.

Filter by
Sorted by
Tagged with
1
vote
1answer
136 views

How to skip Build without creating Drop and not triggering Release in Azure DevOps

Currently we have a build pipeline which checks if there is a PR for the current branch and if yes it sets a variable and skips the other build steps. But when this happens the Release still completes ...
1
vote
1answer
476 views

Azure DevOps deploy to Azure VM's without a public IP

Is it possible to deploy from Azure DevOps to an Azure VM that only has a private IP address? I need to deploy to VM's that won't always have a public IP address. I thought there might have been some ...
0
votes
1answer
490 views

How to skip reviewer for project administrator pull request?

Is it possible to configure the repository to skip "At least one reviewer must approve the most recent iteration" in case the person who performs the Pull request is the project ...
1
vote
0answers
29 views

In AzureDevops CI pipeline how to check if missing to add-migration in EF Core 3

I have a CI pipeline, in Azure DevOps, to build a .net core 3 project which uses EF Core 3, I need a way to check if the developer missed to do Add-Migration after they changed the model in the system....
1
vote
1answer
36 views

Watch folder, when direct changes are made push to repo

So I have an azure devops repo and pipeline that copys the repo to my server when changes are pushed. However there are times when some of our developers may make a direct edit to the production ...
1
vote
1answer
93 views

Import data from SharePoint to Azure DevOps

We have migrated to DevOps from SharePoint 2010. We need to Import all the user stories we have in sharepoint to Azure DevOps . Can any one help me with a better way to go about this? Know someone who ...
1
vote
1answer
33 views

Azure DevOps issue with GIT, Visual Studio and Azure (Umbraco)

I am completely new to Visual Studio, .net and Azure DevOps I have a problem with GIT using the GIT bits (rather than CMD), in Visual Studio I have a .Net application (Umbraco), that has been built ...
1
vote
0answers
89 views

Multiple assignees on the same task in Azure Devops [closed]

We have a project in Azure devops where we usually create PBIS and break them down to tasks. Each task is assigned to a Person at the beginning of a sprint. When looking at the "work details"...
0
votes
2answers
72 views

do I scale devops

I have created azure devops with a few organizations/projects in it. Do I need to scale or replicate it across different datacenters so all the developers across the globe can access it? Any ...
0
votes
1answer
367 views

Best practices to maintain forks of Git repository in an on-prem Azure DevOps Server

We have an on-premises Azure DevOps Server and like to use the Git workflow "Fork-Clone-Push-PR". In the moment of forking the system let allow us decide into which project and under which ...
1
vote
1answer
223 views

Azure DevOps proxy for Git

Does Azure DevOps 2019 Proxy server (formerly TFS proxy server) support Git repositories? The documentation only mentions TFVC repositories, and it works great, but we are not sure if Git repositories ...
1
vote
2answers
126 views

Difference between azure devops, azure devops server and TFVC

I am working on visual studio projects (Visual Studio Community). I have create local git repositories and remote respositories on https://dev.azure.com (azure devops). Everything works great Now, i ...
1
vote
1answer
1k views

Azure DevOps: How to pass a parameter from a build to a release?

I have an azure devops build pipeline that builds some docker images and a release pipeline that deploys the docker images using some artifacts I publish in the build. In the build I have some ...
0
votes
2answers
140 views

One azure-pipeline.yaml for staging and production

Currently I have two separate Azure DevOps Pipeline config files: azure-pipelines-staging.yaml azure-pipelines-production.yaml Really the only differences in them are the: trigger: branches: ...
0
votes
1answer
25 views

Automate Application Upgrade in Azure VMs

Sorry if this question is on the wrong Stack Exchange or too vague. I am really new to DevOps and got a big task and don't want to start on the wrong direction. We have many Linux-based (Redhat) VMs ...
3
votes
0answers
233 views

How can I run a script in an Azure WebApp container after deployment as part of an Azure DevOps Pipeline using the classic pipelines interface?

My knowledge of Azure is pretty limited - this is the first project where I've worked with it. We are deploying Azure webapps in docker containers via an Azure pipeline configured with the classic ...
1
vote
1answer
293 views

Azure Pipeline PowerShell@2 Task can't run 'invoke-build' command as inline script (build PowerShell Module)

I'm trying to build a PowerShell module in an Azure pipeline (dev.azure.com). I've setup an initial pipeline and then building it up incrementally in small steps, because inexplicable errors are ...
1
vote
1answer
413 views

Azure DevOps Pipelines running on incorrect branches

I'm attempting to build different branches with different YAML configuration files in each branch. However, when I commit to a branch that should only trigger 1 pipeline it triggers both. Development ...
1
vote
1answer
48 views

Azure deploy pipeline with/without approval on separated enviroments

I have two separate environments under my repository: development (Approvals are not configured but the environment exists) production (Approvals rules are configured via dev.azure.com UI) The ...
2
votes
1answer
521 views

Is it possible to view all changes made on a Git feature branch in Azure Devops?

Azure DevOps offers the overview of changes made in a branch when a PR is created. However, sometimes I'd like to have access to that overview when viewing a branch without the need to create a PR (or ...
0
votes
1answer
31 views

CI/CD ARM Templates - Should the cloud infrastructure and resources be checked on each deployment?

Given a company adopts infrastructure as code deployment model using ARM templates. Is it a good practice to attempt to re-deploy the ARM templates alongside the application itself ? If yes what ...
1
vote
1answer
294 views

How to combine cloud-init with Azure ARM Template

I'm trying to set up a Ubuntu Server on Azure. None of the images do quite what I want, so I was planning on taking a vanilla Ubuntu image and using cloud-init to modify it. I'd like to be able to ...
4
votes
0answers
136 views

Azure DevOps - How Do I Change the Service Connection for a Build Pipeline

I have a build pipeline already configured using a .yml file. I transferred the repository over to a different organization on GitHub, added all of the necessary Azure Pipelines integrations and ...
0
votes
1answer
436 views

Azure DevOps Different Post Deployment script per environment

I have a visual studio database project being built and released through Azure DevOps. I need to execute a different post deployment for Dev vs. Prod. Is there a way to achieve this either through ...
3
votes
0answers
1k views

Error MSB4226: Microsoft.WebApplication.targets" was not found

I was wondering if someone has ran into this problem as I have tried everything to fix. I have a DevOps build pipeline in Azure running visual studio 2015 version (which matches my local machine) and ...
4
votes
1answer
619 views

How to buy more Azure DevOps pipelines build minutes?

As mentioned on the Azure DevOps official pricing page, the plan provides 1 Free Microsoft-hosted CD/CI parallel job with up to 1800 minutes per month and 1 Free Self-hosted CD/CI parallel job with ...
5
votes
1answer
2k views

How to properly setup a multi-environment release pipeline in Azure YAML pipelines?

We have just migrated from TFS 2018 to Azure DevOps Services and we're having a hard time trying to figure out the new Azure YAML pipelines. We want to be able to: Run a build/test pipeline when a ...
2
votes
2answers
2k views

Azure Devops Pipelines Triggers not working

I have a Repository in Azure Repos which has branches as master, build, feature. Build Branch and Feature branches have their own pipelines code in the azure-pipelines.yaml in the branch itself ...
0
votes
1answer
59 views

Add permissions to readers (DevOps Web Portal)

I have a public Azure DevOps project, and I want to allow everyone to add Work Items. However, adding the Readers group as a member of Contributors for the permissions doesn't change anything, and I ...
1
vote
1answer
350 views

Azure DevOps pipeline upload to FTP after create directory on remote server

I developed a .net core console application and I want to deliver it to a FTP server. I managed it in Azure Devops with FTP Upload task. All good here. But before upload content to FTP, I want to ...
3
votes
1answer
831 views

Using Azure Devops with Git Workflow

I have used Azure Pipeline for CI/CD on various small projects that I have worked and it has been a great experience. I am working now on a decent size project that has a web app, mobile(xamarin) app ...
1
vote
1answer
159 views

How to setup priorities between pipelines that might be triggered simultaneously on Azure DevOps pipelines

I am using Azure devOps to build and deploy my application, and within that application I have a project that is being used by other related applications (let's call it project N). Thus I decided to ...
2
votes
1answer
84 views

How to deploy Dev Azure SQL code to Prod Azure SQL using dacpac without knowing the target server credentials

Here is my scenario - I have access to source Azure SQL Database where i did few changes to schema (eg adding a table). Now I want to deploy this SQL code to prod Azure SQL Database using Azure ...
3
votes
1answer
52 views

How to push to other origins using Azure Pipelines?

Inspired by Necessity of mirroring git repos for small team considering switching to Azure: How does one use Azure Pipelines to push changes to a secondary/backup origin on push? Possible use cases: ...
3
votes
1answer
188 views

Necessity of mirroring git repos for small team considering switching to Azure

Question: Are there any benefits to mirroring our git repos outside of Azure devops for a small (~7) team of developers who all work in the same office? Background Information I'm a developer ...
2
votes
1answer
739 views

How do fail a Packer pipeline upon powershell provisioner pester test failure?

I'm building a packer pipeline and having an issue in getting the failure of a powershell provisioner step to fail the packer job itself. This is important as without failing the Packer job, the AMI ...
1
vote
1answer
598 views

How to make .DACPAC from Azure Sql Server using Azure DevOps release pipeline?

I'm using Terraform to create my environment and I'd like to deploy Azure Sql Server along with other things. I use terraform so I can easily destroy all deployed things and reduce costs when I'm not ...
2
votes
1answer
3k views

Azure Pipelines: Exclude folders using Azure App Service Deploy

I have an Azure DevOps Pipeline which includes an Azure App Service Deploy task (AzureRmWebAppDeployment) for deploying an ASP.NET Core 3.1 project: - task: AzureRmWebAppDeployment@4 inputs: ...
4
votes
2answers
1k views

Azure DevOps service connection: lifetime of service principal

I have a hard time understanding the lifetime of the service principal created in Azure AD when creating the service connection between Azure DevOps and Azure. I do it like this: I pick the Azure ...
1
vote
1answer
179 views

How to avoid OOMKilled with azcopy on k8s

When running azcopy copy with huge repos, or when running azcopy bench, the pods are killed with the error OOMKilled. (azcopy v10) The pod has to following resource limitations: limits: { cpu: 1, ...
4
votes
1answer
2k views

Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20th Feb & 21st Feb Summary Not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/...
0
votes
1answer
40 views

How to handle resource creation?

We're moving from a .NET monolithic application to a microservices architecture hosted on Azure. Until now, we only had one build definition on TFS and a release definition for each environment (...
-1
votes
2answers
79 views

DevOps approach to creating demo data?

Is there a good DevOps method to construct a workflow that creates demo data for a product? This situation is difficult when the app constantly changes. There are a few scenarios to consider. Either ...
0
votes
1answer
63 views

What is the DevOps Best Practices for Hybrid environments?

I want to learn best practices, and I hope you could help me with your expertise. In a large organization that uses cloud services and taking advantage of Infrastructure as Code (IaC). My two ...
0
votes
1answer
312 views

Applying manifests in Azure DevOps pipeline

Basically, I want the pipeline to apply some manifests before deploying images from ACR. No images need to be made. It would just be things like applying the issuer.yaml, ingress.yaml, and maybe a few ...
2
votes
1answer
411 views

Azure DevOps - how to create a 2nd Microsoft-hosted Agent Pool

I am using Azure DevOps. I have 5 Microsoft-hosted agents. And 10 pipelines. One pipeline in particular can get a bit grabby, so I want to restrict it to use just 2 agents. But I want my other 9 ...
0
votes
2answers
63 views

'find' command suddenly not working in windows hosted agents

In the YAML file defining our ADO build pipeline we have the following section - bash: | pip install pylint find preprocessing/ subtyping/ visualisations/ -name '*.py' | grep -v hmm | grep -v ...
1
vote
1answer
564 views

Set additional required approver for pull requests at subfolder lever in Azure Devops

I have a pull request policy on my repo which requires at least one member of the devs group reviews and approves any change before it is merged in to master. I'd like to be able to specify ...
3
votes
1answer
478 views

How to arrange builds for staging and production with Azure DevOps?

On Azure DevOps I need to build and deploy a ClickOnce application. Because this application needs to be signed (including config) I must create a build for staging and a build for production. I ...
1
vote
1answer
58 views

Calling a Terraform object in seperate folder

I need to reference my VNET Gateway residing in an infrastructure folder, in a VPN folder in order to connect a VPN utilising a Local Network Gateway, but these could be any object in Azure for the ...