azure-pipelines-release-pipeline

Is there a way to do nested variables in VSTS Release Management

☆樱花仙子☆ 提交于 2019-12-01 20:32:24
I have a few variables created in Variable Groups with the following names: CodeNetworkShare.Dev CodeNetworkShare.Test CodeNetworkShare.Prod I imported this variable group in my Release Definition. Then I tried the following ways to use this in Release definition I created a local variable in the Release Definition as follows: Name = CodeNetworkShare1 Value = $(CodeNetworkShare.$(Release.EnvironmentName)) I tried to use it directly in the task using the following expression: $(CodeNetworkShare.$(Release.EnvironmentName)) Neither of the above approaches worked. Is there any other way I can get

Allow VSTS to update test database

百般思念 提交于 2019-12-01 14:21:27
In order to run my acceptance tests I need to define a known good state on the database running on SQL Azure. I have the tests running fine locally and have set up the connection string to update my instance of SQL on Azure PaaS. The tests will run after the database is deployed using VSTS. In order for the deploying process to run my accceptance tests I need the process running Visual studio team system tests to have access to the database. VSTS apparently runs in the East US Azure zone. Given there are potentially hundreds of ip addresses I would need to whitelist, is there a more secure way

Error while upgrading Azure Service Fabric through VSTS CI/CD

爱⌒轻易说出口 提交于 2019-12-01 11:01:34
I am using VSTS to setup CI/CD for service fabric build and deployment. First deploy goes through without error but second update deployment gives me below error. The content in ConfigPackage Name:Config and Version:1.0.0.20180312.1 in Service Manifest 'SampleWebPkg' has changed, but the version number is the same. I followed the below instruction https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts This happens because you have updated the service binaries and didn't update the manifests, the manifest points to the same version as before but

Populate data in to VSTS release summary tab

家住魔仙堡 提交于 2019-12-01 09:53:23
问题 I am trying to create a release without mapping a existing build in TFS/VSTS and get data display in release summary once it is completed. in plain text steps are following Release -> Empty Release Definition -> Add build task - > Create Release -> Deploy -> View Data in Summary Section Summary data are view-able as expected without any issues with following two scenarios Build - > Create build definition -> Add task - > Save and Queue build – Build Success - > View Summary Data Release ->

Error while upgrading Azure Service Fabric through VSTS CI/CD

佐手、 提交于 2019-12-01 08:08:05
问题 I am using VSTS to setup CI/CD for service fabric build and deployment. First deploy goes through without error but second update deployment gives me below error. The content in ConfigPackage Name:Config and Version:1.0.0.20180312.1 in Service Manifest 'SampleWebPkg' has changed, but the version number is the same. I followed the below instruction https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts 回答1: This happens because you have updated

How to deploy a static website to Azure from Visual Studio Team Services

匆匆过客 提交于 2019-12-01 08:01:56
I have an existing website that I would like to deploy on Azure , using Visual Studio Team Services . The website is made up of static files, there's no ASP.NET or anything else involved. Within Visual Studio Team Services, I created a build which executes npm install and a gulp build. This results in a dist folder containing all the files for the website. In Azure, everything is set up correctly (subscription, web app,...). However, I'm unsure on how to push my code to Azure. Exploring the options in the Release tab in VSTS, an 'artifact' always seems to be required, but I just have a bunch

How do you import a release definition in Azure Devops (VSTS)?

故事扮演 提交于 2019-12-01 03:55:43
I'm trying to copy a release definition from one Azure Devops (VSTS) project to another. In the source project I'm able to export the release definition as a json file. But I'm not able to find a way to import this into the target project. I only get options to create new definitions. noor Go to Build and Releases and then Releases and there you will find an option. Click the + button and there is an option to import release definitions Let me know if you need further help. Since VSTS is Renamed/updated into Azure DevOps , there are some changes in the UI to find those option above. For

No packages found with specified pattern

橙三吉。 提交于 2019-11-30 19:30:31
I am using Deploy azure app service to slot build step in Team Services, I want to be able to build my solution with PackageAsSingleFile set to False. However when I try to release the package with path to the artifact created I get "No packages found with specified pattern". Do I need to create two artifacts, one as zip file and one as a package of files to be able to do what I want? I have tried different path to folders, but I get same error no matter. Refer to these steps: NuGet Installer task to restore package Visual Studio Build task (Solution: ***.sln; Visual Studio Version: Visual

How do I uninstall “Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1”?

放肆的年华 提交于 2019-11-29 20:32:20
I'm having trouble uninstalling Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1 . I'm in Windows 7, in the Programs and Features window. When I click uninstall , it brings up a dialog box, with the options repair , uninstall , and cancel . When I click uninstall , a "Open file" window pops up. I've googled a bit to see if there's a file I can download to sate this "Open file" window. I can't find one anywhere. Here are a few of the things I have looked at, but I can't make sense of which one may fit. https://www.microsoft.com/net/download The reason I'm trying to uninstall this is

Release Azure Data Factory project using VSTS Release

狂风中的少年 提交于 2019-11-29 15:47:47
I want to create an Azure Data Factory project in Visual Studio rather than create an Azure Data Factory directly in the Azure portal. The reason why is that I wish to have the project in source control since it is a team project and for the sake of having it backed up. I want to use Visual Studio Team Services to automate the Build and Release processes for the aforementioned Azure Data Factory project. The Build process is straightforward; it will be an MSBuild run on the solution. However, I am unsure how to go about the Release definition. Is there a task/set of tasks or a different method