From 04f4a8994478fa233532065a53354e14a5dd3f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Tue, 27 Feb 2024 14:01:40 +0100 Subject: [PATCH] exclude elastic from oss setup --- bin/.travis/prepare_multirepository_setup.sh | 6 +++++- .../setup/multirepository/multirepository_elastic.feature | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/.travis/prepare_multirepository_setup.sh b/bin/.travis/prepare_multirepository_setup.sh index c997fa9e..5808d107 100755 --- a/bin/.travis/prepare_multirepository_setup.sh +++ b/bin/.travis/prepare_multirepository_setup.sh @@ -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 [[ -n "${SATIS_NETWORK_KEY}" ]]; 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 diff --git a/features/setup/multirepository/multirepository_elastic.feature b/features/setup/multirepository/multirepository_elastic.feature index a2ec9442..805d6830 100644 --- a/features/setup/multirepository/multirepository_elastic.feature +++ b/features/setup/multirepository/multirepository_elastic.feature @@ -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" """