Skip to content

Commit f434e1b

Browse files
authored
chore: use apisix-runtime 1.3.6 (#13412)
1 parent 6dd6a34 commit f434e1b

12 files changed

Lines changed: 14 additions & 32 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
timeout-minutes: 90
3939
env:
4040
SERVER_NAME: ${{ matrix.os_name }}
41-
OPENRESTY_VERSION: default
4241

4342
steps:
4443
- name: Check out code
@@ -87,8 +86,7 @@ jobs:
8786

8887
- name: Linux Install
8988
run: |
90-
sudo --preserve-env=OPENRESTY_VERSION \
91-
./ci/${{ matrix.os_name }}_runner.sh do_install
89+
sudo ./ci/${{ matrix.os_name }}_runner.sh do_install
9290
9391
- name: Linux launch common services
9492
run: |

.github/workflows/cli.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
timeout-minutes: 30
3535
env:
3636
SERVER_NAME: ${{ matrix.job_name }}
37-
OPENRESTY_VERSION: default
3837

3938
steps:
4039
- name: Check out code
@@ -60,8 +59,7 @@ jobs:
6059

6160
- name: Linux Install
6261
run: |
63-
sudo --preserve-env=OPENRESTY_VERSION \
64-
./ci/${{ matrix.job_name }}_runner.sh do_install
62+
sudo ./ci/${{ matrix.job_name }}_runner.sh do_install
6563
6664
- name: Linux Script
6765
run: |

.github/workflows/code-lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
run: |
2121
. ./ci/common.sh
2222
export_or_prefix
23-
export OPENRESTY_VERSION=default
2423
2524
sudo -E ./ci/linux-install-openresty.sh
2625
./utils/linux-install-luarocks.sh

.github/workflows/gm-cron.yaml.disabled

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
timeout-minutes: 90
2828
env:
2929
SERVER_NAME: ${{ matrix.os_name }}
30-
OPENRESTY_VERSION: default
3130

3231
# TODO: refactor the workflows to reduce duplicate parts. Maybe we can write them in shell
3332
# scripts or a separate action?
@@ -166,8 +165,7 @@ jobs:
166165

167166
- name: Linux Install
168167
run: |
169-
sudo --preserve-env=OPENRESTY_VERSION \
170-
./ci/${{ matrix.os_name }}_runner.sh do_install
168+
sudo ./ci/${{ matrix.os_name }}_runner.sh do_install
171169

172170
- name: Linux Script
173171
env:

.github/workflows/gm.yml.disabled

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
timeout-minutes: 90
3636
env:
3737
SERVER_NAME: ${{ matrix.os_name }}
38-
OPENRESTY_VERSION: default
3938

4039
steps:
4140
- name: Check out code
@@ -83,8 +82,7 @@ jobs:
8382

8483
- name: Linux Do install
8584
run: |
86-
sudo --preserve-env=OPENRESTY_VERSION \
87-
./ci/${{ matrix.os_name }}_runner.sh do_install
85+
sudo ./ci/${{ matrix.os_name }}_runner.sh do_install
8886

8987
- name: Linux Script
9088
env:

.github/workflows/kubernetes-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
timeout-minutes: 15
3434
env:
3535
SERVER_NAME: ${{ matrix.os_name }}
36-
OPENRESTY_VERSION: default
3736

3837
steps:
3938
- name: Check out code
@@ -74,7 +73,7 @@ jobs:
7473
- name: Linux Install
7574
run: |
7675
sudo ./ci/${{ matrix.os_name }}_runner.sh before_install
77-
sudo --preserve-env=OPENRESTY_VERSION ./ci/${{ matrix.os_name }}_runner.sh do_install
76+
sudo ./ci/${{ matrix.os_name }}_runner.sh do_install
7877
7978
- name: Run test cases
8079
run: |

.github/workflows/tars-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
timeout-minutes: 15
3434
env:
3535
SERVER_NAME: ${{ matrix.os_name }}
36-
OPENRESTY_VERSION: default
3736

3837
steps:
3938
- name: Check out code
@@ -48,7 +47,7 @@ jobs:
4847
- name: Linux Install
4948
run: |
5049
sudo ./ci/${{ matrix.os_name }}_runner.sh before_install
51-
sudo --preserve-env=OPENRESTY_VERSION ./ci/${{ matrix.os_name }}_runner.sh do_install
50+
sudo ./ci/${{ matrix.os_name }}_runner.sh do_install
5251
5352
- name: Run test cases
5453
run: |

.requirements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717

1818
APISIX_PACKAGE_NAME=apisix
1919

20-
APISIX_RUNTIME=1.3.5
20+
APISIX_RUNTIME=1.3.6
2121
APISIX_DASHBOARD_COMMIT=bbe05ad95396f90db03d831660f454c2844d906e

ci/linux-install-openresty.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,13 @@ sudo apt-get install -y openresty-pcre-dev openresty-zlib-dev build-essential gc
4040
SSL_LIB_VERSION=${SSL_LIB_VERSION-openssl}
4141
ENABLE_FIPS=${ENABLE_FIPS:-"false"}
4242

43-
if [ "$OPENRESTY_VERSION" == "source" ]; then
44-
if [ "$SSL_LIB_VERSION" == "tongsuo" ]; then
45-
export openssl_prefix=/usr/local/tongsuo
46-
export zlib_prefix=$OPENRESTY_PREFIX/zlib
47-
export pcre_prefix=$OPENRESTY_PREFIX/pcre
48-
49-
export cc_opt="-DNGX_LUA_ABORT_AT_PANIC -I${zlib_prefix}/include -I${pcre_prefix}/include -I${openssl_prefix}/include"
50-
export ld_opt="-L${zlib_prefix}/lib -L${pcre_prefix}/lib -L${openssl_prefix}/lib64 -Wl,-rpath,${zlib_prefix}/lib:${pcre_prefix}/lib:${openssl_prefix}/lib64"
51-
fi
43+
if [ "$SSL_LIB_VERSION" == "tongsuo" ]; then
44+
export openssl_prefix=/usr/local/tongsuo
45+
export zlib_prefix=$OPENRESTY_PREFIX/zlib
46+
export pcre_prefix=$OPENRESTY_PREFIX/pcre
47+
48+
export cc_opt="-DNGX_LUA_ABORT_AT_PANIC -I${zlib_prefix}/include -I${pcre_prefix}/include -I${openssl_prefix}/include"
49+
export ld_opt="-L${zlib_prefix}/lib -L${pcre_prefix}/lib -L${openssl_prefix}/lib64 -Wl,-rpath,${zlib_prefix}/lib:${pcre_prefix}/lib:${openssl_prefix}/lib64"
5250
fi
5351

5452
install_apisix_runtime

ci/linux_apisix_current_luarocks_in_customed_nginx_runner.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@
1616
# limitations under the License.
1717
#
1818

19-
20-
export OPENRESTY_VERSION=source
2119
. ./ci/linux_apisix_current_luarocks_runner.sh

0 commit comments

Comments
 (0)