From c4b9fcf55440d85ac5ce596e1dc1ede7c428a32b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 29 Dec 2020 17:37:15 +0100 Subject: [PATCH] Repo app name / state from views --- run.py | 2 +- templates/apps.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 33701d5..db7731a 100644 --- a/run.py +++ b/run.py @@ -161,7 +161,7 @@ def set_random_day_for_monthy_job(): async def create_job(app_id, app_list_name, repo, job_command_last_part): if isinstance(job_command_last_part, str): - job_name = f"{app_id} ({app_list_name})" + job_command_last_part + job_name = f"{app_id} " + job_command_last_part # avoid scheduling twice if Job.select().where(Job.name == job_name, Job.state == "scheduled").count() > 0: diff --git a/templates/apps.html b/templates/apps.html index 24f7bf6..cc45324 100644 --- a/templates/apps.html +++ b/templates/apps.html @@ -18,7 +18,7 @@