ci: pin Linux build RIDs across stages and retry runtime fetches [CI]
This commit is contained in:
1 parent
806493567b
commit
a867c9f7f6
3 files changed
+17
-3
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user