diff --git a/ciclic b/ciclic index e75b7c3..2779360 100644 --- a/ciclic +++ b/ciclic @@ -52,7 +52,7 @@ def request_api(path, domain, verb, data={}, check_return_code=True): return response -def add(name, url_or_path, test_type="stable", yunohost_version="unstable", debian_version="stretch", revision="master", domain=DOMAIN): +def add(name, url_or_path, domain=DOMAIN): request_api( path="job", verb="post", @@ -60,10 +60,6 @@ def add(name, url_or_path, test_type="stable", yunohost_version="unstable", debi data={ "name": name, "url_or_path": url_or_path, - "yunohost_version": yunohost_version, - "test_type": test_type, - "debian_version": debian_version, - "revision": revision, }, ) diff --git a/run.py b/run.py index 5e6c579..c9cf268 100644 --- a/run.py +++ b/run.py @@ -385,8 +385,8 @@ async def api_new_job(request): job = Job.create( name=request.json["name"], url_or_path=request.json["url_or_path"], - type=request.json.get("test_type", "stable"), - debian_version=request.json.get("debian_version", "stretch"), + type="stable", + debian_version="stretch", ) api_logger.info(f"Request to add new job '{job.name}' [{job.id}]")