You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/11/12 06:51:57 UTC

[GitHub] [incubator-apisix] moonming commented on a change in pull request #834: Run test case after using patch file : nginx-1.17.4-balancer_status_code.patch

moonming commented on a change in pull request #834: Run test case after using patch file : nginx-1.17.4-balancer_status_code.patch
URL: https://github.com/apache/incubator-apisix/pull/834#discussion_r345039620
 
 

 ##########
 File path: .travis/linux_tengine_runner.sh
 ##########
 @@ -68,6 +68,65 @@ tengine_install() {
 
     cd openresty-1.15.8.2
 
+    # patching start
+    # https://github.com/alibaba/tengine/issues/1381#issuecomment-541493008
+    # other patches for tengine 2.3.2 from upstream openresty
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-always_enable_cc_feature_tests.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-balancer_status_code.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-cache_manager_exit.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-daemon_destroy_pool.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-delayed_posted_events.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-gcc-maybe-uninitialized-warning.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-hash_overflow.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-init_cycle_pool_release.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-larger_max_error_str.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-log_escape_non_ascii.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-no_Werror.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-pcre_conf_opt.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-proxy_host_port_vars.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-resolver_conf_parsing.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-reuseport_close_unused_fds.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-safe_resolver_ipv6_option.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-single_process_graceful_exit.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-ssl_cert_cb_yield.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-ssl_sess_cb_yield.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-stream_balancer_export.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-stream_proxy_get_next_upstream_tries.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-stream_proxy_timeout_fields.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-stream_ssl_preread_no_skip.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-upstream_pipelining.patch
+    wget -P patches https://raw.githubusercontent.com/openresty/openresty/master/patches/nginx-1.17.4-upstream_timeout_fields.patch
+
+    cd bundle/tengine-2.3.2
+    patch -p1 < ../../patches/nginx-1.17.4-always_enable_cc_feature_tests.patch
+    patch -p1 < ../../patches/nginx-1.17.4-balancer_status_code.patch
+    patch -p1 < ../../patches/nginx-1.17.4-cache_manager_exit.patch
+    patch -p1 < ../../patches/nginx-1.17.4-daemon_destroy_pool.patch
+    patch -p1 < ../../patches/nginx-1.17.4-delayed_posted_events.patch
+    patch -p1 < ../../patches/nginx-1.17.4-gcc-maybe-uninitialized-warning.patch
+    patch -p1 < ../../patches/nginx-1.17.4-hash_overflow.patch
+    patch -p1 < ../../patches/nginx-1.17.4-init_cycle_pool_release.patch
+    patch -p1 < ../../patches/nginx-1.17.4-larger_max_error_str.patch
+    patch -p1 < ../../patches/nginx-1.17.4-log_escape_non_ascii.patch
+    patch -p1 < ../../patches/nginx-1.17.4-no_Werror.patch
+    patch -p1 < ../../patches/nginx-1.17.4-pcre_conf_opt.patch
+    patch -p1 < ../../patches/nginx-1.17.4-proxy_host_port_vars.patch
+    patch -p1 < ../../patches/nginx-1.17.4-resolver_conf_parsing.patch
+    patch -p1 < ../../patches/nginx-1.17.4-reuseport_close_unused_fds.patch
+    patch -p1 < ../../patches/nginx-1.17.4-safe_resolver_ipv6_option.patch
+    patch -p1 < ../../patches/nginx-1.17.4-single_process_graceful_exit.patch
+    patch -p1 < ../../patches/nginx-1.17.4-ssl_cert_cb_yield.patch
+    patch -p1 < ../../patches/nginx-1.17.4-ssl_sess_cb_yield.patch
+    patch -p1 < ../../patches/nginx-1.17.4-stream_balancer_export.patch
+    patch -p1 < ../../patches/nginx-1.17.4-stream_proxy_get_next_upstream_tries.patch
+    patch -p1 < ../../patches/nginx-1.17.4-stream_proxy_timeout_fields.patch
+    patch -p1 < ../../patches/nginx-1.17.4-stream_ssl_preread_no_skip.patch
+    patch -p1 < ../../patches/nginx-1.17.4-upstream_pipelining.patch
+    patch -p1 < ../../patches/nginx-1.17.4-upstream_timeout_fields.patch
 
 Review comment:
   Is there a way to make sure these patches are working properly?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services