Skip to content

Commit

Permalink
Merge pull request #26 from miquelsi/main-operator
Browse files Browse the repository at this point in the history
Added Operator failed runs
  • Loading branch information
stianst authored Nov 8, 2024
2 parents 3a6d39b + 2ed9b33 commit 12e3871
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion failed-jobs-reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ issues:
- "11596256479/*"
- "11593098729/*"
- "11571435603/*"
- "11514053983/*"
- id: "node-download-linux"
description: "Could not download https://nodejs.org/dist/v18.18.2/node-v18.18.2-linux-x64.tar.gz:\
\ Premature end of Content"
Expand Down Expand Up @@ -777,4 +778,10 @@ issues:
description: "Admin UI E2E (3, chrome) - realm_settings_general_tab_test"
issue: 34751
resolves:
- "11702668022/*"
- "11702668022/*"
- id: "initial-operator-cleanup"
description: "Initial cleanup of Operator test failures"
resolution: "ignored"
resolves:
- "11598174547/*"
- "11336943865/*"
1 change: 1 addition & 0 deletions src/main/java/org/keycloak/dashboard/FailedJobsLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void load() throws IOException, InterruptedException {
List<GHWorkflowRuns> l = new LinkedList<>();
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/ci.yml/runs", "--paginate", "-f", "status=failure", "-f", "branch=main", "-f", "created=" + from + ".." + to));
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/js-ci.yml/runs", "--paginate", "-f", "status=failure", "-f", "branch=main", "-f", "created=" + from + ".." + to));
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/operator-ci.yml/runs", "--paginate", "-f", "status=failure", "-f", "branch=main", "-f", "created=" + from + ".." + to));

GHWorkflowRuns runs = GHWorkflowRuns.combine(l);

Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/keycloak/dashboard/RetriedPrsLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void load() throws IOException, InterruptedException {
List<GHWorkflowRuns> l = new LinkedList<>();
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/ci.yml/runs", "--paginate", "-f", "status=success", "-f", "event=pull_request", "-f", "created=" + from + ".." + to, "-f", "per_page=10"));
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/js-ci.yml/runs", "--paginate", "-f", "status=success", "-f", "event=pull_request", "-f", "created=" + from + ".." + to, "-f", "per_page=10"));
l.addAll(ghCli.apiGet(GHWorkflowRuns.class, "actions/workflows/operator-ci.yml/runs", "--paginate", "-f", "status=success", "-f", "event=pull_request", "-f", "created=" + from + ".." + to, "-f", "per_page=10"));

GHWorkflowRuns runs = GHWorkflowRuns.combine(l);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class LogFailedParser {
IGNORED_JOBS.add("Set check conclusion");
IGNORED_JOBS.add("Status Check - Keycloak CI");
IGNORED_JOBS.add("Status Check - Keycloak JavaScript CI");
IGNORED_JOBS.add("Status Check - Keycloak Operator CI");
};

private List<FailedRun> failedRuns = new LinkedList<>();
Expand Down

0 comments on commit 12e3871

Please sign in to comment.