mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
feat(i18n): deploy libretranslate in an isolated compose runner
The i18n toolchain gets its own runner behind the `i18n` compose profile, with its own inner docker daemon and docker state, so an i18n deploy shares no ansible run and no container state with `infinito`. It reuses the image that service builds (pull_policy: never), which starts it in under a second. cache-consumer.yml holds the package-cache extra_hosts once and both runners take them through `extends`; a YAML anchor cannot cross a compose file, an extends can. GPU reservation moves from a layered override file to INFINITO_GPU_COUNT on both services. `gpus:` only accepts the literal `all`, so a variable there invalidates the project on a CPU host, while a device reservation takes `count: 0`. compose/gpu.override.yml and gpu_runtime_available() go with it. test_compose_override_services_defined.py fails when an override extends a service no compose file defines, which renders the whole project invalid. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a78ea1fcf5
commit
3475b8ae6f
13 files changed
+283
-44
No files matched your search
@@ -126,6 +126,8 @@ class TestComposeUpRetries(unittest.TestCase):
|
||||
"compose",
|
||||
"-f",
|
||||
"compose.yml",
|
||||
"-f",
|
||||
"i18n/compose.override.yml",
|
||||
"ps",
|
||||
"-q",
|
||||
"infinito",
|
||||
@@ -169,6 +171,8 @@ class TestComposeUpRetries(unittest.TestCase):
|
||||
"compose.yml",
|
||||
"-f",
|
||||
"compose/cache.override.yml",
|
||||
"-f",
|
||||
"i18n/compose.override.yml",
|
||||
"ps",
|
||||
"-q",
|
||||
"infinito",
|
||||
|
||||
Reference in new issue
Block a user