Browsed by
Category: Azure DevOps

Azure DevOps agent pool and pipeline issues

Azure DevOps agent pool and pipeline issues

From time to time I observe random errors on automated pipeline run. In mosts cases is the issue caused by not specifying which agent pool or which requirements pipeline has. Error

Solution Add to pipeline

Terraform or Terragrunt modules from another repository in Azure DevOps

Terraform or Terragrunt modules from another repository in Azure DevOps

Azure DevOps (AZDO) is pretty tool, but sometimes it can be a huge pain in the ass. One painful topic is git operations. I use Terraform and Terragrunt very often to manage multiple environments so using modules is a must. To achieve stability, I am maintaining modules in separate repository with git tags. Loading external modules is same for Terraform and for Terragrunt, it uses same syntax and same commands under the hood. I am executing Terraform/Terragrunt within CICD pipelines,…

Read More Read More

Git push failed inside pipeline [Azure DevOps]

Git push failed inside pipeline [Azure DevOps]

Last day I was struggling with the git error inside the pipeline. The pipeline code was simple, it should change branch into the existing one, add one file there and push it into git

However, this error occurred every time

I tried many multiple things, changing git switch to git branch, tried to use git rebase – no success! But then I tried to modify pull to pure git pull – and it worked!!! Working code: