Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8959: Included AI packages in all PHP versions on v4.6 #96

Merged
merged 2 commits into from
Nov 19, 2024
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
3 changes: 1 addition & 2 deletions bin/4.6.x-dev/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ docker exec install_dependencies composer recipes:install ${DEPENDENCY_PACKAGE_N
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" ]] && [[ $PHP_IMAGE == *"8.3"* ]]; then
# openai-php/client requires PHP 8.1+, v4.6 test matrix has PHP 7.4, 8.0, 8.3
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
Expand Down
1 change: 0 additions & 1 deletion bin/5.0.x-dev/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION i

# Install opt-in packages
if [[ "$PROJECT_EDITION" != "oss" ]]; then
# openai-php/client requires PHP 8.1+, v5.0 test matrix has PHP 8.3 only
# 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
Expand Down
3 changes: 1 addition & 2 deletions bin/stable/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ if [[ $PROJECT_VERSION == *"v3.3"* ]]; then
else
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" ]] && [[ $PHP_IMAGE == *"8.3"* ]]; then
# openai-php/client requires PHP 8.1+, v4.6 test matrix has PHP 7.4, 8.0, 8.3
if [[ "$PROJECT_EDITION" != "oss" ]]; then
echo "> Installing opt-in packages"
# 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 --with-all-dependencies --no-scripts --ansi
Expand Down
Loading