diff --git a/models.py b/models.py index cfc2c25..fe4ab28 100644 --- a/models.py +++ b/models.py @@ -16,7 +16,6 @@ class Repo(peewee.Model): class Job(peewee.Model): name = peewee.CharField() url_or_path = peewee.CharField() - target_revision = peewee.CharField() yunohost_version = peewee.CharField() state = peewee.CharField(choices=( diff --git a/run.py b/run.py index dad2500..cdac1b9 100644 --- a/run.py +++ b/run.py @@ -115,7 +115,6 @@ async def monitor_apps_lists(): job = Job.create( name=f"{app_id} ({app_list_name})", url_or_path=repo.url, - target_revision=commit_sha, yunohost_version="stretch-stable", state="scheduled", ) @@ -141,7 +140,6 @@ async def monitor_apps_lists(): job = Job.create( name=f"{app_id} ({app_list_name})", url_or_path=repo.url, - target_revision=commit_sha, yunohost_version="stretch-stable", state="scheduled", ) @@ -319,7 +317,6 @@ async def api_new_job(request): job = Job.create( name=request.json["name"], url_or_path=request.json["url_or_path"], - target_revision=request.json["revision"], type=request.json.get("test_type", "stable"), yunohost_version=request.json.get("yunohost_version", "unstable"), debian_version=request.json.get("debian_version", "stretch"),