ci: pin Linux build RIDs across stages and retry runtime fetches [CI]
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/dev-image Pipeline failed
ci/woodpecker/push/verify Pipeline failed

This commit is contained in:
justme committed 2026-10-21 13:40:21 +08:00
1 parent 806493567b
commit a867c9f7f6
3 files changed
+17 -3

No files matched your search

+3
View File
@@ -65,6 +65,9 @@ class LinuxBuildTests(unittest.TestCase):
self.assertIn('Targets="Restore" BuildInParallel="false"', traversal)
self.assertIn('Targets="Build" BuildInParallel="false"', traversal)
self.assertIn('RuntimeIdentifier=$(RuntimeIdentifier);SelfContained=$(SelfContained)', traversal)
containerfile = (first / 'Containerfile').read_text()
self.assertIn('test -n "$NODE_RID"', containerfile)
self.assertIn('-p:RuntimeIdentifier="$NODE_RID"', containerfile)
def test_retention_removes_only_expired_layers_without_pruning_package_caches(self):
with tempfile.TemporaryDirectory() as directory: