Commit Graph

8553 Commits

Author SHA1 Message Date
Thales Macedo Garitezi a43a43f19a
chore(mix): fix include path for mix 2022-01-25 11:56:32 -03:00
Thales Macedo Garitezi cd2150f602
ci(cache): use cache for elixir in fvt workflow 2022-01-25 11:34:38 -03:00
Thales Macedo Garitezi 7ffd184448
chore(elixir_otp): bump emqx-builder images 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 30116610e8
fix(ci): use correct condition to build docker images 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 4fb3628c26
fix(ci): use tgz and elixir package name 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi bd8b008063
chore(ci): update CI container images 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 71884ec2b1
fix(elixir): guard against missing elixir installation 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 54855bf102
chore(mix): split elixir docker image build into separate step 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi b3d9b3a103
fix(tgz): replace zip with tgz after rebase 2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 19bebf2f4a
chore(ci): build only a few zips with elixir, build docker image with
elixir
2022-01-25 11:34:37 -03:00
Thales Macedo Garitezi 4cbd23bd46
chore(ci): use new tagged image with elixir 2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi 4f05a89848
chore(ci): cache rocksdb+quicer for elixir packages 2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi a251fed66c
chore(mix): use flag instead of elixirpkg to denote package type
Also, add Makefile target to build zip files with Elixir.
2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi dc3388a217
chore(ci): grep `emqx ctl listeners` to check if node is listening 2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi 4db2e6006b
fix(ci): split elixir package building into own step
Since the job step may run out of execution time, by separating the
Elixir build from the traditional one may prevent timeouts.
2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi 7559b85a52
fix(ci): raspbian arch is arm, not arm64 2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi 70133e5650
chore(images): use new image in more CI workflows 2022-01-25 11:34:36 -03:00
Thales Macedo Garitezi 4432b8af05
chore(elixir): change image/package versioning convention
We now go from "most specific" to "most general" versions: Elixir ->
OTP -> OS.
2022-01-25 11:34:35 -03:00
Thales Macedo Garitezi c95c66f489
fix(elixir): do not start logger before config
Despite Hocon generating the same config in both Elixir and Erlang
releases, apparently starting Logger before other applications has the
subtle effect of redirecting all logs to `log/erlang.log.N`, even
those lines that should appear in `log/emqx.log.N`.  Simply not adding
it to the application list restores the Erlang release behavior.
2022-01-25 11:34:35 -03:00
Thales Macedo Garitezi 5d1cd3ea92
ci(mix): add fvt tests and docker images with elixir 2022-01-25 11:34:35 -03:00
Thales Macedo Garitezi 1cab51ce32
fix(eval): use running node for rpc eval, not a fresh one
With the previous arguments, a fresh hidden node with the same name as
the expected running one was being started and commands were being run
there.  This caused commands like `ekka_cluster:info()` to report
seemingly weird results.
2022-01-25 11:34:35 -03:00
Thales Macedo Garitezi 8eee61e6c4
ci(mix): build slim packages with elixir 2022-01-25 11:34:35 -03:00
Thales Macedo Garitezi cdbf9e6586
ci(mix): build emqx packages with elixir 2022-01-25 11:34:35 -03:00
Shawn 6affac0fe9
Merge pull request #6780 from EMQ-YangM/moreTest
test(emqx_resource): improve emqx_resource test coverage from 73% to 80%
2022-01-25 19:10:28 +08:00
EMQ-YangM 8cfbdc2730 test(emqx_resource): improve emqx_resource test coverage to 80% 2022-01-25 17:59:29 +08:00
EMQ-YangM d312f315ac test(emqx_resource_health_check): add more test to
health_check_timeout_checker
2022-01-25 15:07:54 +08:00
EMQ-YangM cb9f14f658 feat(emqx_resource_health_check): add timeout params to health_check_timeout_checker 2022-01-25 14:54:40 +08:00
EMQ-YangM 127384a9ae test(emqx_resource_SUITE): add more test 2022-01-25 14:39:35 +08:00
Shawn 68616f1be4
Merge pull request #6847 from DDDHuang/fix_clients_sub_api
fix: client subscriptions api
2022-01-25 13:30:54 +08:00
DDDHuang e07ecd5211 fix(api): client subscriptions formatter fun bad match 2022-01-25 11:18:01 +08:00
DDDHuang 6b020b4a01 fix(api): query client subscriptions from cluster empty check 2022-01-25 10:56:56 +08:00
EMQ-YangM 11f76db67d fix(emqx_resource_validator): remove unused code 2022-01-24 16:11:32 +08:00
EMQ-YangM 40b73fb199 fix(emqx_resource_api): remove unused module 2022-01-24 16:11:32 +08:00
Yang Miao a3e3f2216c
Merge pull request #6793 from EMQ-YangM/health_check_timeout
feat(emqx_resource_health_check): add timeout to single health_check
2022-01-24 16:07:43 +08:00
lafirest 232d67f0c0
Merge pull request #6825 from lafirest/fix/exhook_cover
fix(emqx_exhook): improve test coverage of the emqx_exhook
2022-01-24 15:34:40 +08:00
Yang Miao b528862c67
Merge branch 'master' into health_check_timeout 2022-01-24 14:48:55 +08:00
EMQ-YangM c870a2c78c test(emqx_resource_health_check): add async_create to create_local 2022-01-24 14:24:31 +08:00
Zaiming (Stone) Shi 270a158a65
Merge pull request #6837 from Aleegra/aleegra_update_readme
Update README.md
2022-01-24 07:04:53 +01:00
lafirest 2327302c28 fix(emqx_exhook): improve test coverage of the emqx_exhook 2022-01-24 12:20:00 +08:00
EMQ-YangM 8506bed489 fix(emqx_resource_health_check): link heath_check, health_check_timeout_checker 2022-01-24 10:18:18 +08:00
JimMoen 8046f3de6f
Merge pull request #6826 from JimMoen/refactor-event-message-api
refactor(api): event_message swagger spec
2022-01-24 09:43:55 +08:00
LING 62957bea9d
Update README.md
Add Slack and discord link in the community section.
2022-01-23 23:06:46 +08:00
Ilya Averyanov 7c5e638732
Merge pull request #6832 from savonarola/fix-resource-leakage
fix(emqx_resource): fix resource leakage
2022-01-22 01:03:40 +03:00
Ilya Averyanov acc4ad0542 fix(emqx_resource): fix resource leakage 2022-01-21 22:50:30 +03:00
k32 ffa857ccd9
Merge pull request #6829 from k32/bpapi-lockdown
ci(bpapi): Fail static check on BPAPI violations
2022-01-21 16:08:17 +01:00
k32 d90566be5c ci(bpapi): Fail static check on BPAPI violations 2022-01-21 13:55:09 +01:00
k32 f67278b13d
Merge pull request #6815 from k32/bpapi-gateway
Bpapi gateway
2022-01-21 13:18:21 +01:00
firest 1d832c3026 fix(emqx_exhook): improve test coverage of the emqx_exhook_metrics 2022-01-21 18:05:01 +08:00
JimMoen f30c16e47c refactor(schema): description use binary 2022-01-21 17:52:57 +08:00
JimMoen ab94b49762 refactor(api): event_message swagger spec 2022-01-21 17:45:53 +08:00