This is an automated email from the ASF dual-hosted git repository.

hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-lua-apisix-authz.git


The following commit(s) were added to refs/heads/master by this push:
     new 121c94f  ci: pin OpenResty 1.19.9.1 for APISIX 2.7 compatibility (#13)
121c94f is described below

commit 121c94fd9ce5c91e1a0005f2234e0a4954457eca
Author: Ziyang Dong <[email protected]>
AuthorDate: Fri Aug 7 16:48:39 2026 +0800

    ci: pin OpenResty 1.19.9.1 for APISIX 2.7 compatibility (#13)
---
 .github/workflows/test.yml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 147c11e..4628280 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,16 +16,23 @@ jobs:
       uses: actions/checkout@v2
     - name: Install Dependencies
       run: |
-        wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add 
-
         sudo apt-get update
         sudo apt-get -y install software-properties-common
-        sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu 
$(lsb_release -sc) main"
-        sudo apt-get update
         wget 
https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz
         tar -xvf etcd-v3.4.13-linux-amd64.tar.gz && \
             cd etcd-v3.4.13-linux-amd64 && \
             sudo cp -a etcd etcdctl /usr/bin/
-        sudo apt-get install -y git openresty curl openresty-openssl111-dev 
make gcc
+        sudo apt-get install -y git curl make gcc
+        # Pin OpenResty to 1.19.9.1, which is the version required by Apache
+        # APISIX 2.7 (OpenResty 1.19 + LuaJIT). The latest OpenResty from the
+        # apt repository (1.31.x) is not compatible with APISIX 2.7, so install
+        # the .deb packages directly from the OpenResty package pool.
+        wget 
https://openresty.org/package/ubuntu/pool/main/o/openresty/openresty_1.19.9.1-1~focal1_amd64.deb
+        wget 
https://openresty.org/package/ubuntu/pool/main/o/openresty-openssl111/openresty-openssl111_1.1.1n-1~focal1_amd64.deb
+        wget 
https://openresty.org/package/ubuntu/pool/main/o/openresty-openssl111/openresty-openssl111-dev_1.1.1n-1~focal1_amd64.deb
+        wget 
https://openresty.org/package/ubuntu/pool/main/o/openresty-pcre/openresty-pcre_8.44-1~focal1_amd64.deb
+        wget 
https://openresty.org/package/ubuntu/pool/main/o/openresty-zlib/openresty-zlib_1.2.13-1~focal1_amd64.deb
+        sudo dpkg -i openresty*.deb
         curl 
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
 -o install-luarocks.sh
         chmod +x install-luarocks.sh
         sudo ./install-luarocks.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to