Closed davidsteinsland closed 7 years ago
any thoughts on this?
What is the use case? For deployment purposes we had the same issue, and went for a pulling approach with kubectl
. That sucked. --wait
in that sense seems better.
Ideally I would have solved this by having a callback URL in the deploy command and have naisd call that when the deployment is successfull. Most CIs has steps for waiting for HTTP callbacks.
--wait
flag tonais deploy
to hang until the deployment has completed (or failed)nais wait
command to wait for a deployment for a given appNAIS_CLUSTER_URL
env var. The URL is resolved using the following priority:--cluster
or-c
argumentNAIS_CLUSTER_URL
,preprod-fss