bf72506a

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Add shared media file store (#414)

Define a FileStore contract for media backends and use one typed store when
configuring uploads. Local and S3 backends now both support deleting media
files, allowing later media services to depend on the same storage contract.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/414

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 10s 10s 13s 2s
Eval 10s 36s 36s 47s 0s
Build 26s 6m10s 1m40s 2m06s 0s
Deploy 2m18s 4m10s 4m10s 6m28s 12s
Suite 2s 11m08s 6m26s 6m28s 14s

Timeline

0s1m2m3m4m5m6m