New node joined the role for deployment ready

Hi All,

I have setup a few projects with deployment target trigger, so basically when a new node joined the role group, projects which has this deployment target trigger will start to deploy to the new node. but question here is how do I know all the related projects have finished deployment to this new node? I tried to look at the APIs for machine, cant really find anything which indicates all the deployments have finished for the new node ?


Hi Rex,

Thanks for your question!

If you navigate to one of the targets in the web UI, there is a tab called Deployments that will show you recent deployments for this target.

The API call that provides this data looks something like this

With your URL, space ID, and machine ID, you can query the tasks for a target and check their state.

I hope that helps!