Skip to content

Add a recipe to ease installation of Blackfire #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions blackfireio/blackfire-symfony-meta/1.0/.blackfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
scenarios: |
#!blackfire-player

scenario
name "Test homepage"
visit url('/')
expect status_code() == 200
24 changes: 24 additions & 0 deletions blackfireio/blackfire-symfony-meta/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"copy-from-recipe": {
".blackfire.yaml": ".blackfire.yaml"
},
"env": {
"#1": "Get your SERVER credentials at https://blackfire.io/my/settings/credentials",
"#2": "BLACKFIRE_SERVER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"#3": "BLACKFIRE_SERVER_TOKEN=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"docker-compose": {
"docker-compose.override.yml": {
"services": [
"blackfire:",
" image: blackfire/blackfire:2",
" # uncomment to store Blackfire credentials in a local .env.local file",
" #env_file: .env.local",
" environment:",
" BLACKFIRE_LOG_LEVEL: 4",
" ports: [8307]"
]
}
},
"aliases": ["blackfire"]
}
7 changes: 7 additions & 0 deletions blackfireio/blackfire-symfony-meta/1.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
* Blackfire Agent has been configured in your <comment>docker-compose.override.yaml</> file

* Configure your Blackfire <comment>SERVER</> credentials in <info>.env.local</> (get them at https://blackfire.io/my/settings/credentials)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be more explicit here, not to confuse people with environment credentials

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about it, we'd better keep this link.
Available credentials (for Blackfire environments and personal server credentials) should probably get listed in the Blackfire settings page.
Ping @ChristopheDujarric


* Install the <comment>PHP probe</>: https://blackfire.io/docs/up-and-running/installation

* <fg=blue>Read</> the documentation at <comment>https://blackfire.io/docs</>