Worker

YAML tags for worker block

The worker tag is intended to be used to route a build to a specific worker pool of workers available with the Vela queue.

---
# This document is displaying all the available tags
# and routing the build to a specific worker "sm:docker".
worker:
  flavor: sm
  platform: docker

Tags

TagRequiredTypeDescription
flavorNstringIndicates what flavor of a worker. (i.e. sm, m, lg)
platformNstringIndicates the platform of a worker. (i.e. docker, k8s)

Usage

The flavor: tag

---
worker:
  # indicates what flavor of worker (i.e. sm, m, lg). If not specified
  # will be scheduled in the generic "vela" queue.
  flavor: sm

The platform: tag

---
worker:
  # Indicates the platform of worker (i.e. docker, k8s). If not specified
  # will be scheduled in the generic "vela" queue.
  platform: docker
Last modified February 1, 2021: feat(ref): add a yaml section (#196) (9d7fdaf8)