autocompute cassandra php driver repository depending on php version

This commit is contained in:
fidanf 2022-10-04 16:57:44 +02:00
parent f64d3a17bb
commit 744e05410d
1 changed files with 4 additions and 1 deletions

View File

@ -153,7 +153,10 @@ php_source_configure_command: >
# cassandra driver
php_cassandra_php_driver_install: yes
php_cassandra_php_driver_cleanup_build: yes
php_cassandra_php_driver_repo: https://github.com/datastax/php-driver
php_cassandra_php_driver_repo: "{{
'https://github.com/rgsystemes/php-driver' if php_default_version_debian is defined and php_default_version_debian is version('8.0', '>=')
else 'https://github.com/datastax/php-driver'
}}"
php_cassandra_php_driver_version: master
php_cassandra_php_driver_build_dependencies:
- git