fix: avoid blocking branch follower loop
This commit is contained in:
+1
-1
@@ -2899,7 +2899,7 @@ function controllerLoopScript(): string {
|
||||
" 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 --wait --controller --config config/cicd-branch-followers.yaml --timeout-seconds \"${timeout}\" || true",
|
||||
" bun scripts/cli.ts cicd branch-follower run-once --all --confirm --controller --config config/cicd-branch-followers.yaml --timeout-seconds \"${timeout}\" || true",
|
||||
" echo \"branch-follower loop finished $(date -Iseconds)\"",
|
||||
" cd /work",
|
||||
" sleep \"${interval}\"",
|
||||
|
||||
Reference in New Issue
Block a user