From c628d425a518caa326326ae14560f1b68726ae9d Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 5 Jul 2026 16:10:05 +0000 Subject: [PATCH] fix: stabilize sentinel pac workspace --- .tekton/web-probe-sentinel-jd01-pac.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.tekton/web-probe-sentinel-jd01-pac.yaml b/.tekton/web-probe-sentinel-jd01-pac.yaml index 3b426158..18bbd715 100644 --- a/.tekton/web-probe-sentinel-jd01-pac.yaml +++ b/.tekton/web-probe-sentinel-jd01-pac.yaml @@ -26,7 +26,7 @@ spec: - name: sentinel-publish image: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1 imagePullPolicy: IfNotPresent - workingDir: /workspace/source + workingDir: /workspace env: - name: GIT_READ_URL value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git @@ -37,9 +37,9 @@ spec: script: | #!/bin/sh set -eu - rm -rf /workspace/source - git clone --filter=blob:none --no-checkout "$GIT_READ_URL" /workspace/source - cd /workspace/source + rm -rf source + git clone --filter=blob:none --no-checkout "$GIT_READ_URL" source + cd source git fetch --depth=1 --filter=blob:none origin "+$SOURCE_STAGE_REF:refs/remotes/origin/unidesk-source-snapshot" git checkout --detach "$SOURCE_COMMIT" bun scripts/cli.ts web-probe sentinel publish-current \