зеркало из https://github.com/mozilla/bugbug.git
Compress the failing together probabilities DB at the end of the generation so that it's uploaded as an artifact
This commit is contained in:
Родитель
9a5f2410a9
Коммит
0aae91d07c
|
@ -208,6 +208,9 @@ class Retriever(object):
|
|||
past_failures_db = os.path.join(
|
||||
"data", test_scheduling.PAST_FAILURES_LABEL_DB
|
||||
)
|
||||
failing_together_db = os.path.join(
|
||||
"data", test_scheduling.FAILING_TOGETHER_LABEL_DB
|
||||
)
|
||||
elif granularity == "group":
|
||||
test_scheduling_db = test_scheduling.TEST_GROUP_SCHEDULING_DB
|
||||
past_failures_db = os.path.join(
|
||||
|
@ -490,6 +493,10 @@ class Retriever(object):
|
|||
with open_tar_zst(touched_together_db) as tar:
|
||||
tar.add(touched_together_db[: -len(".tar.zst")])
|
||||
|
||||
if granularity == "label":
|
||||
with open_tar_zst(failing_together_db) as tar:
|
||||
tar.add(failing_together_db[: -len(".tar.zst")])
|
||||
|
||||
|
||||
def main():
|
||||
description = "Retrieve and extract the test scheduling history from ActiveData"
|
||||
|
|
Загрузка…
Ссылка в новой задаче