What Happens When a Build Runs in a Build Executor?

When VB Studio runs a build, it follows a set order to select a VM executor. You can’t choose or specify a particular VM executor to use for the build. If no VM build executors are found, VB Studio fails the build.

When multiple VM executors are found, VB Studio selects a VM executor to run the build in this order:

A VM executor in the Stopped or Pending state will take several minutes to start because VB Studio installs the operating system and the executor template’s software packages before running the build.

The VM executor should start subsequent builds more quickly. You can adjust the sleep timeout to avoid start-up delays.

The steps for a build running in a build executor include:

  1. VB Studio checks the job’s build executor template and then finds a VM executor allocated to it.
  2. VB Studio checks the job’s configuration and runs the commands in the specified order.
  3. After the build is complete, VB Studio copies any generated artifacts to the configured OCI Object Storage bucket.
  4. The VM executor waits for some time for any queued builds. If no builds run during the wait time period, the VM executor stops.
    Before stopping the VM executor, VB Studio saves the operating system and software packages to the VM executor’s assigned boot volume.