Skip to content

Commit

Permalink
exclude elastic from oss setup
Browse files Browse the repository at this point in the history
  • Loading branch information
micszo committed Feb 27, 2024
1 parent 175c3d0 commit c5269f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/.travis/prepare_multirepository_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ docker-compose exec -T --user www-data app sh -c "php bin/console doctrine:datab
docker-compose exec -T --user www-data app sh -c 'php bin/console cache:pool:clear ${CACHE_POOL:-cache.tagaware.filesystem}'

# Run setup
docker-compose exec -T --user www-data app sh -c "vendor/bin/ibexabehat --mode=standard --profile=setup --suite=multirepository -c=behat_ibexa_oss.yaml"
if [[ "$PROJECT_EDITION" == "oss" ]]; then
docker-compose exec -T --user www-data app sh -c "vendor/bin/ibexabehat --mode=standard --profile=setup --suite=multirepository -c=behat_ibexa_oss.yaml --tags=~@IbexaContent&&~@IbexaExperience&&~@IbexaCommerce"
else
docker-compose exec -T --user www-data app sh -c "vendor/bin/ibexabehat --mode=standard --profile=setup --suite=multirepository -c=behat_ibexa_oss.yaml"
fi
docker-compose exec -T --user www-data app sh -c "composer run post-install-cmd"

# Reinstal database using the new repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Feature: Multirepository setup for testing with Elastic

@multirepository
@multirepository @IbexaContent @IbexaExperience @IbexaCommerce
Scenario: Set up new connection and make the default one unaccessible
Given I append configuration to "parameters" in "config/packages/ibexa_elasticsearch.yaml"
"""
Expand Down

0 comments on commit c5269f4

Please sign in to comment.