fix: make cicd in-cluster mode explicit
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user