Skip to main content

Defining the machine type in bitrise.yml

Updated over 10 months ago

Issue

Customers on Velocity plans have the option to select the machine type on which their Workflows run. This is frequently done on the Stacks & Machines & Machines tab of the Workflow Editor. But what if you want to manage your Workflows in the bitrise.yml file that's stored in your repo?

Possible solutions

Include a machine_type_id attribute under the bitrise.io section of meta.

Below is an example bitrise.yml snippet showing the configuration of the stack on the Workflow level.

app:
 envs:
   ...  workflows:
  primary:
    steps:
    ...
    meta: # workflow specific
      bitrise.io:
        machine_type_id: g2.12core  

Available machine types are:

macOS:

  • g2.4core

  • g2.8core

  • g2.12core

  • g2-m1.8core

Linux:

  • standard

  • elite

  • elite-xl

Additional information

Did this answer your question?