Commit Graph

8607 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
8da27899ea docs: fix override conf note 2022-01-28 11:05:06 +01:00
Zaiming (Stone) Shi
0cde9e6ecf
Merge pull request #6878 from zmstone/slog-ftw
refactor: delete deprecated logging macros
2022-01-27 16:15:47 +01:00
Zaiming (Stone) Shi
d6f7ffec3c
Merge pull request #6881 from zmstone/refactor-upgrade-hocon-0.23.0
refactor: upgrade to hocon 0.23.0
2022-01-27 15:48:23 +01:00
zhongwencool
c049e296d4
Merge pull request #6852 from zhongwencool/fix-keepalive-init
fix(keepalive): keepalive desc improvement.
2022-01-27 22:41:10 +08:00
Zaiming (Stone) Shi
815c47e169 test: call logger apis directly 2022-01-27 15:19:50 +01:00
Thales Macedo Garitezi
bd0d331b64
Merge pull request #6636 from emqx/elixir-packages-mkII
ci(mix): build emqx packages with elixir
2022-01-27 11:10:30 -03:00
k32
8378f52d06
Merge pull request #6882 from kianmeng/fix-typos
(docs): fix typos
2022-01-27 13:25:44 +01:00
Kian-Meng Ang
fc92e4c8bf docs: fix typos 2022-01-27 12:29:38 +01:00
zhongwencool
a7676d0163 fix(doc): Update the documentation/keepalive according to the review. 2022-01-27 18:57:35 +08:00
Zaiming (Stone) Shi
6bf5f2c426 test: fix old hocon API calls 2022-01-27 08:21:31 +01:00
Zaiming (Stone) Shi
260a507003
Merge pull request #6877 from zmstone/remove-dollar-sign-from-config-field-names
refactor: remove dollar sign from config fields
2022-01-27 07:32:59 +01:00
zhongwencool
3ce3c5c805 fix(doc): Update the documentation according to the review 2022-01-27 10:54:11 +08:00
Zaiming (Stone) Shi
cf1f19258e refactor(emqx_resource): catch only hocon throw exceptions 2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
252d7e85d9 refactor: call new hocon apis 2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
8c114db168 chore: pin hocon 0.23.0 2022-01-27 00:23:08 +01:00
Zaiming (Stone) Shi
97c0f92fcf ci: pin emqx-fvt ref 1.0.4-dev2 2022-01-26 23:32:21 +01:00
Zaiming (Stone) Shi
1718360156 refactor: delete deprecated logging macros 2022-01-26 23:25:11 +01:00
Zaiming (Stone) Shi
586ecaf031 refactor(exhook): log with ?SLOG macro 2022-01-26 22:29:06 +01:00
Zaiming (Stone) Shi
9946f2ecf4 refactor: remove dollar sign from config fields 2022-01-26 22:19:01 +01:00
Thales Macedo Garitezi
d6a9a73431
Merge pull request #6874 from emqx/bump-ekka-0-11-3
chore(ekka): update ekka -> 0.11.3
2022-01-26 17:06:56 -03:00
Thales Macedo Garitezi
12f1757328
chore(mix): fix include path for mix 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
a88af8fcbc
ci(cache): use cache for elixir in fvt workflow 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
506dad169a
chore(elixir_otp): bump emqx-builder images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
e157064e24
fix(ci): use correct condition to build docker images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
06e31830fb
fix(ci): use tgz and elixir package name 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
aa1a1a7bb1
chore(ci): update CI container images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
bba595a91f
fix(elixir): guard against missing elixir installation 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
a974221ffa
chore(mix): split elixir docker image build into separate step 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
9c68f4bd11
fix(tgz): replace zip with tgz after rebase 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
1240c40364
chore(ci): build only a few zips with elixir, build docker image with
elixir
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
3ec7d9ae24
chore(ci): use new tagged image with elixir 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
f66462ca6b
chore(ci): cache rocksdb+quicer for elixir packages 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
59f0d5f537
chore(mix): use flag instead of elixirpkg to denote package type
Also, add Makefile target to build zip files with Elixir.
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
5a7943f583
chore(ci): grep emqx ctl listeners to check if node is listening 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
fca0d2bfd8
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-26 16:59:49 -03:00
Thales Macedo Garitezi
ba6d4e4a19
fix(ci): raspbian arch is arm, not arm64 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
e874ec2b36
chore(images): use new image in more CI workflows 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
a91880780a
chore(elixir): change image/package versioning convention
We now go from "most specific" to "most general" versions: Elixir ->
OTP -> OS.
2022-01-26 16:59:48 -03:00
Thales Macedo Garitezi
01092982c1
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-26 16:59:48 -03:00
Thales Macedo Garitezi
bc498a8041
ci(mix): add fvt tests and docker images with elixir 2022-01-26 16:59:48 -03:00
Thales Macedo Garitezi
03e0c5ef2a
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-26 16:59:48 -03:00
Thales Macedo Garitezi
f24b3f416e
ci(mix): build slim packages with elixir 2022-01-26 16:59:48 -03:00
Thales Macedo Garitezi
6dd11665bb
ci(mix): build emqx packages with elixir 2022-01-26 16:59:48 -03:00
Zaiming (Stone) Shi
bf8d30f4f3
Merge pull request #6873 from zmstone/ci-find-relup-base-using-a-script
ci: find relup base version using a script
2022-01-26 20:51:46 +01:00
Ilya Averyanov
5ed27f92b7
Merge pull request #6855 from savonarola/ph-interpolation
refactor(authn,authz): unify variable interpolation
2022-01-26 21:01:11 +03:00
Zaiming (Stone) Shi
d44c6eedfd ci: find relup base version using a script 2022-01-26 18:29:55 +01:00
Thales Macedo Garitezi
f34e87daeb
chore(ekka): update ekka -> 0.11.3
This ekka tag contains the core node discovery callback feature.
2022-01-26 14:19:39 -03:00
Zaiming (Stone) Shi
469cf55f19
Merge pull request #6854 from zmstone/build-parameterise-package-vsn
build: parameterise package vsn with build profile.
2022-01-26 16:16:02 +01:00
Zaiming (Stone) Shi
b9e507110c build: add EMQX_ENTERPRISE compile flag 2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
f3fe3db771 build: fix shellcheck 2022-01-26 14:25:59 +01:00