The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Keep getting errors when Building Pipelines

Tronserve
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2020

image: php:7.3
pipelines:

default:

- step: script: 

 - su usermod -a -G docker $user

- apt-get update && apt-get install -y git curl libmcrypt-dev default-mysql-client

- yes | pecl install mcrypt-1.0.2 - docker-php-ext-install pdo_mysql

- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

- su chown user -hR /usr/local/bin/composer

- su user composer install

- ln -f -s .env.pipelines .env

- php artisan migrate

- php artisan serve &

- sleep 5 - ./vendor/bin/phpunit

- curl -vk http://localhost:8000

services:

- mysql
definitions:

services:

mysql:

image: mysql:5.7

environment:

MYSQL_DATABASE: '***'

MYSQL_RANDOM_ROOT_PASSWORD: 'yes'

MYSQL_USER: 'user'

MYSQL_PASSWORD: 'password'

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events