File tree 5 files changed +20
-235
lines changed
5 files changed +20
-235
lines changed Original file line number Diff line number Diff line change 34
34
test_dir :
35
35
- t/plugin/[a-k]*
36
36
- t/plugin/[l-z]*
37
- - t/admin t/cli t/config-center-yaml t/control t/core t/debug t/discovery t/error_page t/misc
37
+ - t/admin t/cli t/config-center-yaml t/control t/core t/debug t/discovery t/error_page t/http3/admin t/ misc
38
38
- t/node t/pubsub t/router t/script t/secret t/stream-node t/utils t/wasm t/xds-library t/xrpc
39
39
40
40
runs-on : ${{ matrix.platform }}
89
89
run : |
90
90
bash ./ci/free_disk_space.sh
91
91
92
+ - name : Linux Before install
93
+ run : sudo ./ci/${{ matrix.os_name }}_runner.sh before_install
94
+
95
+ - name : Linux Install
96
+ run : |
97
+ sudo --preserve-env=OPENRESTY_VERSION \
98
+ ./ci/${{ matrix.os_name }}_runner.sh do_install
99
+
92
100
- name : Linux launch common services
93
101
run : |
94
102
make ci-env-up project_compose_ci=ci/pod/docker-compose.common.yml
@@ -174,14 +182,6 @@ jobs:
174
182
sudo dpkg -i tinygo_${TINYGO_VER}_amd64.deb
175
183
cd t/wasm && find . -type f -name "*.go" | xargs -Ip tinygo build -o p.wasm -scheduler=none -target=wasi p
176
184
177
- - name : Linux Before install
178
- run : sudo ./ci/${{ matrix.os_name }}_runner.sh before_install
179
-
180
- - name : Linux Install
181
- run : |
182
- sudo --preserve-env=OPENRESTY_VERSION \
183
- ./ci/${{ matrix.os_name }}_runner.sh do_install
184
-
185
185
- name : Linux Script
186
186
env :
187
187
TEST_FILE_SUB_DIR : ${{ matrix.test_dir }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -67,16 +67,10 @@ rerun_flaky_tests() {
67
67
}
68
68
69
69
install_curl () {
70
- CURL_VERSION=" 7.88.0"
71
- wget -q https://curl.se/download/curl-${CURL_VERSION} .tar.gz
72
- tar -xzf curl-${CURL_VERSION} .tar.gz
73
- cd curl-${CURL_VERSION}
74
- ./configure --prefix=/usr/local --with-openssl --with-nghttp2
75
- make
76
- sudo make install
77
- sudo ldconfig
78
- cd ..
79
- rm -rf curl-${CURL_VERSION}
70
+ CURL_VERSION=" 8.13.0"
71
+ wget -q https://github.com/stunnel/static-curl/releases/download/${CURL_VERSION} /curl-linux-x86_64-glibc-${CURL_VERSION} .tar.xz
72
+ tar -xf curl-linux-x86_64-glibc-${CURL_VERSION} .tar.xz
73
+ sudo cp curl /usr/bin
80
74
curl -V
81
75
}
82
76
@@ -171,9 +165,13 @@ GRPC_SERVER_EXAMPLE_VER=20210819
171
165
172
166
linux_get_dependencies () {
173
167
apt update
174
- apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev
168
+ apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev xz-utils
169
+ apt remove -y curl
175
170
apt-get install -y libyaml-dev
176
171
wget https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
172
+
173
+ # install curl with http3 support
174
+ install_curl
177
175
}
178
176
179
177
function start_grpc_server_example() {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ install_dependencies() {
31
31
32
32
# install newer curl
33
33
yum makecache
34
- yum install -y libnghttp2-devel
34
+ yum install -y xz
35
35
install_curl
36
36
37
37
# install apisix-runtime to make apisix's rpm test work
Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ _EOC_
743
743
listen 1994 quic reuseport;
744
744
listen 1994 ssl;
745
745
http2 on;
746
- http3 off ;
746
+ http3 on ;
747
747
ssl_certificate cert/apisix.crt;
748
748
ssl_certificate_key cert/apisix.key;
749
749
lua_ssl_trusted_certificate $custom_trusted_cert ;
You can’t perform that action at this time.
0 commit comments