mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] we don't need this for now
This commit is contained in:
parent
22a3c86a37
commit
1d2a1ed749
2 changed files with 0 additions and 4 deletions
|
@ -16,7 +16,6 @@ class Repo(peewee.Model):
|
||||||
class Job(peewee.Model):
|
class Job(peewee.Model):
|
||||||
name = peewee.CharField()
|
name = peewee.CharField()
|
||||||
url_or_path = peewee.CharField()
|
url_or_path = peewee.CharField()
|
||||||
target_revision = peewee.CharField()
|
|
||||||
yunohost_version = peewee.CharField()
|
yunohost_version = peewee.CharField()
|
||||||
|
|
||||||
state = peewee.CharField(choices=(
|
state = peewee.CharField(choices=(
|
||||||
|
|
3
run.py
3
run.py
|
@ -115,7 +115,6 @@ async def monitor_apps_lists():
|
||||||
job = Job.create(
|
job = Job.create(
|
||||||
name=f"{app_id} ({app_list_name})",
|
name=f"{app_id} ({app_list_name})",
|
||||||
url_or_path=repo.url,
|
url_or_path=repo.url,
|
||||||
target_revision=commit_sha,
|
|
||||||
yunohost_version="stretch-stable",
|
yunohost_version="stretch-stable",
|
||||||
state="scheduled",
|
state="scheduled",
|
||||||
)
|
)
|
||||||
|
@ -141,7 +140,6 @@ async def monitor_apps_lists():
|
||||||
job = Job.create(
|
job = Job.create(
|
||||||
name=f"{app_id} ({app_list_name})",
|
name=f"{app_id} ({app_list_name})",
|
||||||
url_or_path=repo.url,
|
url_or_path=repo.url,
|
||||||
target_revision=commit_sha,
|
|
||||||
yunohost_version="stretch-stable",
|
yunohost_version="stretch-stable",
|
||||||
state="scheduled",
|
state="scheduled",
|
||||||
)
|
)
|
||||||
|
@ -319,7 +317,6 @@ async def api_new_job(request):
|
||||||
job = Job.create(
|
job = Job.create(
|
||||||
name=request.json["name"],
|
name=request.json["name"],
|
||||||
url_or_path=request.json["url_or_path"],
|
url_or_path=request.json["url_or_path"],
|
||||||
target_revision=request.json["revision"],
|
|
||||||
type=request.json.get("test_type", "stable"),
|
type=request.json.get("test_type", "stable"),
|
||||||
yunohost_version=request.json.get("yunohost_version", "unstable"),
|
yunohost_version=request.json.get("yunohost_version", "unstable"),
|
||||||
debian_version=request.json.get("debian_version", "stretch"),
|
debian_version=request.json.get("debian_version", "stretch"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue