Commit e3e38b81 authored by Paul Yang's avatar Paul Yang Committed by GitHub

Update commit id in Dockerfile to trigger update. (#2467)

parent 4474c042
...@@ -148,7 +148,11 @@ RUN php composer-setup.php ...@@ -148,7 +148,11 @@ RUN php composer-setup.php
RUN mv composer.phar /usr/bin/composer RUN mv composer.phar /usr/bin/composer
RUN php -r "unlink('composer-setup.php');" RUN php -r "unlink('composer-setup.php');"
RUN cd /tmp && \ RUN cd /tmp && \
cd protobuf/php && \ rm -rf protobuf && \
git clone https://github.com/google/protobuf.git && \
cd protobuf && \
git reset 46ae90dc5e145b12fffa7e053a908a9f3e066286 && \
cd php && \
ln -sfn /usr/bin/php5.5 /usr/bin/php && \ ln -sfn /usr/bin/php5.5 /usr/bin/php && \
ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \ ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \
ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \ ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \
......
...@@ -64,7 +64,7 @@ RUN php -r "unlink('composer-setup.php');" ...@@ -64,7 +64,7 @@ RUN php -r "unlink('composer-setup.php');"
RUN cd /tmp && \ RUN cd /tmp && \
git clone https://github.com/google/protobuf.git && \ git clone https://github.com/google/protobuf.git && \
cd protobuf/php && \ cd protobuf/php && \
git reset 734930f9197b7bc97c3c794c7a949fee2a08c280 && \ git reset 46ae90dc5e145b12fffa7e053a908a9f3e066286 && \
ln -sfn /usr/bin/php5.5 /usr/bin/php && \ ln -sfn /usr/bin/php5.5 /usr/bin/php && \
ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \ ln -sfn /usr/bin/php-config5.5 /usr/bin/php-config && \
ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \ ln -sfn /usr/bin/phpize5.5 /usr/bin/phpize && \
......
...@@ -214,9 +214,6 @@ std::string GeneratedMetadataFileName(const std::string& proto_file, ...@@ -214,9 +214,6 @@ std::string GeneratedMetadataFileName(const std::string& proto_file,
result += UnderscoresToCamelCase( result += UnderscoresToCamelCase(
file_no_suffix.substr(start_index, first_index - start_index), true); file_no_suffix.substr(start_index, first_index - start_index), true);
result += "/"; result += "/";
GOOGLE_LOG(INFO) << start_index << " " << first_index;
GOOGLE_LOG(INFO) << file_no_suffix.substr(start_index,
first_index - start_index);
start_index = first_index + 1; start_index = first_index + 1;
first_index = file_no_suffix.find_first_of("/", start_index); first_index = file_no_suffix.find_first_of("/", start_index);
} }
......
...@@ -327,6 +327,8 @@ build_jruby() { ...@@ -327,6 +327,8 @@ build_jruby() {
build_ruby_all() { build_ruby_all() {
build_ruby21 build_ruby21
build_ruby22 build_ruby22
# TODO(teboring): Disable jruby test temperarily for it randomly fails.
# https://grpc-testing.appspot.com/job/protobuf_pull_request/735/consoleFull.
build_jruby build_jruby
} }
...@@ -386,10 +388,11 @@ use_php_bc() { ...@@ -386,10 +388,11 @@ use_php_bc() {
build_php5.5() { build_php5.5() {
use_php 5.5 use_php 5.5
cd php pushd php
rm -rf vendor rm -rf vendor
cp -r /usr/local/vendor-5.5 vendor cp -r /usr/local/vendor-5.5 vendor
./vendor/bin/phpunit ./vendor/bin/phpunit
popd
} }
build_php5.5_c() { build_php5.5_c() {
...@@ -405,10 +408,11 @@ build_php5.5_zts_c() { ...@@ -405,10 +408,11 @@ build_php5.5_zts_c() {
build_php5.5_32() { build_php5.5_32() {
use_php_bc 5.5 use_php_bc 5.5
cd php pushd php
rm -rf vendor rm -rf vendor
cp -r /usr/local/vendor-5.5 vendor cp -r /usr/local/vendor-5.5 vendor
./vendor/bin/phpunit ./vendor/bin/phpunit
popd
} }
build_php5.5_c_32() { build_php5.5_c_32() {
...@@ -419,10 +423,11 @@ build_php5.5_c_32() { ...@@ -419,10 +423,11 @@ build_php5.5_c_32() {
build_php5.6() { build_php5.6() {
use_php 5.6 use_php 5.6
cd php pushd php
rm -rf vendor rm -rf vendor
cp -r /usr/local/vendor-5.6 vendor cp -r /usr/local/vendor-5.6 vendor
./vendor/bin/phpunit ./vendor/bin/phpunit
popd
} }
build_php5.6_c() { build_php5.6_c() {
...@@ -453,10 +458,11 @@ build_php5.6_mac() { ...@@ -453,10 +458,11 @@ build_php5.6_mac() {
build_php7.0() { build_php7.0() {
use_php 7.0 use_php 7.0
cd php pushd php
rm -rf vendor rm -rf vendor
cp -r /usr/local/vendor-7.0 vendor cp -r /usr/local/vendor-7.0 vendor
./vendor/bin/phpunit ./vendor/bin/phpunit
popd
} }
build_php7.0_c() { build_php7.0_c() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment