Skip to content

Commit

Permalink
CI: Remove job name filter from stats script (#3923)
Browse files Browse the repository at this point in the history
  • Loading branch information
oitel authored Dec 26, 2024
1 parent 4460e7a commit 6c9bfcd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/devops/collect_ci_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@

import requests

KNOWN_JOBS = [
'emscripten-build-test / emscripten-build',
'fedora-build-test / fedora-build-test',
'macos-build-test / macos-build-test',
'windows-build-test / windows-build-test',
'ubuntu-arm64-build-test / ubuntu-arm-build-test',
'ubuntu-x64-build-test / ubuntu-x64-build-test',
]

def parse_iso8601(s):
return datetime.datetime.strptime(s, '%Y-%m-%dT%H:%M:%S%z')

Expand All @@ -32,10 +23,6 @@ def parse_step(step: dict):
}

def parse_job(job: dict):
job_name = job['name']
if not any(job_name.startswith(job_prefix) for job_prefix in KNOWN_JOBS):
return None

job_id = job['id']
stats_filename = Path(f"RunnerSysStats-{job_id}.json")
if not stats_filename.exists():
Expand Down

0 comments on commit 6c9bfcd

Please sign in to comment.