Skip to content

Commit 5dd52bb

Browse files
authored
IBX-10495: Relaxed pattern for put index template step (#120)
* IBX-10495: Relax pattern for put index template * Covered stable
1 parent b5422ac commit 5dd52bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/5.0.x-dev/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ echo '> Clear cache & generate assets'
168168
docker compose --env-file=.env exec -T --user www-data app sh -c "NODE_OPTIONS='--max-old-space-size=3072' composer run post-install-cmd --ansi"
169169

170170
echo '> Install data'
171-
if [[ "$COMPOSE_FILE" == *"elastic.yml"* ]]; then
171+
if [[ "$COMPOSE_FILE" == *"elastic"*.yml ]]; then
172172
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:elasticsearch:put-index-template"
173173
fi
174174
docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php; php bin/console ibexa:install --skip-indexing --no-interaction"

bin/stable/prepare_project_edition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ else
9393
fi
9494

9595
echo '> Install data'
96-
if [[ "$COMPOSE_FILE" == *"elastic.yml"* ]]; then
96+
if [[ "$COMPOSE_FILE" == *"elastic"*.yml ]]; then
9797
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:elasticsearch:put-index-template"
9898
fi
9999
docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php; php bin/console ibexa:install --skip-indexing --no-interaction"

0 commit comments

Comments
 (0)