Dynamic Yaml generation: Duplicate build entry when we enable flaky test and doc jobs

Description

We are getting a duplicate `build` entry when flaky tests and doc job are enabled.

 

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Morteza August 19, 2022 at 5:29 PM

Created https://github.com/OpenNMS/opennms/pull/5200

 

We ran into an intermittent issue where processing the job dependencies would create an invalid YAML file.

In this PR, we are changing the logic used to generate the YAML file. 

Before this PR, we calculate the dependencies as we where processing the job.

In the new approach, we will go through the list of dependencies for each job and figure out their requirements. Then we process them one by one.  

Morteza August 19, 2022 at 2:03 PM
Edited

This issue is intermittent. I was able to find the part of the code that is causing issue.

 

Fixed

Details

Assignee

Reporter

Story Points

Sprint

Fix versions

Priority

PagerDuty

Created August 19, 2022 at 12:57 PM
Updated August 22, 2022 at 4:44 PM
Resolved August 22, 2022 at 4:44 PM