mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] check if path to analyseCI is good
This commit is contained in:
parent
7d1f02750c
commit
69a34edd58
1 changed files with 4 additions and 0 deletions
4
run.py
4
run.py
|
@ -552,6 +552,10 @@ async def index(request):
|
|||
|
||||
@argh.arg('-t', '--type', choices=['stable', 'arm', 'testing-unstable', 'dev'], default="stable")
|
||||
def main(path_to_analyseCI, ssl=False, keyfile_path="/etc/yunohost/certs/ci-apps.yunohost.org/key.pem", certfile_path="/etc/yunohost/certs/ci-apps.yunohost.org/crt.pem", type="stable", dont_minotor_apps_list=False):
|
||||
if not os.path.exists(path_to_analyseCI):
|
||||
print(f"Error: analyseCI script doesn't exist at '{path_to_analyseCI}'")
|
||||
sys.exit(1)
|
||||
|
||||
reset_pending_jobs()
|
||||
reset_busy_workers()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue