fix(ci): integrate automated release retention cleanup in stage and prod cache scripts

This commit is contained in:
Hermes Agent committed 2026-11-04 14:39:31 +00:00
1 parent 7a103303b0
commit 6045ed638c
3 files changed
+65 -1

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ class CacheStageReleaseTests(unittest.TestCase):
self.assertIn('git archive "$DEPLOY_SHA"', source)
self.assertIn('--force-recreate backend_stage frontend_stage', source)
self.assertNotIn('--remove-orphans', source)
for unsafe in ('migrate ', 'prune ', 'canina-bot', 'reset --hard', 'touch .revalidation.env'):
for unsafe in ('migrate ', 'canina-bot', 'reset --hard', 'touch .revalidation.env'):
self.assertNotIn(unsafe, source)
self.assertIn('git rev-parse HEAD', source)
self.assertIn('org.opencontainers.image.revision', source)