Commit Graph

  • 19b86172b4 Ignore blend file backups Sybren A. Stüvel 2022-02-22 16:02:30 +01:00
  • a650aa4cbd Worker: Blender command, don't put current time in log lines Sybren A. Stüvel 2022-02-22 15:36:20 +01:00
  • adf7113b34 Worker: log chunker, also flush log after certain time Sybren A. Stüvel 2022-02-22 15:34:37 +01:00
  • 45a95ca4c2 Worker: use time service to log current time Sybren A. Stüvel 2022-02-22 15:33:30 +01:00
  • 66186e460e Worker: upload logs in chunks to Manager Sybren A. Stüvel 2022-02-22 15:17:35 +01:00
  • 9a5047a94d Worker: move command_exe.go interface definitions Sybren A. Stüvel 2022-02-22 14:42:57 +01:00
  • 2a4db143e6 Update FEATURES.md Sybren A. Stüvel 2022-02-22 14:39:53 +01:00
  • 441289dbed Debug job: render to writable target Sybren A. Stüvel 2022-02-22 13:56:22 +01:00
  • 0525bd726c Worker: actually execute blender and log its output Sybren A. Stüvel 2022-02-22 13:55:28 +01:00
  • 7d67a1dc7a Manager: default paths for executables are now relative Sybren A. Stüvel 2022-02-22 13:54:21 +01:00
  • 32c7a1fd84 Worker: Blender command, parse CLI arguments from 'exe' parameter Sybren A. Stüvel 2022-02-22 12:52:16 +01:00
  • db4505e5fd Cleanup: move Blender command param parsing to its own function Sybren A. Stüvel 2022-02-22 12:38:25 +01:00
  • 20965691d0 Add test for Blender command and better command parameter parsing Sybren A. Stüvel 2022-02-22 12:36:21 +01:00
  • e9a94eecae Worker: add CLI runner interface and move test/mock code around a bit Sybren A. Stüvel 2022-02-22 12:35:29 +01:00
  • 80df8fa6e4 DB Initialisation: try named parameters Sybren A. Stüvel 2022-02-22 12:06:54 +01:00
  • 77f1e02c75 Worker: add CommandLineRunner interface for executing CLIs Sybren A. Stüvel 2022-02-22 11:48:29 +01:00
  • 6b5b3eacdd Fix some warnings Sybren A. Stüvel 2022-02-22 10:36:17 +01:00
  • ad6cbcbae2 Remove SSDP GUID from settings Sybren A. Stüvel 2022-02-22 10:33:28 +01:00
  • f0215e20b8 Cleanup: move license block Sybren A. Stüvel 2022-02-21 20:11:52 +01:00
  • b3b132fd44 Fix task update unit test Sybren A. Stüvel 2022-02-21 20:11:19 +01:00
  • 7111e2613e Remove CLI args from default {blender} variable Sybren A. Stüvel 2022-02-21 20:07:50 +01:00
  • ba4b8274c9 Manager: Store default config in its own file Sybren A. Stüvel 2022-02-21 20:06:44 +01:00
  • 0d2ef98edc Debugging: add simple render job script Sybren A. Stüvel 2022-02-21 19:58:29 +01:00
  • d198e228b7 Manager: perform variable replacement on scheduled tasks Sybren A. Stüvel 2022-02-21 19:58:13 +01:00
  • 8cc9956bb0 Partial design doc for configuration handling Sybren A. Stüvel 2022-02-21 19:47:52 +01:00
  • 6043609f90 Little debug script for creating simple test job Sybren A. Stüvel 2022-02-21 19:47:44 +01:00
  • 90a2140b8c Manager: store task logs to disk Sybren A. Stüvel 2022-02-21 19:47:07 +01:00
  • 5b0e11acdc Cleanup: some smaller renames & small function return type change Sybren A. Stüvel 2022-02-21 19:32:12 +01:00
  • 2e0f44b947 Manager: add missing job type name in job types list Sybren A. Stüvel 2022-02-21 19:31:37 +01:00
  • b986fa49d8 Worker: clean up some logging Sybren A. Stüvel 2022-02-21 19:07:20 +01:00
  • b1b73de4ee Manager: Actually load config, and use in a few places Sybren A. Stüvel 2022-02-21 19:02:07 +01:00
  • 30fd4e52b0 Log GOOS and GOARCH on startup Sybren A. Stüvel 2022-02-21 19:01:43 +01:00
  • ae5846b3d9 Manager config: remove 'mode' and change 'variable audience' to custom type Sybren A. Stüvel 2022-02-21 18:50:24 +01:00
  • 12481a47e7 Start of configuration/settings framework, including variable replacement Sybren A. Stüvel 2022-02-21 18:09:02 +01:00
  • 66ae9b3a64 Job persistence test: create authored job with explicit status Sybren A. Stüvel 2022-02-21 18:04:52 +01:00
  • e5e466931b Worker: better way to get array command parameters Sybren A. Stüvel 2022-02-21 18:04:17 +01:00
  • ef2bbd2845 Unified Command field names Sybren A. Stüvel 2022-02-21 18:03:51 +01:00
  • 6a7545f334 Check author.Task() parameters Sybren A. Stüvel 2022-02-21 15:49:23 +01:00
  • e03e111603 Cleanup: move license declaration comment Sybren A. Stüvel 2022-02-21 15:42:15 +01:00
  • 1756369b70 Cleanup: add comments Sybren A. Stüvel 2022-02-21 15:41:00 +01:00
  • 6bd1a86337 Start of DB initialisation functions Sybren A. Stüvel 2022-02-21 15:25:56 +01:00
  • df5e990693 Update install instructions for Windows Sybren A. Stüvel 2022-02-21 15:24:39 +01:00
  • d50efa87ed Don't run go generate with make test Sybren A. Stüvel 2022-02-19 14:39:43 +01:00
  • bb53cc1e4a Task log storage service Sybren A. Stüvel 2022-02-18 17:54:43 +01:00
  • 77c5650665 Cleanup: move imports to the right place Sybren A. Stüvel 2022-02-18 17:25:20 +01:00
  • 5b4625b5f9 Rename logging.go to zerolog.go Sybren A. Stüvel 2022-02-18 11:58:18 +01:00
  • 9eaae2451b Rename command_exe_test.go to command_misc_test.go Sybren A. Stüvel 2022-02-18 11:45:37 +01:00
  • 00571ad480 Worker: allow float64 for sleep duration Sybren A. Stüvel 2022-02-18 11:45:24 +01:00
  • f6437be844 Worker: implement fail/completed/log task updates Sybren A. Stüvel 2022-02-18 11:41:46 +01:00
  • 8424e690ee Bump Go version to 1.18 for generics support Sybren A. Stüvel 2022-02-18 11:41:31 +01:00
  • 399c8af750 Correctly handle workers assigned to tasks + simple task updates Sybren A. Stüvel 2022-02-17 17:30:52 +01:00
  • 31e39e2137 Cleanup: remove fmt.Sprintf from sendAPIError calls Sybren A. Stüvel 2022-02-17 17:30:27 +01:00
  • 3057a009e7 Worker: better handling of task update errors Sybren A. Stüvel 2022-02-17 14:02:45 +01:00
  • 0ab8151a92 Move code out of main.go and add better check for OpenAPI paths Sybren A. Stüvel 2022-02-17 13:58:04 +01:00
  • ff73f325c8 Worker: clearer errors when listener call fails Sybren A. Stüvel 2022-02-17 13:57:42 +01:00
  • fef0a3cb17 Worker: Remove 3rd party code for adding Basic HTTP auth header Sybren A. Stüvel 2022-02-17 13:57:21 +01:00
  • 66c052d9fd Move worker config, sign-on, and registration code into worker package Sybren A. Stüvel 2022-02-17 11:22:45 +01:00
  • 71edb139dd Start working on blender-render command Sybren A. Stüvel 2022-02-17 11:12:02 +01:00
  • f1ad0a66a8 Makefile: separate build rule for each app Sybren A. Stüvel 2022-02-17 11:11:42 +01:00
  • 3723e89f23 Extract commands into a file based on their "command type" Sybren A. Stüvel 2022-02-17 10:54:34 +01:00
  • ecd658d50d Cleanup: shorten filename from ..._executor.go to ..._exe.go Sybren A. Stüvel 2022-02-17 10:52:47 +01:00
  • e539d04320 Cleanup: remove unused code Sybren A. Stüvel 2022-02-17 10:49:43 +01:00
  • 4f184a546f Use gomock to test command executor listener Sybren A. Stüvel 2022-02-17 10:47:52 +01:00
  • 270c54fdb7 More status change acks & checks to get stable flow between worker states Sybren A. Stüvel 2022-02-15 17:46:37 +01:00
  • c4df62d5d4 Start of sending task updates to Manager Sybren A. Stüvel 2022-02-15 15:58:24 +01:00
  • 9543d6221b Wrap error with %w Sybren A. Stüvel 2022-02-15 15:56:54 +01:00
  • 93517549b0 Manager: actually return worker state in /api/worker/state endpoint Sybren A. Stüvel 2022-02-15 15:56:38 +01:00
  • d6df00db3e Worker: Fix code flow in 'asleep' state Sybren A. Stüvel 2022-02-15 15:56:15 +01:00
  • dfd55914b2 Worker: keep trying to sign on until we have an answer from the Manager Sybren A. Stüvel 2022-02-15 11:44:16 +01:00
  • beda64d7c0 Clean up authentication routine Sybren A. Stüvel 2022-02-15 11:29:48 +01:00
  • 58619ea6db Cleanup: go mod tidy Sybren A. Stüvel 2022-02-15 11:20:54 +01:00
  • 50088b4c94 Save worker info on sign-on (not just on registration) Sybren A. Stüvel 2022-02-15 10:57:29 +01:00
  • aa41ae2ba2 Worker: remove fixed error returns from listener Sybren A. Stüvel 2022-02-14 18:01:48 +01:00
  • 7586be010b API changes for sending task updates to the Manager Sybren A. Stüvel 2022-02-14 18:01:32 +01:00
  • 0457809641 Scheduler: filter on supported task types & assigned worker ID Sybren A. Stüvel 2022-02-14 18:00:43 +01:00
  • 4aafb782ac Scheduler: Assign task to worker Sybren A. Stüvel 2022-02-14 17:47:26 +01:00
  • 3ffef34690 Allow sendAPIError() to be used like fmt.Sprintf Sybren A. Stüvel 2022-02-14 16:53:40 +01:00
  • eea219c3e2 Move task scheduler into persistence layer Sybren A. Stüvel 2022-02-14 16:53:21 +01:00
  • edfcbb1e40 Add a TODO to the features list Sybren A. Stüvel 2022-02-14 16:31:23 +01:00
  • d0be631bca New job compiler: echo-sleep-test Sybren A. Stüvel 2022-02-14 15:07:20 +01:00
  • 8e01c069d1 DB: task dependencies should be cascade-deleted with their tasks Sybren A. Stüvel 2022-02-14 15:07:14 +01:00
  • a9790ec579 API: return job from DB instead of authored job Sybren A. Stüvel 2022-02-14 15:03:17 +01:00
  • f5254c1c65 Change sleep 'time_in_seconds' to 'duration_in_seconds' Sybren A. Stüvel 2022-02-14 14:54:03 +01:00
  • 8af041fe44 Cleanup: remove some unused code & add some comments Sybren A. Stüvel 2022-02-14 14:47:54 +01:00
  • 22f2084e89 Unit tests for 'echo' and 'sleep' commands Sybren A. Stüvel 2022-02-14 14:42:16 +01:00
  • ad4313b93f Untested command runner with 'sleep' and 'echo' commands Sybren A. Stüvel 2022-02-11 17:09:58 +01:00
  • 61164252da Cleanup: remove unused code Sybren A. Stüvel 2022-02-11 16:51:55 +01:00
  • cf8ba835aa Added framework for task & command execution Sybren A. Stüvel 2022-02-11 16:51:28 +01:00
  • 96023932da SocketIO based chat client as PoC for backend/frontend communication Sybren A. Stüvel 2022-02-11 14:47:26 +01:00
  • 2964f37dce List of to-be-implemented features Sybren A. Stüvel 2022-02-01 18:09:47 +01:00
  • feaf924cec Task Scheduler: also include job priority in the scheduling Sybren A. Stüvel 2022-02-01 18:09:35 +01:00
  • 97ab93d996 Initial task scheduler implementation Sybren A. Stüvel 2022-02-01 17:17:11 +01:00
  • 2ee66af6d4 Prevent tests running in parallel Sybren A. Stüvel 2022-02-01 17:16:16 +01:00
  • fad2dc3042 Job authoring: handling of task dependencies + some bugfixes Sybren A. Stüvel 2022-02-01 16:23:54 +01:00
  • 8063a3e169 Cleanup: remove unused code Sybren A. Stüvel 2022-02-01 16:22:21 +01:00
  • e598397ba4 Persistence: move some DB to API struct conversion to API implementation Sybren A. Stüvel 2022-02-01 16:22:10 +01:00
  • 862ed96af7 Make persistence.CreateTestDB public so it can be used from other packages Sybren A. Stüvel 2022-02-01 10:57:33 +01:00
  • 2ca8858c28 Only update status field in DB when worker changes status Sybren A. Stüvel 2022-02-01 10:16:10 +01:00
  • be89349632 Very basic non-functional framework for a task runner Sybren A. Stüvel 2022-01-31 16:05:27 +01:00
  • d3071146da Better logging of worker info Sybren A. Stüvel 2022-01-31 15:35:57 +01:00