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

Docker: PHP7.4 image and solr #257

Draft
wants to merge 1 commit into
base: primary
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ core_check: &CheckSolrCore
composer: &composerRequirements
name: Composer requirements
command: |
composer self-update --1
composer require myclabs/deep-copy:1.9.1 silverstripe/recipe-cms --no-progress
composer update --no-progress
composer vendor-expose
Expand All @@ -50,9 +51,9 @@ jobs:
environment:
CC_TEST_REPORTER_ID: 586f7041e9f71c44946cdfe8bce27d66c6271d173ec291c2a9aa7e1b56667873
docker:
- image: ssmarco/php-solr:latest
- image: ssmarco/php-solr:7.4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Firesphere I got new docker image with PHP 7.4 and Solr 8.11.1 in it.
CircleCI is still failing though so will have a look at it soon.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably related to MySQL? I've had that a few times. Might be a simple case of environment variables update

environment: *environment
- image: circleci/mysql:5.7
- image: cimg/mysql:5.7
environment: *mysql

working_directory: /var/www/html
Expand All @@ -63,11 +64,11 @@ jobs:
- run: echo '{}' > composer.lock
- restore_cache:
keys:
- silverstripe-search-cache-v8-{{ checksum "composer.lock" }}
- silverstripe-search-cache-v8-
- silverstripe-search-cache-v8testing1-{{ checksum "composer.lock" }}
- silverstripe-search-cache-v8testing1-
- run: *composerRequirements
- save_cache:
key: silverstripe-search-cache-v8-{{ checksum "composer.lock" }}
key: silverstripe-search-cache-v8testing1-{{ checksum "composer.lock" }}
paths:
- vendor
- app
Expand Down