Blackfire with YAML

YAML parameters for Blackfire

YAML parameters for Blackfire Python

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to BLACKFIRE_PYTHON.
execute_commands
Required
String[]The commands that will be executed.
version
Required
StringThe version of Python.
integration_hash
Required
StringThe ID of the integration.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH(default) or BASH.
setup_commandsString[]The command that will be executed only on the first run.

YAML example for Blackfire Python

actions:
- action: "Run Blackfire Python CLI"
  type: "BLACKFIRE_PYTHON"
  version: "latest"
  execute_commands:
  - "pip install -r requirements.txt"
  - "blackfire run bin/console"
  setup_commands:
  - "apt-get update && apt-get -y install git"
  shell: "BASH"
  integration_hash: "5ddb7c180fb38be67bd78a88a"

YAML parameters for Blackfire PHP

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to BLACKFIRE_PHP.
execute_commands
Required
String[]The commands that will be executed.
version
Required
StringThe version of PHP.
integration_hash
Required
StringThe ID of the integration.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH(default) or BASH.
setup_commandsString[]The command that will be executed only on the first run.

YAML example for Blackfire PHP

actions:
- action: "Run Blackfire PHP CLI"
  type: "BLACKFIRE_PHP"
  version: "latest"
  execute_commands:
  - "composer install"
  - "blackfire run bin/console"
  setup_commands:
  - "apt-get update && apt-get -y install git"
  shell: "BASH"
  integration_hash: "5ddb7c180fb38be67bd78a88a"

YAML parameters for Blackfire GO

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to BLACKFIRE_GO.
execute_commands
Required
String[]The commands that will be executed.
version
Required
StringThe version of GO.
integration_hash
Required
StringThe ID of the integration.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH(default) or BASH.
setup_commandsString[]The command that will be executed only on the first run.

YAML example for Blackfire GO

actions:
- action: "Run Blackfire Go CLI"
  type: "BLACKFIRE_GO"
  version: "latest"
  execute_commands:
  - "blackfire run ./go_bin"
  setup_commands:
  - "apt-get update && apt-get -y install git"
  shell: "BASH"
  integration_hash: "5ddb7c180fb38be67bd78a88a"

Last modified on December 5, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.