1889 Commits

Author SHA1 Message Date
Sybren A. Stüvel
7c99a2c000 Document the command to install the Goose binary
No functional changes.
2023-12-29 11:36:16 +01:00
Sybren A. Stüvel
17b664f152 Worker: log copy-pastable commandline invocation
Log any CLI command that's run in a way that can be easily copy-pasted
from the task log. This can help a lot in determining whether an issue
is caused by Flamenco or by the CLI program itself.
2023-12-25 15:07:18 +01:00
Sybren A. Stüvel
8ae0bc37dd Worker: reduce double logging
Remove double logging of 'command exited succesfully' message.
2023-12-25 14:55:35 +01:00
Sybren A. Stüvel
fe26a026e6 Refactor: rename command_exe.go to cmd_executor.go
Rename the file containing the command executor from `command_exe.go` to
`cmd_executor.go`), to distinguish it from the implementation of the
`exec` command (`command_exec.go`).

No functional changes.
2023-12-25 14:14:53 +01:00
Sybren A. Stüvel
7082e1e3ea Web: make 'last updated at' field in job details click-to-copy
This makes it easy to use when constructing 'mass delete jobs' API calls.
2023-12-16 23:06:01 +01:00
Sybren A. Stüvel
246916475f Manager: Implement mass mark-for-deletion of jobs
Implement the API function to mass-mark jobs for deletion, based on
their 'updated_at' timestamp.

Note that the `last_updated_max` parameter is rounded up to entire
seconds. This may mark more jobs for deletion than you expect, if their
`updated_at` timestamps differ by less than a second.
2023-12-16 23:05:52 +01:00
Sybren A. Stüvel
b9e41065c1 OAPI: regenerate code 2023-12-16 23:03:53 +01:00
Sybren A. Stüvel
aff6d41a91 OAPI: Add endpoint for mass job deletion
This endpoint will not actually delete the jobs, but just mark them for
deletion. Flamenco Manager will process the deletions in the background.
2023-12-16 22:59:28 +01:00
Sybren A. Stüvel
ff2d8f649f OpenAPI: update job submission example
Update the job submission example YAML to reflect the current state of the
`simple-blender-render` job compiler script.

No functional changes.
2023-12-16 13:29:12 +01:00
Sybren A. Stüvel
a7b498a91c Website: bump available Flamenco version to v3.3.1 2023-12-14 12:22:58 +01:00
Sybren A. Stüvel
a4000f1909 Bumped version to 3.3.1 2023-12-14 12:09:33 +01:00
Sybren A. Stüvel
6711f9dabe Manager: reorder job table columns
Reorder from name/type/priority/updated to name/updated/priority/type.

The new ordering moves the more important info into (according to Blender
Studio) view when the job table is narrow.
2023-12-14 12:08:53 +01:00
Sybren A. Stüvel
a6db15fdfa Bump BAT from 1.16 to 1.17 2023-12-14 11:59:16 +01:00
Sybren A. Stüvel
6735e9621e Update 3.3.1 changelog 2023-12-14 11:59:06 +01:00
Sybren A. Stüvel
0ea3cf8c3f Worker: perform database migrations with Goose
Replace the GORM auto-migration with Goose. The latter uses hand-written
SQL files to migrate the database with understandable, explicit queries.
2023-12-14 10:13:42 +01:00
Sybren A. Stüvel
acc9499f2a Manager: drop the job_storage_infos database table
GORM Automigration created a separate `job_storage_infos` table (because
we used it wrong, to be fair), which is actually only used as an
embedded struct in the `jobs` table. This means this table itself can be
dropped.
2023-12-14 10:13:42 +01:00
Sybren A. Stüvel
a65f234bea Manager: replace GORM database migration with Goose
Replace GORM's auto-migration with Goose. The latter uses hand-written
SQL queries to apply database schema changes, which is safer and easier to
understand than what GORM is doing.
2023-12-14 10:13:40 +01:00
Sybren A. Stüvel
d260a308bd Worker: enable write-ahead logging on the database
Now the Worker and the Manager share the same database initialisation
code (enabling foreign key constraints + write-ahead logging).

The foreign key constraints were already enabled before, but now it's done
with (a copy of) the same code as the Manager.
2023-12-14 10:10:03 +01:00
Sybren A. Stüvel
70c88a95e3 Worker: fix timezone-dependent tests
The tests were already made timezone-independent, but in a way that assumed
the day would still be the same and only the time would be different.
Now that assumption is removed as well.
2023-11-27 12:01:44 +07:00
Sybren A. Stüvel
6a74e49e3d Git-ignore vendor directory
Ignore the Go vendor directory. We don't track upstream sources.
2023-11-27 11:49:49 +07:00
Sybren A. Stüvel
02011f8237 Bumped version to 3.4-alpha0 2023-11-06 15:08:36 +01:00
Sybren A. Stüvel
c284b5fa67 Website: slight wording change
Change "...with the configured status code" to "...with a configurable
status code", as there hasn't been any explanation of this configurability
yet.
2023-11-06 14:56:23 +01:00
Sybren A. Stüvel
ee67e2be5e Website: include link to release changelog 2023-11-06 14:53:50 +01:00
Sybren A. Stüvel
d06ed6c3b0 Mark v3.3 as released today 2023-11-06 14:42:48 +01:00
Sybren A. Stüvel
c920d0ecf9 Website: include macOS/Silicon (ARM64) build on the download page 2023-11-06 14:40:32 +01:00
Sybren A. Stüvel
680f20a4bf Website: bump download version to 3.3 2023-11-06 14:35:52 +01:00
Sybren A. Stüvel
788b6138b7 Bumped version to 3.3 2023-11-06 11:56:48 +01:00
Sybren A. Stüvel
3b7847c445 Website: Expand the Shaman documentation
- Describe how to enable/disable the Shaman in more detail,
- adjust the link to Stack Exchange w.r.t. SAMBA & symlinks, and
- include a table of contents at the top of the page.
2023-11-03 16:00:39 +01:00
dblanque
36e90f0066 Website: Update docs for Shaman + SAMBA
Add documentation on Shaman with SAMBA requiring symlinks.
This has been tested with Linux and Windows Clients.
2023-11-03 15:50:48 +01:00
Sybren A. Stüvel
7c0653559c Website: set v3.3-beta3 as latest available experimental release 2023-11-02 16:38:04 +01:00
Sybren A. Stüvel
0333fe1383 Bumped version to 3.3-beta3 2023-11-02 16:29:56 +01:00
Eveline Anderson
7ca806f48e Webapp: add 'delete' button for tags
Add a button to the tags table to delete worker tags. Each tag now has
its own 'delete' button.

This replaces the single 'delete' button above the table, where a tag
would first have to be selected and then that 'delete' button pressed.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104256
2023-11-02 16:11:58 +01:00
Sybren A. Stüvel
30da72a9b7 Upgrade BAT to 1.16 2023-11-02 15:49:38 +01:00
Sybren A. Stüvel
90186d7a79 Fix mypy error
No functional changes.
2023-11-02 13:50:45 +01:00
Sybren A. Stüvel
90a3fac2ad Website: use smaller font for architecture
The macOS builds are available for two architectures; use a smaller font
for the `(Intel)` and `(Silicon/ARM)` text.
2023-10-31 15:03:11 +01:00
Sybren A. Stüvel
0107605441 Website: bump available beta version to 3.3-beta2 2023-10-31 14:57:16 +01:00
Sybren A. Stüvel
01f2e6d558 Bumped version to 3.3-beta2 2023-10-31 14:54:20 +01:00
Sybren A. Stüvel
950bd59320 CHANGELOG: Add the support for macOS Silicon (arm64) 2023-10-31 14:52:49 +01:00
Sybren A. Stüvel
5c63405fe2 Reword the FFmpeg instructions for macOS arm64 2023-10-31 14:34:15 +01:00
Sybren A. Stüvel
8e9329f768 Include text file in macOS ARM64 build to indicate location of ffmpeg
Add a bit more documentation about the lack of ffmpeg on macOS/arm64 builds
and include a text file in the download package for that platform to
signal where any ffmpeg binary should be placed.
2023-10-31 10:34:35 +01:00
Sybren A. Stüvel
06f2a2bc29 Rename cli command to exec and document it
The `cli` word, to me, implies too much that it's run via a shell, which
it isn't. Renaming to `exec` resolves that.
2023-10-31 10:17:16 +01:00
Sybren A. Stüvel
5dd3939969 Add "cli" command
Add arbitrary command runner. This still needs some docs ;-)
2023-10-27 21:57:57 +02:00
Sybren A. Stüvel
eb269d63fb Make worker name configurable
Worker name can be set via the flamenco-worker.yaml file now.
2023-10-27 13:11:39 +02:00
Sybren A. Stüvel
7428a2a0f3 Add Blender Conference 2023 to the website
For the hands-on class, there will be a special build of Flamenco. It
disables Shaman on all platforms (for uniformity for all participants)
and hard-codes `localhost` as URL for the Workers (to prevent
participants' Workers from finding each other's Managers).

The special build of Flamenco will be done on a separate branch
(`bcon-2023`), but the website should stay for longer, and thus this
commit is on the `main` branch.
2023-10-20 17:23:27 +02:00
Sybren A. Stüvel
f34a8d8fac Makefile: restore accidentally commented-out code 2023-10-20 16:53:55 +02:00
Sybren A. Stüvel
1900ed0275 CHANGELOG: reorder changes to put some more important ones at the top 2023-10-20 11:38:50 +02:00
Sybren A. Stüvel
35bbab4929 Website: link to changelog from download page
At least for the experimental packages, there should be a link to the
changelog. For release versions we should maybe have something nicer; at
least it should link to the changelog for that particular version, instead
of just the top of the file.
2023-10-20 11:34:54 +02:00
Sybren A. Stüvel
5e27f09a14 Include darwin-arm64 packages when publishing online
These aren't linked from the download page yet, as they are missing an
FFmpeg binary. Still, having this build here at least allows people to
download it and put in their own (or configure that particular worker to
not run ffmpeg tasks).
2023-10-20 11:30:27 +02:00
Sybren A. Stüvel
af5b2420af macOS: also create packages for ARM64 architecture
These packages will not include FFmpeg at the moment, as there doesn't
seem to be a version that's built for that architecture and linked from
ffmpeg.org as an "officially approved" binary.
2023-10-20 11:27:14 +02:00
Sybren A. Stüvel
f9836e295d Website: add support for experimental versions to the downloads page 2023-10-20 11:18:42 +02:00