7be0ae2e8a
Fix unittest
2017-12-15 17:17:18 +01:00
3200929bde
Added support for passing Python scripts to Blender in task definitions.
2017-12-15 16:47:50 +01:00
ea49ddc264
Implemented Manager-dictated state changes.
...
The Manager can now dictate that the Worker moves to an 'asleep' state.
2017-10-19 18:57:06 +02:00
3838f56b12
Don't push task status 'canceled' when we are no longer allowed to run it.
...
When the "may I run" system says "no", we shouldn't push a "canceled"
status to the Manager, as this could overwrite another valid status that's
there for some other reason.
2017-09-29 14:45:58 +02:00
1c16cf37c4
Include response text when Manager refuses task update.
...
This refusal can be because another worker is working on the task, but
can also be for other reasons (like the task no longer being runnable).
2017-09-29 14:45:58 +02:00
c07105e04e
Renamed flush_for_shutdown() to flush_and_report()
...
It'll be called in non-shutdown situations too.
2017-09-29 12:32:01 +02:00
9c8d6e01fb
Properly fixed futures not being waited for.
2017-09-06 17:14:49 +02:00
3cd5b0ff6e
Removed --factory-startup from the default Blender command
...
This can be passed to the Worker using the {blender} variable definition
instead.
2017-05-31 11:24:39 +02:00
337e77b64e
Sign on at Manager when starting Worker
...
This passes the current hostname and list of supported task types to the
manager.
2017-03-31 17:24:46 +02:00
95b4f13741
Replaced job_types → task_types
...
This allows a finer granularity of task selection for a given worker.
2017-03-31 16:04:18 +02:00
5ac585241b
Fixed unittest
2017-03-31 15:14:40 +02:00
b623143327
Explicitly clean up temporary directory after tests.
2017-03-16 15:32:54 +01:00
dce19396ef
Implemented commands copy_file and remove_tree
2017-03-16 15:32:54 +01:00
162653383a
Renamed test_runner_*.py to test_commands_*.py
2017-03-16 14:22:55 +01:00
f4ef19ae9b
Moved command implementations from runner.py to commands.py
2017-03-16 12:46:39 +01:00
f5505b9a35
Round timestamped paths to entire seconds.
...
Round away the milliseconds, as those aren't all that interesting.
Uniqueness is ensured by calling _unique_path().
2017-03-15 18:13:58 +01:00
f652582579
Added move_to_final command to move an intermediate render dir to the final dir
2017-03-15 18:06:32 +01:00
c058754768
Move-out-of-way command now uses nicer filenames
...
The colons in the timestamp are gone, and numerical suffixes (to ensure
new directories are unique) are prefixed with a ~.
2017-03-15 18:06:10 +01:00
515d5b7d2d
Fixed some test issues with CoroMock()
2017-03-15 17:53:47 +01:00
3d121eeef4
Removed CoroMock, when it fails it's really cryptic what's going on.
2017-03-15 17:25:08 +01:00
4d9819c92f
Removed Flamenco Server and Manager, and moved Worker to top level
...
This is a clone of the Flamenco repository from back in the days when
Server, Manager and Worker shared the same Git repository. This is the
commit where that ended, and they went their separate ways.
2017-03-03 16:13:09 +01:00