mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
typo montly
This commit is contained in:
parent
d707e756c4
commit
aa9bfab49f
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ If you don't want to CI to monitor the app list you can ask it using the `-d` op
|
|||
|
||||
You can also disable git monitoring and the monthly jobs:
|
||||
|
||||
ve3/bin/python ./run.py /path/to/analyseCI.sh --dont-monitor-git --no-montly-jobs
|
||||
ve3/bin/python ./run.py /path/to/analyseCI.sh --dont-monitor-git --no-monthly-jobs
|
||||
|
||||
You can also specify the CI type this way:
|
||||
|
||||
|
|
4
run.py
4
run.py
|
@ -155,7 +155,7 @@ def merge_jobs_on_startup():
|
|||
def set_random_day_for_monthy_job():
|
||||
for repo in Repo.select().where((Repo.random_job_day == None)):
|
||||
repo.random_job_day = random.randint(1, 28)
|
||||
task_logger.info(f"set random day for montly job of repo '{repo.name}' at '{repo.random_job_day}'")
|
||||
task_logger.info(f"set random day for monthly job of repo '{repo.name}' at '{repo.random_job_day}'")
|
||||
repo.save()
|
||||
|
||||
|
||||
|
@ -361,7 +361,7 @@ async def launch_monthly_job(type):
|
|||
today = date.today().day
|
||||
|
||||
for repo in Repo.select().where(Repo.random_job_day == today):
|
||||
task_logger.info(f"Launch montly job for {repo.name} on day {today} of the month ")
|
||||
task_logger.info(f"Launch monthly job for {repo.name} on day {today} of the month ")
|
||||
await create_job(repo.name, repo.app_list, repo, job_command_last_part)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue