Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions bin/5.0.x-dev/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ docker exec install_dependencies composer recipes:install ${DEPENDENCY_PACKAGE_N
# Install Behat and Docker packages
docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION ibexa/docker:$PROJECT_VERSION --no-scripts --ansi --no-update

# Install opt-in packages
if [[ "$PROJECT_EDITION" != "oss" ]]; then
# ibexa/connector-qualifio is already being installed with the project
docker exec install_dependencies composer require ibexa/connector-ai:$PROJECT_VERSION ibexa/connector-openai:$PROJECT_VERSION --no-scripts --ansi --no-update
fi
if [[ "$PROJECT_EDITION" == "commerce" ]]; then
docker exec install_dependencies composer require ibexa/discounts:$PROJECT_VERSION ibexa/discounts-codes:$PROJECT_VERSION --no-scripts --ansi --no-update
fi

# Add other dependencies if required
if [ -f dependencies.json ]; then
COUNT=$(cat dependencies.json | jq '.packages | length' )
Expand Down
5 changes: 4 additions & 1 deletion bin/stable/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi
if [[ $PROJECT_VERSION == *"v3.3"* ]]; then
echo "> Installing dependencies for 3.3"
docker exec install_dependencies composer require ezsystems/behatbundle:^8.3 ibexa/docker:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
else
elif [[ $PROJECT_VERSION == *"v4.6"* ]]; then
echo "> Installing dependencies for v4"
docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION ibexa/docker:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
if [[ "$PROJECT_EDITION" != "oss" ]]; then
Expand All @@ -56,6 +56,9 @@ else
if [[ "$PROJECT_EDITION" == "commerce" ]]; then
docker exec install_dependencies composer require ibexa/discounts:$PROJECT_VERSION ibexa/discounts-codes:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
fi
else
echo "> Installing dependencies for v5"
docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION ibexa/docker:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
fi

# Enable FriendsOfBehat SymfonyExtension in the Behat env
Expand Down
Loading