wtree Cloud

Builds and queue

Control how many builds run at once per server, follow the deployment queue and stop a deployment.

Every deployment of an application or Compose service goes through a queue. Each server, including the wtree Cloud server, has its own queue partition and concurrency setting.

Deployments overview

How the queue works

  • Builds on different servers never block each other.
  • On one server, up to N jobs run in parallel, where N is that server's concurrency.
  • Builds of the same application or Compose service are always serialized in FIFO order, whatever the concurrency. Raising it lets different apps build together, not multiple deployments of one app.

Set concurrency

Every server defaults to 1. You can set any value from 1 to 100. No licence is needed. This is self-hosted only. In cloud mode the platform schedules builds.

Go to Servers › This server › Settings.

Under Build concurrency, set the concurrency of the panel server.

For a remote server, open Servers, pick it, go to Settings and set Build concurrency there.

Build concurrency in a server's Settings tab

Keep the wtree Cloud server at 1 and raise it on a larger build server, for example.

Follow deployments

Go to Deployments:

  • Deployments shows the history of every application and Compose service, with search and filters by status and type.
  • Queue shows jobs with job ID, label, type, state, added, processed and finished times, and the error on failure. Each row links to its service.

Each service's own Deployments tab shows its last 10 deployments and logs.

Stop a deployment

ActionWhat it does
Kill buildKills the build currently running for this service.
Cancel queuesCancels this service's queued deployments. Doesn't stop a build already started.
Clear deploymentsDeletes old records and logs, keeping the active deployment (latest successful).

To stop a running build and discard what waits behind it, use Cancel queues first, then Kill build.

In cloud mode you can also cancel a running job with the cancel button in Deployments › Queue. When a deployment has run about 10 minutes, a Build appears to be stuck banner on the service's Deployments tab offers to cancel it.

Clear the whole queue

On self-hosted instances, Servers › This server › Panel › Clean all deployment queue removes every queued deployment. The queue lives in the wtree Cloud process, so restarting wtree Cloud also clears waiting deployments.

On this page