This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user