Skip to content

Commit

Permalink
block OSD issue creation when more than 1 component fail (#118)
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Singh <[email protected]>
  • Loading branch information
rishabh6788 authored Feb 1, 2023
1 parent ea7a7cc commit 02df1d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vars/createGithubIssue.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ def call(Map args = [:]){
println(matched.split(" ")[0].trim())
failedComponents.add(matched.split(" ")[0].trim())
}
/* Due to an existing issue with queryWorkbench plugin breaking OSD during bootstrapping, there are false positive
issues getting created against OSD repo. Adding a temp check to ignore issue creation against OSD repo in-case
there are more than 1 failures reported for OSD build.
*/
if (failedComponents.contains("OpenSearch-Dashboards") && failedComponents.size() > 1) {
failedComponents.removeElement("OpenSearch-Dashboards")
}

def yamlFile = readYaml(file: "manifests/${INPUT_MANIFEST}")
def currentVersion = yamlFile.build.version
Expand Down

0 comments on commit 02df1d4

Please sign in to comment.