Commit Graph

66 Commits

Author SHA1 Message Date
Nirojan Selvanathan
64fcb9fd72
plugin: add HTTP logger for APISIX (#1396) 2020-05-09 16:19:41 +08:00
YuanSheng Wang
216c854201
Travis: install the luacov when create deps folder (#1477)
fix travis: https://travis-ci.org/github/apache/incubator-apisix/jobs/677082965#L524

Install the luacov when create deps folder.

Then we can avoid installing "luacov" after copying "deps" from the "build-cache" folder to the current folder.
2020-04-20 15:05:05 +08:00
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps folder, that is a bug for older luarocks (#1471)
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.

We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
YuanSheng Wang
bead35007b
travis: When the error message is found, set the exit code to 1. (#1445) 2020-04-13 10:45:13 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua to search path. (#1443) 2020-04-13 09:54:07 +08:00
wonglend
ef76d2700b
bugfix: remove misc --add-dynamic-module for tengine branch ci test cases (#1377)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`

* bugfix: remove misc `--add-dynamic-module` for tengine since we do not set `load_module` in nginx.conf
2020-03-31 21:51:49 +08:00
wonglend
d0900caf27
feature: merge upstream tengine (2.3.2 < version < 2.3.3) patches (#1371)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`
2020-03-31 08:38:16 +08:00
Ayeshmantha Perera
661f3adfbc
feature: updated openresty to 1.15.8.3 (#1363) 2020-03-30 16:52:53 +08:00
Wen Ming
7ff43d51ca
dashboard: add dashboard as submodule. (#1360) 2020-03-29 10:06:42 +08:00
YuanSheng Wang
f06f36186e
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address. (#1347)
for tengine case.
2020-03-27 16:34:32 +08:00
YuanSheng Wang
0c98fed398
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address, (#1346)
the travis ENV does not support IPv6 address.
2020-03-27 15:50:40 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils . (#1342) 2020-03-27 07:34:08 +08:00
qiujiayu
7baa0abd44
feature: if the dns_resolver is not set in the file conf/config.yaml, use the resolver in local DNS. (#1217)
Fix #1164
2020-03-26 09:48:18 +08:00
Ayeshmantha Perera
8adafa3ee2
feature: add Kafka Logger plugin. (#1312) 2020-03-25 08:26:45 +08:00
YuanSheng Wang
c086d3f780
CI(OSX): run part test cases. (#1314) 2020-03-23 00:03:40 +08:00
YuanSheng Wang
d347cae48e
travis(osx): install the redis by brew. (#1270) 2020-03-15 20:21:48 +08:00
YuanSheng Wang
8e8ec23539
bugfix: 'required' should same level as properties, added test case. (#1261)
* travis: use golang binary file directly.
2020-03-14 15:41:02 +08:00
YuanSheng Wang
b835bb79f1
travis: supports installing APISIX using the current branch and running (#1212)
* travis: supports installing APISIX using the current branch and running
    test cases separately in CI.

* bugfix: install apisix from local folder.

* travis: install `master` version apisix by luarocks and run e2e test.
2020-03-07 14:59:18 +08:00
Wen Ming
a610e8917c
Revert "feature: auto import nameservers into APISIX from system resolver. (#1167)" (#1205)
This reverts commit e1ac426443.
This PR break CI and no test cases cover, so I have to revert it.
2020-03-06 10:30:32 +08:00
qiujiayu
e1ac426443
feature: auto import nameservers into APISIX from system resolver. (#1167)
Fix #1164
2020-03-02 16:04:15 +08:00
wonglend
174725278a
feature: Added privileged_agent_process.patch for tengine-2.3.2 (#912) (#1151)
Fix #912
2020-02-22 19:59:33 +08:00
YuanSheng Wang
6d8907f4ff
code style: use new lj-releng to catch all exceptions. (#1135) 2020-02-18 15:54:30 +08:00
YuanSheng Wang
e33f75da4e
bugfix: use ss.listen_port to generate https listening port. (#1133) 2020-02-18 12:40:15 +08:00
YuanSheng Wang
4a681af4cb
CLI: added missing Lua path. (#1114) 2020-02-09 20:57:13 +08:00
Yousa
60b2493f5b CLI: bin/apisix to support the SO_REUSEPORT (#1085)
Fix #342
2020-02-09 17:19:45 +08:00
iGeeky
5fff97d0b1
feature: Add wolf rbac plugin (#1095) 2020-02-06 15:22:49 +08:00
罗泽轩
9889d66f26 ci: remove patch which is no longer necessary and removed in the upstream. (#1090) 2020-01-27 09:51:37 +08:00
YuanSheng Wang
5f2210b421
travis: run a APISIX instance which intalled by luarocks. (#1063) 2020-01-22 16:19:01 +08:00
wonglend
25102419d0 Tengine: run test cases with patch files (#834)
* Patches the tengine 2.3.2 (which based on nginx-1.17.3) core using .patch files from openresty upstream:

```
patch -p1 < ../../patches/nginx-1.17.4-always_enable_cc_feature_tests.patch
patch -p1 < ../../patches/nginx-1.17.4-balancer_status_code.patch
patch -p1 < ../../patches/nginx-1.17.4-cache_manager_exit.patch
patch -p1 < ../../patches/nginx-1.17.4-daemon_destroy_pool.patch
patch -p1 < ../../patches/nginx-1.17.4-delayed_posted_events.patch
patch -p1 < ../../patches/nginx-1.17.4-gcc-maybe-uninitialized-warning.patch
patch -p1 < ../../patches/nginx-1.17.4-hash_overflow.patch
patch -p1 < ../../patches/nginx-1.17.4-init_cycle_pool_release.patch
patch -p1 < ../../patches/nginx-1.17.4-larger_max_error_str.patch
patch -p1 < ../../patches/nginx-1.17.4-log_escape_non_ascii.patch
patch -p1 < ../../patches/nginx-1.17.4-no_Werror.patch
patch -p1 < ../../patches/nginx-1.17.4-pcre_conf_opt.patch
patch -p1 < ../../patches/nginx-1.17.4-proxy_host_port_vars.patch
patch -p1 < ../../patches/nginx-1.17.4-resolver_conf_parsing.patch
patch -p1 < ../../patches/nginx-1.17.4-reuseport_close_unused_fds.patch
patch -p1 < ../../patches/nginx-1.17.4-safe_resolver_ipv6_option.patch
patch -p1 < ../../patches/nginx-1.17.4-single_process_graceful_exit.patch
patch -p1 < ../../patches/nginx-1.17.4-ssl_cert_cb_yield.patch
patch -p1 < ../../patches/nginx-1.17.4-ssl_sess_cb_yield.patch
patch -p1 < ../../patches/nginx-1.17.4-stream_balancer_export.patch
patch -p1 < ../../patches/nginx-1.17.4-stream_proxy_get_next_upstream_tries.patch
patch -p1 < ../../patches/nginx-1.17.4-stream_proxy_timeout_fields.patch
patch -p1 < ../../patches/nginx-1.17.4-stream_ssl_preread_no_skip.patch
patch -p1 < ../../patches/nginx-1.17.4-upstream_pipelining.patch
patch -p1 < ../../patches/nginx-1.17.4-upstream_timeout_fields.patch
```
2019-11-27 23:57:23 +08:00
WenMing
d6e343e492 travis: removed luacheck for macos. (#907) 2019-11-27 21:54:18 +08:00
WenMing
a9888b333a
bugfix: fixed install deps in makefile. (#904) 2019-11-26 21:24:45 +08:00
agile6v
227eeaef48 Split check target into lint & license-check targets in Makefile. (#887) 2019-11-21 09:23:16 +08:00
YuanSheng Wang
910ff21f54
change: use make deps to install dependencies. (#835) 2019-11-12 16:38:23 +08:00
YuanSheng Wang
df3576d1d2
travis: removed the temporary folder openresty-1.15.8.2. (#791) 2019-11-02 11:08:18 +08:00
YuanSheng Wang
4ee11806de
travis: supported to run APISIX with Tengine. (#683) 2019-11-02 09:05:38 +08:00
YuanSheng Wang
be9108e2e9
travis: only start the redis server for linux os. (#782)
* travis: only start the redis server for linux os.

* ASF: ignore folder `grpcurl`.
2019-11-01 22:35:36 +08:00
nic-chen
243346a668 featutre: support gRPC proxy #691) 2019-11-01 10:09:01 +08:00
WenMing
996b2677be skip make check for macos. (#773) 2019-10-31 15:51:13 +08:00
WenMing
b3fb7ae1f1
license: ingore grpc_server_example dir for check license. (#770) 2019-10-31 10:55:21 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
WenMing
41412dcf0f travis: removed r3 in mac CI. (#728)
* travis: removed r3 in mac CI.

* fixed doc: removed manual install step.
2019-10-23 21:28:04 +08:00
YuanSheng Wang
d8b0c2d04c change: removed router r3. (#725) 2019-10-23 12:59:22 +08:00
coolsoul
ada43bed3a luarocks: change the name of dev rockspec (#696) 2019-10-22 13:29:20 +08:00
YuanSheng Wang
d4ff56ee0d
luarocks: support to install apisix without dashboard. (#686)
* luarocks: support to install apisix without dashboard.
2019-10-14 15:21:13 +08:00
YuanSheng Wang
b670041f16
bug(travis): start the redis server. (#651) 2019-10-09 17:58:07 +08:00
YuanSheng Wang
028d8308db
doc: more about stand-alone model. (#577)
* doc: more about `stand-alone` model.

Fix https://github.com/iresty/apisix/issues/576.

* travis: only fetched md5 of file for comparing.
2019-09-23 22:03:18 +08:00
Yuansheng
097bcde2fe change: used resty-matcher to match ip address, which support IPv6. 2019-09-23 12:24:12 +08:00
YuanSheng Wang
9e5fda1293
change: removed utils lj-releng. (#553) 2019-09-23 05:54:37 +08:00
YuanSheng Wang
90707da6b1
doc: added doc index. (#552)
Fix https://github.com/iresty/apisix/issues/550
2019-09-22 17:17:23 +08:00
YuanSheng Wang
70ea8f612c
travis(optimize): use build-cache for lua folder deps. (#551) 2019-09-22 06:48:05 +08:00