Azure DevOps - with ESLZ, first run 'AzOps - Push' pipeline - next first Pull then Push's EVERYTHING, times out (60 minutes) #667
-
I have encountered this a few times now - enough to wonder what is happening - Can anyone help explain and/or validate the below? The scenario is: I have an Enterprise Scale Landing Zone with management group structure, policy definitions and numerous policies assigned directly or via the ESLZ initiatives. I deploy AzOps-Accelerator in Azure DevOps - as per https://github.com/azure/azops/wiki/azure-pipelines I run the "Azure - Push" pipeline first - as per instruction "trigger the first push, which will in turn trigger the first pull to fetch the existing Azure environment" *** The resulting abovementioned "first pull" triggers ANOTHER Push, and this Push goes on forever, attempting to redeploy everything... ... until the Azure DevOps hosted agent reaches the run time limit of 60 minutes. The pipeline job errors out on the Deploy step. Is this expected behaviour? And if so why does the first Pull trigger a Push of everything? Appreciate any help. I am happy to try reproduce and log an issue if this is not expected. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mikewo-dc, This is currently the default behavior with ADO. With GitHub Actions it is not automatically triggered after the initial pull. If you want to change the default behavior in ADO, you can find a solution in the following thread. We are thinking about adding that specific condition to the ADO starter pipeline but haven't come to that yet. Hope this helps. /Johan |
Beta Was this translation helpful? Give feedback.
Hi @mikewo-dc,
This is currently the default behavior with ADO. With GitHub Actions it is not automatically triggered after the initial pull. If you want to change the default behavior in ADO, you can find a solution in the following thread.
#648 (reply in thread)
We are thinking about adding that specific condition to the ADO starter pipeline but haven't come to that yet.
Hope this helps.
/Johan