Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Aug 22, 2024
1 parent 6fc0774 commit f23557b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,16 @@ jobs:
sudo systemd-run --wait --quiet --service-type=oneshot --property=TimeoutStartSec=20s systemctl is-active ziti-controller.service
_login_cmd="ziti edge login ${ZITI_CTRL_ADVERTISED_ADDRESS}:${ZITI_CTRL_ADVERTISED_PORT}"\
"--ca /var/lib/private/ziti-controller/pki/root/certs/root.cert"\
"--username admin"\
"--password ${ZITI_PWD}"
" --ca /var/lib/private/ziti-controller/pki/root/certs/root.cert"\
" --username admin"\
" --password ${ZITI_PWD}"
ATTEMPTS=10
DELAY=3
until !((ATTEMPTS)) || _login_cmd
do
(( ATTEMPTS-- ))
echo "Waiting for controller login"
sleep $${DELAY}
sleep ${DELAY}
done
ziti edge create edge-router ${ZITI_ROUTER_NAME} -to ${ZITI_ENROLL_TOKEN}
Expand Down

0 comments on commit f23557b

Please sign in to comment.