Hey there,
I'm struggling with my Laravel Dusk Set-Up for bitbucket-Pipelines.
Any ideas?
bitbucket-pipeline.yml fileimage:name: php:7.3-fpmpipelines:default: - step:caches: - composerscript:#Required Packages - apt-get update - apt-get install -qy git curl libmcrypt-dev default-mysql-client libzip-dev npm - yes | pecl install mcrypt-1.0.2 - docker-php-ext-install pdo_mysql bcmath zip# #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - composer install# #NPM # #Dusk - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9515 http://localhost &# #Writeable Folders - chmod -R 777 ./storage - chown -R www-data:www-data ./storage# #Ready to Server - ln -f -s .env.bitbucket .env - php artisan key:generate - php artisan storage:link - php artisan migrate - php artisan serve & - sleep 10# #Tests - ./vendor/bin/phpunit - php artisan duskservices: - mysqldefinitions:services:mysql:image: mysql:5.7environment:MYSQL_DATABASE: 'testing' MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_USER: 'bitbucket' MYSQL_PASSWORD: 'secret'
Error
Working bitbucket-pipeline.yml
image: lbausch/laravel-cipipelines:default: - step:caches: - composerscript:# # Composer - composer install# #Writeable Folders - chmod -R 777 ./storage - chown -R www-data:www-data ./storage - chmod -R 0755 vendor/laravel/dusk/bin/# # Setup - ln -f -s .env.bitbucket .env - php artisan key:generate - php artisan storage:link - php artisan migrate - php artisan serve & - sleep 5# #PHPUnit - ./vendor/bin/phpunit# #Laravel Dusk - php artisan duskservices: - mysqldefinitions:services:mysql:image: mysql:5.7environment:MYSQL_DATABASE: 'testing' MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_USER: 'bitbucket' MYSQL_PASSWORD: 'secret'
It looks like you're new here. Sign in or register to get started.