Blackfire with YAML

YAML parameters for Blackfire Python

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to BLACKFIRE_PYTHON.
execute_commands RequiredString[]The commands that will be executed.
version RequiredStringThe version of Python.
integration RequiredStringThe 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

yaml
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: "my_integration"

YAML parameters for Blackfire PHP

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to BLACKFIRE_PHP.
execute_commands RequiredString[]The commands that will be executed.
version RequiredStringThe version of PHP.
integration RequiredStringThe 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

yaml
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: "my_integration"

YAML parameters for Blackfire GO

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to BLACKFIRE_GO.
execute_commands RequiredString[]The commands that will be executed.
version RequiredStringThe version of GO.
integration RequiredStringThe 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

yaml
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: "my_integration"

Last modified on Sep 24, 2024