azure-devops

How to sync Azure Devops Repo with Gitlab

久未见 提交于 2021-01-29 09:56:07
问题 We are using Azure Devops repo for some of our development needs. We are also using gitlab as our main source control. I want to keep my gitlab repo in sync with Azure repo. That is whenever some change is committed in Azure Repo, it should automatically flow to Gitlab. We are using GitLab CE, hence mirroring Pull option is not available 回答1: I think you can try to use Command Line Script task in build pipeline, and then push the update to gitlab via the git command as follow shown. git clone

Adding a Key Vault Access Policy to an Existing Key Vault via ARM

℡╲_俬逩灬. 提交于 2021-01-29 08:58:18
问题 I am trying to do an ARM deployment in Azure Devops whereby I add a key vault access policy to an existing key vault in Azure. I want to use the following ARM template which adds an access policy to an existing Key Vault: https://github.com/Azure/azure-quickstart-templates/tree/master/101-keyvault-add-access-policy I have a separate template that deploys an App service and creates a system assigned managed identity. What is the best way to link the two templates? how do i reference the System

Docker Container fails to start in an Azure App Service

不问归期 提交于 2021-01-29 08:29:21
问题 I've released a bunch of Docker apps on Azure App Services in the past, but for some reason, after creating a new build and release pipeline in Azure DevOps, my Docker containers won't run in an Azure App Service. These particular containers are on the Linux flavor. Switching between various Docker images, any built with the old pipeline work, but ones built with the new pipeline do not. When I copy-paste the exact command from the App Service's log file into my local command line, it works

VSO copy to task is failing for unknown reason

百般思念 提交于 2021-01-29 08:21:05
问题 I have a visual studio team services build setup. I have 2 steps so far. Visual Studio Build - this works beautifully Copy files - this works depending on where I set the target path too. Now I need the outputted files to be deployed to our application. There are multiple tasks to use: copy files, copy and publish build artifacts, publish build artifacts, etc. I decided on copy files because it seemed the most straight forward, and after all, I just need to copy files. :) My issue is that if

Can we configure CI for iOS apps with extensions with AzureDevOps

妖精的绣舞 提交于 2021-01-29 08:08:28
问题 We are in process of creating CI builds for iOS apps using Azure DevOps. I am following this link, to create build definitions. Could anyone guide me on how to build iOS apps with extensions in Azure DevOps During our research, we did come across Visual Studio app center as an option, are there any other tools or add-ons to achieve the same. 回答1: Building iOS apps with an extension is not supported by default iOS build task provided by Azure DevOps. The workaround is to create a shell script

Interactive password support for Ansible clone of Azure Repository

前提是你 提交于 2021-01-29 08:07:52
问题 What specific syntax needs to be used to get Ansible to clone a git repository from Azure Repositories? The repository URL is https://OrganizationName@dev.azure.com/OrganizationName/ProjectName/_git/RepositoryName and we are able to clone it manually in an interactive shell by providing a requested password which we possess as follows: $ git clone https://OrganizationName@dev.azure.com/OrganizationName/ProjectName/_git/RepositoryName Password for 'https://OrganizationName@dev.azure.com':

Interactive password support for Ansible clone of Azure Repository

房东的猫 提交于 2021-01-29 07:58:54
问题 What specific syntax needs to be used to get Ansible to clone a git repository from Azure Repositories? The repository URL is https://OrganizationName@dev.azure.com/OrganizationName/ProjectName/_git/RepositoryName and we are able to clone it manually in an interactive shell by providing a requested password which we possess as follows: $ git clone https://OrganizationName@dev.azure.com/OrganizationName/ProjectName/_git/RepositoryName Password for 'https://OrganizationName@dev.azure.com':

Send specific files from Azure DevOps pipeline to Github

前提是你 提交于 2021-01-29 07:44:35
问题 I am looking for a good solution to send a specific file (or a range of files) to a private GitHub repo from Azure DevOps pipeline. You might ask why I would like to copy a file from one git to another git. But we are using Swagger to document our API, and to show Swagger UI on Confluence it can read the swagger.json from a private repo on GitHub. As far as I know Confluence cannot read the json directly from Azure DevOps. I've tried to use the extension GitHub Release in Azure DevOps, but I

How to publish specific files using Publish Build Artifact Task

ぃ、小莉子 提交于 2021-01-29 07:23:36
问题 I am Building C# Application using Visual Studio Build In Azure Pipeline. My solution Contains multiple project (ManagerWeb & WebAPI). I want to Publish Two Separate Artifact ManagerWeb & WebAPI respectively. All the required File's are present in Build.ArtifactStagingDirectory . How I can specify a pattern using which I can get Two Separate Artifact ? Example All the File name with WebAPI in 1st Artifact & ManagerWeb in another. The File name from ArtifactStaging Directory are as Below

Quality gate widget issue in Azure DevOps

半腔热情 提交于 2021-01-29 06:49:37
问题 I have configured a quality gate widget with project key and api link in Azure dashboards. But this doesn't work and my quality widget shows a red cross mark. Could someone help what could be the issue? 回答1: We can reproduce this issue. According to the error message, we recommend that you raise a new issue here. In addition, it seems that this is a known issue on extension Quality Gate Widget , you could follow this ticket for the latest news. Update1 It seems that we cannot get sonar report