-
Notifications
You must be signed in to change notification settings - Fork 82
Conversation
Fix for GoogleCloudPlatform#529 Enable Verbose Debugging for gcloud build Authorize service account in install_test_dependencies.sh Remove Unsupported Versions < 7.3 Update PHP versions to latest releases Update PHPUnit to v9.5.4 for all tests Build and include librabbitmq as library for amqp extension Use Datastax's libuv1 library package Use updated pecl extension versions Disable apcu_bc extension for newer versions Update Couchbase to v3 Switch to container-structure-test Use the ev extension when testing for shared, disabled extension Make the container for the Test Runner base image configurable using env Update `check_versions.sh` to include substition for container registry Use apcu extension in php80 instead of apcu_bc Use bionic package for libvips Disable build of sodium extension, it is included natively Use latest release from github for pq extension Use latest release from github for raphf extension Create xmlrpc extension Update tests to use v5 of `symfony/browser-kit` Disable stackdriver_debugger for php8
Thanks for this PR, do we have any estimation when this PR will be merged and docker image will be released? I'm in need of upgrading to 7.4 to leverage some new features. |
@@ -43,19 +43,20 @@ We currently support the latest patch version of 5.6, 7.0, 7.1, and 7.2. See | |||
* SeasLog | |||
* stackdriver_debugger | |||
* stomp | |||
* suhosin | |||
* suhosin (5.6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since 5.6
isn't supported anymore wouldn't this be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what the policy is regarding removing support for previous versions.
If it was not removed when support was added for 7.+ then why should I be the one to remove it?
@@ -12,7 +12,7 @@ PNAME="gcp-php${SHORT_VERSION}-apcu" | |||
if [ ${SHORT_VERSION} == '56' ]; then | |||
download_from_pecl apcu 4.0.11 | |||
else | |||
download_from_pecl apcu | |||
download_from_pecl apcu 5.1.20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why lock the version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I ensure that the latest version will be selected? Is it possible to specify a range of versions that can be used? (Similar to how composer or npm/yarn allows you to specify a minimum version, for example)
@@ -6,7 +6,7 @@ echo "Building apm for gcp-php${SHORT_VERSION}" | |||
|
|||
PNAME="gcp-php${SHORT_VERSION}-apm" | |||
|
|||
if [ ${SHORT_VERSION} == '56' ]; then | |||
if [ ${SHORT_VERSION} == '56' ] || [ ${SHORT_VERSION} == '80' ]; then | |||
echo "apm extension only for PHP 7.0+, relies on removed json.h for PHP 5.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this message should be updated to say it doesn't work on 8.0
, as well. It only references 5.6
but with the additional condition it's no longer accurate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could change the message to say apm extension only for PHP 7.*, relies on removed json.h for PHP 5.6
@@ -9,6 +9,6 @@ echo "Building mongodb for gcp-php${SHORT_VERSION}" | |||
PNAME="gcp-php${SHORT_VERSION}-mongodb" | |||
|
|||
# Download the source | |||
download_from_pecl mongodb | |||
download_from_pecl mongodb 1.9.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why lock the version here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment above about apcu
Reviewing this PR. While running the package-builder cloudbuild: We get this error: |
This might be due to the sqlite3 package not being installed? Perhaps |
Actually this in the package-builder/Dockerfile, which definitely has libsqlite3-0 in it already. I think potentially the issue is that we've got conflicting options for ./configure: It is either that OR the fact that the pdo_sqlite page (https://www.php.net/manual/en/ref.pdo-sqlite.php) says: |
I was referring to that as well, I think the That was one of the bigger challenges or questions I had - what is the philosophy or approach to maintaining previous versions that are no longer supported? |
@donmccasland When do we get review :) |
@donmccasland When do we get review :) +1 |
@tiptopcoder @andreladocruz @derekherman please review someone :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me... it's approved =)
Hey folks, thanks to frost-byte for this massive patch! I just finished reviewing it and everything looks right. Let's merge it and try to get a build of this up. |
@donmccasland, news about these new builds? Still missing php 7.4 and 8.0 in flex environment. |
Fix for #529
Enable Verbose Debugging for gcloud build
Authorize service account in install_test_dependencies.sh
Remove Unsupported Versions < 7.3
Update PHP versions to latest releases
Update PHPUnit to v9.5.4 for all tests
Build and include librabbitmq as library for amqp extension
Use Datastax's libuv1 library package
Use updated pecl extension versions
Disable apcu_bc extension for newer versions
Update Couchbase to v3
Switch to container-structure-test
Use the ev extension when testing for shared, disabled extension
Make the container for the Test Runner base image configurable using env
Update
check_versions.sh
to include substition for container registryUse apcu extension in php80 instead of apcu_bc
Use bionic package for libvips
Disable build of sodium extension, it is included natively
Use latest release from github for pq extension
Use latest release from github for raphf extension
Create xmlrpc extension
Update tests to use v5 of
symfony/browser-kit
Disable stackdriver_debugger for php8
See previous pr for some additional details