fix: make cicd in-cluster mode explicit

This commit is contained in:
Codex
2026-07-03 13:01:15 +00:00
parent 4b1b173b3f
commit 7c43716b3c
6 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ while true; do
git clone --branch "${UNIDESK_CONTROLLER_SOURCE_BRANCH}" "/cache/${UNIDESK_CONTROLLER_SOURCE_REPOSITORY}.git" /work/unidesk
cp /etc/unidesk-cicd-branch-follower/cicd-branch-followers.yaml /work/unidesk/config/cicd-branch-followers.yaml
cd /work/unidesk
bun scripts/cli.ts cicd branch-follower run-once --all --confirm --controller --config config/cicd-branch-followers.yaml --timeout-seconds "${timeout}" || true
bun scripts/cli.ts cicd branch-follower run-once --all --confirm --in-cluster --config config/cicd-branch-followers.yaml --timeout-seconds "${timeout}" || true
echo "branch-follower loop finished $(date -Iseconds)"
cd /work
sleep "${interval}"