Skip to content

Commit d0e639e

Browse files
Add enable algoliasearhc extension
1 parent 7ef8390 commit d0e639e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.circleci/config.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
type: string
1818
magento-version:
1919
type: string
20+
working_directory: ~/Sites
2021
steps:
2122
- checkout
2223
- php/install_php:
@@ -26,14 +27,8 @@ jobs:
2627
name: Configure composer authentication
2728
command: |
2829
composer config --global http-basic.repo.magento.com ${MAGENTO_AUTH_USERNAME} ${MAGENTO_AUTH_PASSWORD}
29-
- run:
30-
name: Configure folders
31-
command: |
32-
mkdir -p ~/Sites
33-
cd ~/Sites
3430
- run:
3531
name: Configure Docker compose override file
36-
working_directory: ~/Sites
3732
command: |
3833
cat \<<EOF > docker-compose.override.yml
3934
version: "3.7"
@@ -44,7 +39,6 @@ jobs:
4439
EOF
4540
- run:
4641
name: Setup magento enterprise
47-
working_directory: ~/Sites
4842
command: |
4943
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
5044
bin/start --no-dev
@@ -54,6 +48,18 @@ jobs:
5448
bin/cli git checkout tags/<< parameters.magento-version >>>-develop
5549
bin/composer install
5650
bin/composer require algolia/algoliasearch-client-php "^4.0"
51+
- run:
52+
name: Configure AlgoliaSearch extension
53+
command: |
54+
mv ~/project AlgoliaSearch
55+
bin/copytocontainer ~/AlgoliaSearch
56+
bin/cli mkdir src/app/code/Algolia
57+
bin/cli mv AlgoliaSearch src/app/code/Algolia
58+
- run:
59+
name: Enable AlgoliaSearch extension
60+
command: |
61+
bin/magento module:enable Algolia_AlgoliaSearch
62+
5763
5864
workflows:
5965
magento-build-and-test:

0 commit comments

Comments
 (0)