d4x1 commented on issue #7005:
URL: 
https://github.com/apache/incubator-devlake/issues/7005#issuecomment-1991150912

   > Hi @d4x1 ,
   > 
   > I think the missing part is to validate when the Environment is 
"Production" the Result should be "Success" in the cicd_tasks table for that 
specific job. In our case, the job that deploys to production is 
"fra-prod-deploy," and even if the other jobs fail, this is the indicator to 
say if it reached production or not. I think this is the only way to be 100% 
sure if the deployment happened in production despite the pipeline status.
   
   @estefaniasuasti  But a task can be `PRODUCTION` even if it's status is 
`FAILED`.  It means there is a failed production task.
   
   I think the root cause is this pipeline cannot be marked as `SUCCESS`(both 
status and result).  The API response is so weird!


-- 
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