azure-devops

ADF publish confusion in git mode

…衆ロ難τιáo~ 提交于 2021-02-05 08:05:56
问题 In git mode, when we want to test a pipeline, ADF forces us to publish first. Publish action does two things is my understanding Saves to the local ADF (DEV) as given here Creates arm templates in a branch (adf_publish/the branch we specify) But to get the 'Publish' button enabled, we need to be in collaboration branch. This means no two people can work at the same time on a DEV ADF. As both people will be asked to publish by ADF before they could test the pipeline they are building. If this

Azure Pipeline - Use variable set in template task as a parameter in another template task

…衆ロ難τιáo~ 提交于 2021-02-04 21:46:20
问题 I have two templates created -- one for getting and setting some configurations such as region names and one for deploying. I'm trying to use the variables set in the configuration template task as parameter inputs to the deploy template. Is there an actual way of doing this? My config template: steps: - task: AzureCLI@2 name: Config displayName: Get Config and Generate Variables inputs: azureSubscription: '$(Subscription)' scriptType: bash scriptLocation: inlineScript inlineScript: |

VSTS change agent state from offline to online after installing it

喜你入骨 提交于 2021-02-04 19:52:29
问题 i'm facing a problem with VSTS agent state is offline i installed the agent through cmd under the right pool and downloaded after that but it still offline any help please ? 回答1: If the build agent is running as interactive mode, you need to start agent by running run.cmd file: Open Command line as administrator Run run.cmd file (under agent folder) If the build agent is running as service, you can check whether the related service is running in Services. 来源: https://stackoverflow.com

VSTS change agent state from offline to online after installing it

我是研究僧i 提交于 2021-02-04 19:51:53
问题 i'm facing a problem with VSTS agent state is offline i installed the agent through cmd under the right pool and downloaded after that but it still offline any help please ? 回答1: If the build agent is running as interactive mode, you need to start agent by running run.cmd file: Open Command line as administrator Run run.cmd file (under agent folder) If the build agent is running as service, you can check whether the related service is running in Services. 来源: https://stackoverflow.com

push updates from azure to github

断了今生、忘了曾经 提交于 2021-02-02 08:38:38
问题 i am new to azure devops and facing problem to integrate between azure devops and github, may be you could help. my question is how can i push commits that are done on the azure devop repo to corresponding repo which resides on my github account? For example: 1)i import a file abc.py from github private repo 2)i make changes to abc.py in azure devops repo and commits it. 3)now all the commits i made to abc.py on master branch of azure repo should be pushed to abc.py of master branch in my

Git: periodically replicate a repo into another one not reachable from outside the company

别来无恙 提交于 2021-01-29 22:20:48
问题 we are working on a project in our company; the project is managed in Azure DevOps (the "online" version, with git). Let's call the project P1, in Azure DevOps for company C1. This company DevOps can be accessed from anywhere, provided you have the correct credentials. The project P1 is meant to be delivered to another company; let's call it C2. C2 also have an Azure DevOps company website, containing some repos. C2 wants to validate the development each day against its own Azure pipeline

Using Lerna.js and Azure Devops Pipeline

大兔子大兔子 提交于 2021-01-29 21:37:00
问题 I'm studying about azuredevops pipelines to a new project. I'm totally new about devops. In this project, I want to use lerna.js to manage my monorepo and my packages. Considering that I have those three projects inside my monorepo: Package 1 (1.0.1) Package 2 (1.0.0) Package 3 (1.0.3) And I want to create a new TAG, which will increase the Package 3 to (1.0.4). How can I trigger an Azure Pipeline just to Package 3? There is any guide? I watched one talk about monorepos with lerna.js and I'm

Handling multiple azure devops pipelines

a 夏天 提交于 2021-01-29 21:34:13
问题 I have several azure devops pipeline files in one project. The files are all in a subdirectory and called azure-pipelines.yml . Renaming : I can rename the pipelines in the UI to distinguish them... but I would like to skip that manual step and perform that in the yml. Is there a parameter for that - I cannot find it in the docs. Workdirs : the pipelines start in the main directory. I can adjust the working directory of the script steps with workingDirectory thanks to the answer here. But can

Giving a script Git access to a single Azure Repo

那年仲夏 提交于 2021-01-29 21:25:55
问题 I want to poll an Azure Repo for changes with Git. A personal access token from my account would give it too much permissions. Should I create a new user in Azure AD, add it to Azure Repo with read only and use it in the script? Or is there a better way than creating real users. 回答1: If you want to allow your git script to only access one specific Azure Repo. I'm afraid you will need to create a new user as a service account. After the service account is created and added to your azure devops

Azure DevOps: work item type rules triggered by Board Column

断了今生、忘了曾经 提交于 2021-01-29 21:10:28
问题 I would like to do changes to my work items automatically when working in Kanban board. For example, if I drag work item type to other column (changing Board Column field value) - I want to place a tag saying it's current Board Column value. This is currently not available in Rules settings for work item types. Where is the best place to put ADO Boards enhancement requests? 回答1: Your requirement can be achieved by alternative. Generally, when you drag work item type to other column, the state