Skip to content

Commit

Permalink
chore: drop support of OpenResty 1.19 (#9913)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinsRan authored Jul 28, 2023
1 parent ccb3568 commit 0a4cbc0
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 36 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- ubuntu-20.04
os_name:
- linux_openresty
- linux_openresty_1_19
test_dir:
- t/plugin/[a-k]*
- t/plugin/[l-z]*
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/kubernetes-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- ubuntu-20.04
os_name:
- linux_openresty
- linux_openresty_1_19

runs-on: ${{ matrix.platform }}
timeout-minutes: 15
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tars-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- ubuntu-20.04
os_name:
- linux_openresty
- linux_openresty_1_19

runs-on: ${{ matrix.platform }}
timeout-minutes: 15
Expand Down
2 changes: 1 addition & 1 deletion apisix/cli/ops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Please modify "admin_key" in conf/config.yaml .
util.die("can not find openresty\n")
end

local need_ver = "1.19.3"
local need_ver = "1.21.4"
if not version_greater_equal(or_ver, need_ver) then
util.die("openresty version must >=", need_ver, " current ", or_ver, "\n")
end
Expand Down
21 changes: 0 additions & 21 deletions ci/linux_openresty_1_19_runner.sh

This file was deleted.

2 changes: 1 addition & 1 deletion t/chaos/utils/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

ARG ENABLE_PROXY=false

FROM openresty/openresty:1.19.3.2-alpine-fat AS production-stage
FROM openresty/openresty:1.21.4.1-alpine-fat AS production-stage

ARG ENABLE_PROXY
ARG APISIX_PATH
Expand Down
6 changes: 1 addition & 5 deletions t/kubernetes/discovery/stream/kubernetes.t
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ use t::APISIX;
my $nginx_binary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
my $version = eval { `$nginx_binary -V 2>&1` };

if ($version =~ m/\/1.19.3/) {
plan(skip_all => "require OpenResty version >= 1.19.9.1");
} else {
plan('no_plan');
}
plan('no_plan');

repeat_each(1);
log_level('warn');
Expand Down
6 changes: 1 addition & 5 deletions t/tars/discovery/stream/tars.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ use t::APISIX;
my $nginx_binary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
my $version = eval { `$nginx_binary -V 2>&1` };

if ($version =~ m/\/1.19.3/) {
plan(skip_all => "require OpenResty version >= 1.19.9.1");
} else {
plan('no_plan');
}
plan('no_plan');

repeat_each(1);
log_level('warn');
Expand Down

0 comments on commit 0a4cbc0

Please sign in to comment.