perf: avoid gitea pipeline unshallow fetch

This commit is contained in:
Codex
2026-07-15 14:09:36 +02:00
parent 460e18a2d0
commit 11bc3855bb
+1 -1
View File
@@ -44,7 +44,7 @@ spec:
rm -rf source platform-infra-gitea-gitops
git clone --filter=blob:none --no-checkout http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git source
cd source
git fetch --depth=1 --filter=blob:none origin "+$SOURCE_SNAPSHOT_PREFIX/$SOURCE_COMMIT:refs/remotes/origin/platform-infra-gitea-source"
git fetch --filter=blob:none origin "+$SOURCE_SNAPSHOT_PREFIX/$SOURCE_COMMIT:refs/remotes/origin/platform-infra-gitea-source"
git checkout --detach "$SOURCE_COMMIT"
test "$(git rev-parse HEAD)" = "$SOURCE_COMMIT"
exec bun scripts/native/cicd/publish-platform-infra-gitea-gitops.mjs \