Relecture : le serveur ne construit jamais l image, réseau retenu par le .env, tâches arrêter
- docs/production.md : seuls compose.yml, compose.reseau.yml et verifier.py vont sur le serveur ; docker compose up -d --no-build ; COMPOSE_FILE dans ~/ollama/.env ; relance par Compose plutôt que docker start ; docker logout après le pull. - verifier.py lisible par Python 3.8/3.9. - Tâches « Instance de test : arrêter » et « Ollama : arrêter ». Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f4c493770e
commit
3e0b5d03a3
6 files changed
+90
-9
No files matched your search
@@ -53,6 +53,11 @@ class TestTaches(unittest.TestCase):
|
||||
c = next(c for l, c in commandes().items() if "down -v" in c)
|
||||
self.assertIn('[ "${input:confirmation}" = oui ]', c)
|
||||
|
||||
def test_arreter_sans_effacer(self): # design §5 : démarrage ET arrêt de l'instance de test
|
||||
cmds = list(commandes().values())
|
||||
self.assertTrue(any("-p ldtest stop" in c for c in cmds), "pas de tâche qui arrête l'instance de test")
|
||||
self.assertTrue(any("ollama/compose.yml" in c and " stop" in c for c in cmds), "pas de tâche qui arrête Ollama")
|
||||
|
||||
def test_scripts_references_existent(self):
|
||||
for libelle, c in commandes().items():
|
||||
for chemin in re.findall(r"(?:instance-de-test|ollama)/[\w.-]+\.(?:py|sh|yml)", c):
|
||||
|
||||
Reference in new issue
Block a user