KollarM commented on issue #7211:
URL: 
https://github.com/apache/incubator-devlake/issues/7211#issuecomment-2048956832

   I think I know where the problem was. Originally I looked on our pipeline 
just from a Stages perspective.
   
![image](https://github.com/apache/incubator-devlake/assets/13602658/65414aab-b11b-472d-b7d5-1e7222c0cf02)
 and I expected that this is not a DevLake Production Deployment because 
"Deploy to prod" Stage is skipped.
   
   But when I expand the Stages, there are Jobs, one Job in "Build" Stage has 
name "Build bicep prod" and therefore whole pipeline is considered as 
environment Production.
   
![image](https://github.com/apache/incubator-devlake/assets/13602658/5bc51098-73a4-4aa3-bf41-d9e1795da4c9)
   
   
   A change that helped is to rename our Jobs as in the picture below and adapt 
regex determining Production Deployment to be "(?i)(deploy.*prod)"
   
![image](https://github.com/apache/incubator-devlake/assets/13602658/d913edd5-db56-43ed-bd8a-e7b86e534e4c)
   
![image](https://github.com/apache/incubator-devlake/assets/13602658/b08f86ae-36cd-47f8-a781-4f065d8a799b)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to