Blackfire with YAML

YAML parameters for Blackfire Python

Name Type Description
action Required String The name of the action.
type Required String The type of the action. Should be set to BLACKFIRE_PYTHON.
execute_commands Required String[] The commands that will be executed.
version Required String The version of Python.
integration Required String The ID of the integration.
shell String The name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.
setup_commands String[] 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

Name Type Description
action Required String The name of the action.
type Required String The type of the action. Should be set to BLACKFIRE_PHP.
execute_commands Required String[] The commands that will be executed.
version Required String The version of PHP.
integration Required String The ID of the integration.
shell String The name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.
setup_commands String[] 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

Name Type Description
action Required String The name of the action.
type Required String The type of the action. Should be set to BLACKFIRE_GO.
execute_commands Required String[] The commands that will be executed.
version Required String The version of GO.
integration Required String The ID of the integration.
shell String The name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.
setup_commands String[] 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 Mar 4, 2025