Add koschei hotfix for datetime error
This commit is contained in:
parent
962b8504e1
commit
25f812ae00
1 changed files with 14 additions and 0 deletions
|
@ -168,3 +168,17 @@
|
||||||
- restart koschei-resolver
|
- restart koschei-resolver
|
||||||
- restart koschei-scheduler
|
- restart koschei-scheduler
|
||||||
- restart koschei-watcher
|
- restart koschei-watcher
|
||||||
|
|
||||||
|
- name: HOTFIX datetime error on unfinished tasks with finished parent
|
||||||
|
lineinfile: dest="/usr/lib/python2.7/site-packages/koschei/backend.py"
|
||||||
|
regexp="finished=datetime.fromtimestamp(task['completion_ts']),"
|
||||||
|
line="finished=datetime.fromtimestamp(task['completion_ts']) if task['completion_ts'] else None,"
|
||||||
|
when: env == "production"
|
||||||
|
tags:
|
||||||
|
- koschei
|
||||||
|
- hotfix
|
||||||
|
notify:
|
||||||
|
- restart koschei-polling
|
||||||
|
- restart koschei-resolver
|
||||||
|
- restart koschei-watcher
|
||||||
|
- restart koschei-scheduler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue