mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] neither
This commit is contained in:
parent
1d2a1ed749
commit
c49e9322c4
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()
|
||||||
yunohost_version = peewee.CharField()
|
|
||||||
|
|
||||||
state = peewee.CharField(choices=(
|
state = peewee.CharField(choices=(
|
||||||
('scheduled', 'Scheduled'),
|
('scheduled', 'Scheduled'),
|
||||||
|
|
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,
|
||||||
yunohost_version="stretch-stable",
|
|
||||||
state="scheduled",
|
state="scheduled",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -140,7 +139,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,
|
||||||
yunohost_version="stretch-stable",
|
|
||||||
state="scheduled",
|
state="scheduled",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -318,7 +316,6 @@ async def api_new_job(request):
|
||||||
name=request.json["name"],
|
name=request.json["name"],
|
||||||
url_or_path=request.json["url_or_path"],
|
url_or_path=request.json["url_or_path"],
|
||||||
type=request.json.get("test_type", "stable"),
|
type=request.json.get("test_type", "stable"),
|
||||||
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