Skip to content

Commit

Permalink
Enable stackdriver_debugger, bitset, igbinary extensions (GoogleCloud…
Browse files Browse the repository at this point in the history
…Platform#405)

* Enable stackdriver_debugger, bitset, igbinary in the extension enabler

* Adding extension tests for bitset, igbinary for extension enabler

* stackdriver debugger package name is hyphenated
  • Loading branch information
chingor13 authored Jan 3, 2018
1 parent ca2633d commit f4a4740
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 4 deletions.
6 changes: 5 additions & 1 deletion php-base/build-scripts/install_extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,18 @@ class InstallExtensions
'protobuf',
'raphf',
'rdkafka',
'redis'
'redis',
'stackdriver_debugger'
];
const AVAILABLE_EXTENSIONS_TO_INSTALL = [
'amqp',
'apm',
'bitset',
'couchbase',
'ds',
'eio',
'hprose',
'igbinary',
'jsond',
'krb5',
'lua',
Expand All @@ -84,6 +87,7 @@ class InstallExtensions
'memcache' => ['7.0', '7.1', '7.2'],
'opencensus' => ['5.6'],
'phalcon' => ['7.1', '7.2'],
'stackdriver_debugger' => ['5.6'],
'v8js' => ['5.6'],
'vips' => ['5.6'],
'yaconf' => ['5.6']
Expand Down
1 change: 1 addition & 0 deletions php-base/build-scripts/install_php70.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ apt-get install -y \
gcp-php70-protobuf \
gcp-php70-rdkafka \
gcp-php70-redis \
gcp-php70-stackdriver-debugger \
--no-install-recommends

# Enable some extensions for backward compatibility
Expand Down
1 change: 1 addition & 0 deletions php-base/build-scripts/install_php71.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ apt-get install -y \
gcp-php71-protobuf \
gcp-php71-rdkafka \
gcp-php71-redis \
gcp-php71-stackdriver-debugger \
--no-install-recommends

# Enable some extensions for backward compatibility
Expand Down
1 change: 1 addition & 0 deletions php-base/build-scripts/install_php72.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ apt-get install -y \
gcp-php72-protobuf \
gcp-php72-rdkafka \
gcp-php72-redis \
gcp-php72-stackdriver-debugger \
libsodium18 \
--no-install-recommends

Expand Down
4 changes: 3 additions & 1 deletion testapps/php56_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"ext-pq": "*",
"ext-rdkafka": "*",
"ext-cassandra": "*",
"ext-protobuf": "*"
"ext-protobuf": "*",
"ext-bitset": "*",
"ext-igbinary": "*"
}
}
2 changes: 2 additions & 0 deletions testapps/php56_extensions/tests/ExtensionsLoadedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ public function extensions()
{
return [
['amqp'],
['bitset'],
['eio'],
['hprose'],
['igbinary'],
['jsond'],
['krb5'],
['lzf'],
Expand Down
6 changes: 5 additions & 1 deletion testapps/php70_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
"ext-pq": "*",
"ext-rdkafka": "*",
"ext-cassandra": "*",
"ext-protobuf": "*"
"ext-protobuf": "*",
"ext-stackdriver_debugger": "*",
"ext-opencensus": "*",
"ext-bitset": "*",
"ext-igbinary": "*"
}
}
4 changes: 4 additions & 0 deletions testapps/php70_extensions/tests/ExtensionsLoadedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,20 @@ public function extensions()
return [
['amqp'],
['apm'],
['bitset'],
['couchbase'],
['ds'],
['eio'],
['hprose'],
['igbinary'],
['jsond'],
['krb5'],
['lua'],
['lzf'],
['memprof'],
['opencensus'],
['seaslog'],
['stackdriver_debugger'],
['stomp'],
['swoole'],
['sync'],
Expand Down
6 changes: 5 additions & 1 deletion testapps/php71_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
"ext-pq": "*",
"ext-rdkafka": "*",
"ext-cassandra": "*",
"ext-protobuf": "*"
"ext-protobuf": "*",
"ext-stackdriver_debugger": "*",
"ext-opencensus": "*",
"ext-bitset": "*",
"ext-igbinary": "*"
}
}
4 changes: 4 additions & 0 deletions testapps/php71_extensions/tests/ExtensionsLoadedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,20 @@ public function extensions()
return [
['amqp'],
['apm'],
['bitset'],
['couchbase'],
['ds'],
['eio'],
['hprose'],
['igbinary'],
['jsond'],
['krb5'],
['lua'],
['lzf'],
['memprof'],
['opencensus'],
['seaslog'],
['stackdriver_debugger'],
['stomp'],
['swoole'],
['sync'],
Expand Down

0 comments on commit f4a4740

Please sign in to comment.