fix: use full CICD render cache
This commit is contained in:
@@ -18,10 +18,13 @@ test("CI/CD repo cache is materialized for local shared render clones", () => {
|
||||
} as never);
|
||||
|
||||
assert.doesNotMatch(script, /--filter=blob:none/u);
|
||||
assert.doesNotMatch(script, /--depth=1/u);
|
||||
assert.match(script, /reason=partial-clone-cache/u);
|
||||
assert.match(script, /reason=shallow-clone-cache/u);
|
||||
assert.match(script, /\[ -f "\$cicd_repo\/shallow" \]/u);
|
||||
assert.match(script, /reason=missing-fetched-tree-object/u);
|
||||
assert.match(script, /cat-file -e "refs\/remotes\/origin\/\$cicd_branch\^\{tree\}"/u);
|
||||
assert.match(script, /remote\.origin\.promisor/u);
|
||||
assert.match(script, /remote\.origin\.partialclonefilter/u);
|
||||
assert.match(script, /clone --bare --depth=1 --single-branch/u);
|
||||
assert.match(script, /clone --bare --single-branch/u);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user