Add koschei hotfix for datetime error

This commit is contained in:
Michael Simacek 2015-09-03 15:44:45 +00:00
parent 962b8504e1
commit 25f812ae00

View file

@ -168,3 +168,17 @@
- restart koschei-resolver
- restart koschei-scheduler
- 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