estefaniasuasti opened a new issue, #6908:
URL: https://github.com/apache/incubator-devlake/issues/6908

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   I am facing an issue collecting the deployment frequency data. My pipeline 
reaching production has 3 stages: **_Dry-run, deploy, and health check._** The 
logic would be to grab as a deployment date the last time when the "Deploy" 
stage was run, however DevLake is taking the last time when the health-check 
stage was run. The issue is in order to check the health of our system we 
sometimes just run the health-check stage, months after the deployment was done.
   
   To be more precise we had a deployment _**"prod-deploy"**_ during December, 
however we run a health-check **_"prod-healthcheck"_** on January and now the 
monthly deployments shows that the deployment happened during January, which is 
not accurate.
   
   ![Screenshot 2024-01-30 at 1 08 44 PM 
(2)](https://github.com/apache/incubator-devlake/assets/39221859/60d50607-465b-4bfb-baa3-48b740424eea)
   
   The Scope config, that I am using is:
   
   (?i)(^(branchName)$) and
   (?i)(prod-deploy) 
   
    
   
   ### What do you expect to happen
   
   With this scope the idea was just to collect the data only if the 
"prod-deploy" job had been run.
   
   ### How to reproduce
   
   Having a pipeline with different stages and run a no deployment job later 
on. 
   
   <img width="1034" alt="image" 
src="https://github.com/apache/incubator-devlake/assets/39221859/72aaed28-da72-4ab0-8c72-682824f017a9";>
   
   
   
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.19.0-rc4@
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to