From b3851a634c98660ef6559e35e4e059e6c761f9db Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Thu, 2 Nov 2023 14:30:02 +0800 Subject: [PATCH] chore(deps): bump `atc-router` to `v1.3.1` (#11903) --- .requirements | 2 +- build/openresty/atc_router/atc_router_repositories.bzl | 2 +- changelog/unreleased/kong/bump_atc_router.yml | 2 ++ scripts/explain_manifest/suites.py | 6 +++++- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 changelog/unreleased/kong/bump_atc_router.yml diff --git a/.requirements b/.requirements index 29282e1b8aa6..a14eda9f2d08 100644 --- a/.requirements +++ b/.requirements @@ -10,7 +10,7 @@ LUA_KONG_NGINX_MODULE=4fbc3ddc7dcbc706ed286b95344f3cb6da17e637 # 0.8.0 LUA_RESTY_LMDB=951926f20b674a0622236a0e331b359df1c02d9b # 1.3.0 LUA_RESTY_EVENTS=8448a92cec36ac04ea522e78f6496ba03c9b1fd8 # 0.2.0 LUA_RESTY_WEBSOCKET=60eafc3d7153bceb16e6327074e0afc3d94b1316 # 0.4.0 -ATC_ROUTER=b0d5e7e2a2ca59bb051959385d3e42d96c93bb98 # 1.2.0 +ATC_ROUTER=7a2ad42d4246598ba1f753b6ae79cb1456040afa # 1.3.1 KONG_MANAGER=nightly NGX_WASM_MODULE=21732b18fc46f409962ae77ddf01c713b568d078 # prerelease-0.1.1 diff --git a/build/openresty/atc_router/atc_router_repositories.bzl b/build/openresty/atc_router/atc_router_repositories.bzl index 9384071a7141..2daf5879f835 100644 --- a/build/openresty/atc_router/atc_router_repositories.bzl +++ b/build/openresty/atc_router/atc_router_repositories.bzl @@ -1,4 +1,4 @@ -"""A module defining the third party dependency PCRE""" +"""A module defining the dependency atc-router""" load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") diff --git a/changelog/unreleased/kong/bump_atc_router.yml b/changelog/unreleased/kong/bump_atc_router.yml new file mode 100644 index 000000000000..a0013d1e64db --- /dev/null +++ b/changelog/unreleased/kong/bump_atc_router.yml @@ -0,0 +1,2 @@ +message: Bump `atc-router` to `v1.3.1` +type: "dependency" diff --git a/scripts/explain_manifest/suites.py b/scripts/explain_manifest/suites.py index 4c50828ba07e..b1a19b9c8465 100644 --- a/scripts/explain_manifest/suites.py +++ b/scripts/explain_manifest/suites.py @@ -60,6 +60,10 @@ def common_suites(expect, libxcrypt_no_obsolete_api: bool = False): .contain("ngx_http_lua_kong_ffi_var_set_by_index") \ .contain("ngx_http_lua_kong_ffi_var_load_indexes") + expect("/usr/local/openresty/lualib/libatc_router.so", "ATC router so should have ffi module compiled") \ + .functions \ + .contain("router_execute") + if libxcrypt_no_obsolete_api: expect("/usr/local/openresty/nginx/sbin/nginx", "nginx linked with libxcrypt.so.2") \ .needed_libraries.contain("libcrypt.so.2") @@ -134,4 +138,4 @@ def docker_suites(expect): "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", #CentOS/RHEL 7 "/etc/ssl/cert.pem", #OpenBSD, Alpine ), "ca-certiticates exists") \ - .exists() \ No newline at end of file + .exists()