ci(iios): rm -rf /tmp/kp before clone (persistent runner leaves stale dir)
The dind-builder runner is host-mode/persistent, so /tmp/kp from a prior run survives and 'git clone ... /tmp/kp' fails with 'destination path already exists and is not an empty directory'. Clear it first. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,7 @@ jobs:
|
||||
|
||||
- name: Bump k8s-pods image tag (ArgoCD deploys)
|
||||
run: |
|
||||
rm -rf /tmp/kp # dind-builder is a persistent host: clear any stale checkout from a prior run
|
||||
git clone --depth 1 -b main \
|
||||
"https://mcp-bot:${{ secrets.K8S_PODS_TOKEN }}@git.lynkedup.cloud/platform-engineering/k8s-pods.git" /tmp/kp
|
||||
cd /tmp/kp
|
||||
|
||||
Reference in New Issue
Block a user