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

Use new CircleCI convenience image for PHP #119

Merged
merged 11 commits into from
Jan 6, 2022
Merged
12 changes: 4 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
working_directory: ~/drupal-skeleton
docker:
- image: circleci/php:7.3-node-browsers
- image: cimg/php:7.4-browsers
- image: circleci/mysql:5.7-ram
command: --max_allowed_packet=16M
environment:
Expand All @@ -22,15 +22,11 @@ jobs:
steps:
- run:
name: Install packages
command: sudo apt-get install -y libpng-dev default-mysql-client
- run:
name: Install PHP extensions
command: sudo docker-php-ext-install pdo_mysql gd
command: sudo apt-get update && sudo apt-get install -y default-mysql-client
- run:
name: Configure PHP
command: |
echo "sendmail_path=/bin/true" | sudo tee -a "/usr/local/etc/php/php.ini"
echo "memory_limit=-1" | sudo tee -a "/usr/local/etc/php/php.ini"
echo "sendmail_path=/bin/true" | sudo tee -a "/etc/php.d/circleci.ini"
- run:
name: Create artifacts directory
command: mkdir /tmp/artifacts
Expand Down Expand Up @@ -84,7 +80,7 @@ jobs:

- run:
name: Install the-build in the project
command: printf 'http://drupal-skeleton.local\nother\nn' | vendor/bin/the-build-installer
command: printf 'drupal-skeleton\nhttp://drupal-skeleton.local\npantheon\nn' | vendor/bin/the-build-installer

- run:
name: Wait for DB
Expand Down