Commit Graph

8683 Commits

Author SHA1 Message Date
k32
5a1b18ae86 fix(system_monitor): Fix conditional start 2022-02-08 12:46:27 +01:00
zhongwencool
3b4eade1ad
Merge pull request #6900 from zhongwencool/restricted-shell
feat(shell): add restricted shell and user_default
2022-02-08 17:25:28 +08:00
zhongwencool
f3fa302d84 chore: print only the port number when bound on all interfaces. 2022-02-08 15:25:22 +08:00
zhongwencool
5f2618912f chore(format): format port by ts 2022-02-08 11:03:54 +08:00
zhongwencool
00fe866392 chore(test): add restricted_shell CT test. 2022-02-08 10:49:11 +08:00
zhongwencool
b50ceac9bb chore(listener): change the listener binding format 0.0.0.0:port to :port. 2022-02-08 10:28:10 +08:00
k32
58b69f97fd
Merge pull request #6933 from k32/sysmon301
chore(system_monitor): Bump version to 3.0.1
2022-02-07 21:33:00 +01:00
Ilya Averyanov
ab2e4c80ba
Merge pull request #6807 from savonarola/emqx-license
feat(license): add license application
2022-02-07 23:30:24 +03:00
k32
490278ccb7 chore(system_monitor): Bump version to 3.0.1 2022-02-07 20:49:28 +01:00
Ilya Averyanov
17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
k32
bede3443a3
Merge pull request #6931 from k32/mria-dirty-shards
feat(router): Mark router shards as dirty
2022-02-07 15:41:57 +01:00
k32
9c5d35e0db chore(ekka): Bump version to 0.12.0 2022-02-07 14:39:43 +01:00
Thales Macedo Garitezi
17c10e5677
Merge pull request #6921 from thalesmg/mix-erl-eval
feat: add eval-erl command to `bin/emqx`

This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-07 10:20:00 -03:00
k32
78c762479f feat(router): Mark CM_SHARD and ROUTE_SHARD as dirty 2022-02-07 12:38:59 +01:00
k32
dbe1282d32 chore(mria): Bump version to 0.2.0 2022-02-07 12:37:13 +01:00
k32
342eed9702
Merge pull request #6923 from k32/sysmon3
feat(system_monitor): Bump version to 3.0.0
2022-02-07 10:04:42 +01:00
zhongwencool
f24c05b1bd chore(shell): make restricted_shell prompt more friendly. 2022-02-07 15:33:59 +08:00
zhongwencool
b189d594c3 chore: fix dialyzer warning. 2022-02-07 15:33:59 +08:00
zhongwencool
3efa583830 feat(shell): add emqx version to prompt. 2022-02-07 15:33:59 +08:00
zhongwencool
6a701e098f feat(shell): add restricted shell and user_default 2022-02-07 15:33:59 +08:00
k32
f699de9773 feat(system_monitor): Bump version to 3.0.0 2022-02-07 02:22:11 +01:00
Thales Macedo Garitezi
1b3b2c0d03
feat: add eval-erl command to bin/emqx
This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-04 16:53:27 -03:00
Thales Macedo Garitezi
e4b14a34b2
Merge pull request #6918 from thalesmg/fix-mix-vsn
Currently, emqx_release.erl depends on the erl_opts option
compile_info being set by Rebar3 to include {emqx_vsn, $PKG_VSN}
to report the version, for instance, in emqx ctl status.

Since Mix does not provide a simple way to pass erl_opts to Rebar3
dependencies without creating a mix.exs file, the workaround is to
set the environment variable ERL_COMPILER_OPTIONS to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.

Also, we set the `EMQX_ENTERPRISE` macro in the same way.
2022-02-04 16:12:26 -03:00
Zaiming (Stone) Shi
add2f62824
Merge pull request #6920 from thalesmg/ci-pin-pytest
ci(pytest): pin pytest version at 6.2.5
2022-02-04 20:09:57 +01:00
Thales Macedo Garitezi
9021b7e9b8
fix(mix): set enterprise compile flag 2022-02-04 14:17:53 -03:00
Thales Macedo Garitezi
6d557bc0ca
ci(pytest): pin pytest version at 6.2.5
After a major version release (7.0.0), our current FVT tests all
failed due to some change in the lib.  Our pytest version in CI was
not pinned, and picked this update up.
2022-02-04 10:19:29 -03:00
Thales Macedo Garitezi
69e7e40d5f
Merge pull request #6915 from thalesmg/cleanup-mix-release-file
chore: delete unused file
2022-02-04 09:03:08 -03:00
Thales Macedo Garitezi
88ae489219
fix(mix): set emqx_vsn compile info
Currently, `emqx_release.erl` depends on the `erl_opts` option
`compile_info` being set by Rebar3 to include `{emqx_vsn, $PKG_VSN}`
to report the version, for instance, in `emqx ctl status`.

Since Mix does not provide a simple way to pass `erl_opts` to Rebar3
dependencies without creating a `mix.exs` file, the workaround is to
set the environment variable `ERL_COMPILER_OPTIONS` to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.
2022-02-03 17:31:47 -03:00
Thales Macedo Garitezi
c681ee433e
chore: delete unused file
Now that Elixir 1.13.2 is released, we no longer need the "vendored"
version of `Mix.Release`.
2022-02-03 14:09:26 -03:00
Thales Macedo Garitezi
ac1b1b800d
Merge pull request #6786 from emqx/flaky-fvt-ci
fix(flaky_test): improve helm test preparation check
2022-02-03 12:28:05 -03:00
Thales Macedo Garitezi
a37ee6aa05
fix(flaky_test): improve helm test preparation check 2022-02-03 09:44:10 -03:00
k32
ff1589c837
Merge pull request #6912 from k32/gen-rpc-client-driver
fix(emqx_schema): Set gen_rpc_client_driver automatically
2022-02-02 14:52:24 +01:00
William Yang
dfdadbd124
Merge pull request #6909 from qzhuyan/ci/william/elixir-build-cache
ci(build-cache): elixir build cache
2022-02-02 14:17:16 +01:00
k32
a54b4ddfd0 fix(emqx_schema): Set gen_rpc_client_driver automatically 2022-02-02 13:58:27 +01:00
William Yang
c9561478ac ci(build-cache): elixir build cache 2022-02-02 12:33:35 +01:00
Zaiming (Stone) Shi
621d5a2efd
Merge pull request #6910 from zmstone/chore-stale-bot-exclude-enhancement-label
chore(stale_bot): exempt 'Enhancement' label
2022-02-01 18:20:36 +01:00
Zaiming (Stone) Shi
8f5f58500c chore(stale_bot): exempt 'Enhancement' label 2022-02-01 16:55:11 +01:00
William Yang
a2223836b9
Merge pull request #6908 from qzhuyan/ci/william/remove-centos8-support
ci: remove centos8 support
2022-02-01 16:11:25 +01:00
William Yang
5c36143186 ci: remove centos8 support
due to centos8 EOL
2022-02-01 15:22:41 +01:00
k32
3050f86f09
Merge pull request #6906 from k32/gen-rpc-docs
Gen rpc docs
2022-02-01 13:50:03 +01:00
William Yang
fd4e15cecc
Merge pull request #6907 from qzhuyan/ci/william/fix-push-trigger
ci: fix jobs triggers
2022-02-01 13:18:36 +01:00
William Yang
978abe1798 ci: fix jobs triggers 2022-02-01 13:04:52 +01:00
William Yang
fd23581dc0
Merge pull request #6880 from qzhuyan/ci/william/aws-arm64-runner
ci: use aws arm64 runner in cross build jobs
2022-02-01 09:05:58 +01:00
k32
470db453cb docs(rpc): Add descriptions for gen_rpc and logger 2022-02-01 01:16:07 +01:00
Zaiming (Stone) Shi
008bd893c8
Merge pull request #6905 from zmstone/feat-dump-schema-json
feat: dump schema json
2022-01-31 19:47:33 +01:00
Thales Macedo Garitezi
71a39cdc26
Merge pull request #6904 from emqx/bugfix-ci-yamls
fix(ci): fix branch wildcard syntax
2022-01-31 13:15:25 -03:00
Zaiming (Stone) Shi
c643db6bca build: move otp version check to rebar.config.erl 2022-01-31 16:39:14 +01:00
Zaiming (Stone) Shi
4fe7b93c43 build(Makefile): define Makefile vars before use 2022-01-31 16:38:41 +01:00
Zaiming (Stone) Shi
507952c473 feat: dump schema json file to dashbarod static dir 2022-01-31 16:38:41 +01:00
William Yang
d2a7e549a2 ci(docker): update for the elixir parts 2022-01-31 16:22:43 +01:00