Skip to content

Commit bcb8786

Browse files
fix: update docker-compose.override.yml setup and add AlgoliaSearch compilation step
1 parent f93afb9 commit bcb8786

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.circleci/config.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ executors:
77
magento-executor:
88
machine:
99
image: ubuntu-2404:2024.11.1
10+
docker_layer_caching: true
1011

1112
jobs:
1213
magento-build:
@@ -31,12 +32,10 @@ jobs:
3132
command: |
3233
mkdir ~/Sites
3334
cd ~/Sites
34-
cat \<<EOF > docker-compose.override.yml
35-
version: "3.7"
36-
35+
cat \<<EOF > compose.override.yml
3736
services:
3837
phpfpm:
39-
image: markoshust/magento-php:<< parameters.php-version >>-fpm
38+
image: markoshust/magento-php:<< parameters.php-version >>-fpm !override
4039
EOF
4140
- run:
4241
name: Setup magento enterprise
@@ -64,6 +63,12 @@ jobs:
6463
working_directory: ~/Sites
6564
command: |
6665
bin/magento module:enable Algolia_AlgoliaSearch
66+
- run:
67+
name: Compile AlgoliaSearch extension
68+
working_directory: ~/Sites
69+
command: |
70+
bin/magento setup:di:compile
71+
bin/magento module:status Algolia_AlgoliaSearch
6772
6873
workflows:
6974
magento-build-and-test:

0 commit comments

Comments
 (0)