Skip to content
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

php blackfire is not working for ubuntu images #29

Closed
ghost opened this issue Mar 14, 2016 · 1 comment
Closed

php blackfire is not working for ubuntu images #29

ghost opened this issue Mar 14, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 14, 2016

Because of a wrong path inside provision/roles/boilerplate-main-development/tasks/bootstrap.yml the main build fails:
"Failed to find required executable rpm"

It should be look like this:


---

- include: bootstrap/php-blackfire/debian.yml
  when: ansible_distribution == 'CentOS' and PROVISION.install.phpBlackfire is defined and PROVISION.install.phpBlackfire

- include: bootstrap/php-blackfire/debian.yml
  when: ansible_os_family == 'Debian' and PROVISION.install.phpBlackfire is defined and PROVISION.install.phpBlackfire

- include: bootstrap/php.xdebug.yml
  when: PROVISION.install.phpXdebug is defined and PROVISION.install.phpXdebug

Additional, the provisioning script "provision/roles/boilerplate-main-development/tasks/bootstrap/php-blackfire/debian.yml" only installs the blackfire-php (probe), but not the blackfire-agent (blackfire-agent and cli-tools) package.
To get blackfire working, both packages are needed and an unique server/client id and token, which can be get from the blackfire.io webpage, must be set.

As far as I see, there is currently no possibility to set this parameters in any yml file.

The whole install process is described on this page:
https://blackfire.io/docs/up-and-running/installation

There is also a complete docker setup for php blackfire available:
https://blackfire.io/docs/integrations/docker

@mblaschke
Copy link
Member

mblaschke commented Jul 1, 2016

With images published next night new images with blackfire are available.
See webdevops/Dockerfile#116 and webdevops/Dockerfile#113

For documentation see http://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-dev.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant