diff --git a/eessi_bot_job_manager.py b/eessi_bot_job_manager.py index ed02d2c1..81d4f3f7 100644 --- a/eessi_bot_job_manager.py +++ b/eessi_bot_job_manager.py @@ -49,28 +49,17 @@ AWAITS_LAUNCH = "awaits_launch" -FAILURE = "failure" FINISHED_JOB_COMMENTS = "finished_job_comments" JOB_RESULT_COMMENT_DESCRIPTION = "comment_description" JOB_RESULT_UNKNOWN_FMT = "job_result_unknown_fmt" JOB_TEST_COMMENT_DESCRIPTION = "comment_description" JOB_TEST_UNKNOWN_FMT = "job_test_unknown_fmt" -MISSING_MODULES = "missing_modules" -MULTIPLE_TARBALLS = "multiple_tarballs" NEW_JOB_COMMENTS = "new_job_comments" -NO_MATCHING_TARBALL = "no_matching_tarball" -NO_SLURM_OUT = "no_slurm_out" -NO_TARBALL_MESSAGE = "no_tarball_message" RUNNING_JOB = "running_job" RUNNING_JOB_COMMENTS = "running_job_comments" -SLURM_OUT = "slurm_out" -SUCCESS = "success" REQUIRED_CONFIG = { - FINISHED_JOB_COMMENTS: [FAILURE, JOB_RESULT_UNKNOWN_FMT, MISSING_MODULES, - MULTIPLE_TARBALLS, NO_MATCHING_TARBALL, - NO_SLURM_OUT, NO_TARBALL_MESSAGE, SLURM_OUT, - SUCCESS], + FINISHED_JOB_COMMENTS: [JOB_RESULT_UNKNOWN_FMT, JOB_TEST_UNKNOWN_FMT], NEW_JOB_COMMENTS: [AWAITS_LAUNCH], RUNNING_JOB_COMMENTS: [RUNNING_JOB] }