All Questions
Tagged with bitbucket-pipelines php
35
questions
-2
votes
2
answers
60
views
How to solve Bitbucket pipeline error : vendor/bin/phpunit: No such file or directory
For my Laravel application, I have created a bitbucket-pipeline :
image: php:8.0
pipelines:
branches:
stage:
- step:
name: Install Dependencies
caches:
- ...
0
votes
1
answer
181
views
Bitbucket Pipeline composer not found despite I install is as composer doc's say
In my project I try to package my app:
image: php:8.1
pipelines:
default:
- step:
caches:
- composer
script:
- php -r "copy('https://getcomposer.org/...
0
votes
0
answers
161
views
How to solve "could not find driver" in bitbucket pipeline?
I am trying to deploy with deployer on bitbucket pipelines.
But I always got this error:
[localhost] 15:43:30 CRITICAL [console] Error thrown while running command "theme:compile". Message: ...
2
votes
1
answer
704
views
Laravel: Integration tests failing on bitbucket pipelines
I am working on Laravel 5.5 integration tests and they are passing on local env but failing on Bitbucket pipelines. Here is my bitbucket-pipelines.yml:
image: php:7.1
pipelines:
default:
- step:...
0
votes
1
answer
334
views
Bitbucket pipeline fails when using custom php image
I have created a custom Docker image, pushed it to dockerhub, added it to the bitbucket pipeline. It gets pulled but I cannot execute php. Note even php -v works, no output is visible. What am I doing ...
0
votes
1
answer
122
views
How to test Guzzle on bitbucket-pipeline?
I wrote some integration tests using Guzzle.
I also created a pipeline on bitbucket that run through the tests.
$this->client = new Client([
'base_uri' => "http://{docker_service_name}/...
0
votes
1
answer
745
views
How to upload Vendor folder using bitbucket pipeline
I am trying to deploy Laravel project using bitbucket pipeline. With this code:
pipelines:
custom:
staging-init:
- step:
name: 'Init'
image: php:7.3-fpm
...
2
votes
1
answer
4k
views
How to use the image between steps in bitbucket-pipelines
I would be grateful if someone could help me with setting up bitbucket-pipeline for my php env. What I'm trying to succeed is:
Build image in the first step
In the second step run some QA stuff like ...
1
vote
0
answers
260
views
Bitbucket pipelines composer patch fails
I have a very simple pipelines, I am just trying to get the app to build before I look to adding anything else to it.
But, even in its simple state, I can't get composer to successfully patch a file.
...
0
votes
1
answer
131
views
How to create custom Artisan commands to generate Bitbucket CI/CD Pipeline
I want to create a custom Artisan command to generate the boiler pate for Bitbucket CI/CD Pipeline.
2
votes
1
answer
2k
views
PHP Deployer change Composer Version
i use PHP Deployer with bitbucket pipelines my deployment worked fine until composer version 2.0 was released.
Now i need to downgrade composer to version 1 but i don't know how to set the version.
I ...
0
votes
1
answer
1k
views
Laravel - Bitbucket Pipelines Configuration
I am trying to setup Pipelines with Bitbucket.
I am currently getting a passing build with the following.
image: php:7.3
pipelines:
default:
- step:
caches:
- composer
...
0
votes
1
answer
273
views
CodeDeploy after_install script bug running composer.phar install
I can run /opt/plesk/php/7.2/bin/php /usr/lib/plesk-9.0/composer.phar install manually on the instance and it executes well.
I get a successful deployment (Bitbucket pipelines > Codedeploy > Ec2)...
1
vote
0
answers
35
views
Deploying config.php file with varibles using bitbucket pipeline repo varibles
Is there a way to use bitbucket pipeline repository variables inside a config.php file when we generate a build using a pipeline?
example:
let's say in bitbucket repo we have $TWITTER_ID defined as &...
0
votes
2
answers
1k
views
How to design the bit-bucket pipeline for deployement the code of one repo to multiple servers using php?
I want to design the bit-bucket pipeline using php for deployement of code from one repo to multiple server locations. Following code is working to deploy the code to repo but I want to update the ...