This is an automated email from the ASF dual-hosted git repository.
monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 95e36ba50 ci: replace openresty with apisix-runtime (#10513)
95e36ba50 is described below
commit 95e36ba50c1396fe283ed1c2b8559177921d4cf8
Author: Sn0rt <[email protected]>
AuthorDate: Fri Nov 17 17:08:07 2023 +0800
ci: replace openresty with apisix-runtime (#10513)
---
.github/workflows/fuzzing-ci.yaml | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/fuzzing-ci.yaml
b/.github/workflows/fuzzing-ci.yaml
index 4d313ebfe..3bf9b74e8 100644
--- a/.github/workflows/fuzzing-ci.yaml
+++ b/.github/workflows/fuzzing-ci.yaml
@@ -43,14 +43,25 @@ jobs:
run: |
project_compose_ci=ci/pod/docker-compose.common.yml make ci-env-up
+ - name: Linux Before install
+ run: sudo ./ci/linux_openresty_runner.sh before_install
+
+ - name: Linux Install
+ run: |
+ sudo --preserve-env=OPENRESTY_VERSION \
+ ./ci/linux_openresty_runner.sh do_install
+
- name: run apisix
run: |
+ source ./ci/common.sh
+ export_version_info
+ export_or_prefix
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
- sudo apt-get install -y git openresty curl openresty-openssl111-dev
unzip make gcc libldap2-dev
+ sudo apt-get install -y git curl openresty-openssl111-dev unzip make
gcc libldap2-dev
./utils/linux-install-luarocks.sh
make deps
@@ -59,7 +70,10 @@ jobs:
- name: run upstream
run: |
- sudo openresty -c $PWD/t/fuzzing/upstream/nginx.conf
+ source ./ci/common.sh
+ export_version_info
+ export_or_prefix
+ sudo /usr/local/openresty/bin/openresty -c
$PWD/t/fuzzing/upstream/nginx.conf
- name: install boofuzz
run: |
@@ -69,6 +83,9 @@ jobs:
- name: run tests
run: |
+ source ./ci/common.sh
+ export_version_info
+ export_or_prefix
export APISIX_FUZZING_PWD=$PWD
python $PWD/t/fuzzing/simpleroute_test.py
python $PWD/t/fuzzing/serverless_route_test.py