Commit Graph

470 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi d3f8ebd10f ci: fix relup test workflow and upgrade builder to 5.0-17
builder 5.0-17 has emqtt-bench and lux included
so we do not need to rebuild the software for each ci job
2022-06-27 12:06:13 +02:00
JianBo He be034d5a53 chore: upgrade dashboard to v1.0.0 2022-06-17 12:00:22 +08:00
Zaiming (Stone) Shi 50b4d95b02 build: ensure download quic pre-built package for EMQX build 2022-06-16 12:20:37 +02:00
Zaiming (Stone) Shi 022ec06bb9
Merge pull request #8187 from zmstone/0611-copy-example-configs-to-etc-elixir
mix build: release example configs
2022-06-13 13:51:52 +01:00
JianBo He 41bc9fd4b9 chore: update dashboard to v0.36.0 2022-06-13 09:18:48 +08:00
Zaiming (Stone) Shi c76d5c0181 build(mix): copy generated docs to release 2022-06-12 21:18:00 +02:00
Zaiming (Stone) Shi 265c3303d9 build: build docs in a separate step
prior to this commit, docs are built as a rebar3 post-compile hook
and the docs are generted directy into the _build dir.

the advanage was: so there is no need for a separate step to
build docs.
however this giving makeing Elixir build a hard time.

With this change, the steps are moved to build script
* compile
* make_docs
* assemble release
2022-06-12 19:16:46 +02:00
Zaiming (Stone) Shi 7019efa2a0 build: copy example config to etc dir 2022-06-10 13:57:43 +02:00
Rory Z d5704c2c48 build(docker): change docker base image to debian, and add new tag for alpine image 2022-06-07 06:15:15 +02:00
Zaiming (Stone) Shi fc4d9e4dcd ci: use emqx-builder 5.0-16
Fixed openssl compatibility issue
2022-06-06 10:54:26 +02:00
Zhongwen Deng fe5998d773 chore: bump dashboard to v0.35.0 2022-05-31 19:20:27 +08:00
Shawn 3385a8af75 chore: pin dashboard v0.34.0 2022-05-30 11:18:59 +08:00
Zaiming (Stone) Shi ebe4d7c3fb refactor: stop releasing edge edition
Prior to EMQX 5.0, the edge edition's main difference comaring
to standard edition are:
* Less number of plugins in the release (smaller package size)
* Smaller number is vm.args (for lower memory usage)

Starting from 5.0 most of the plugins are included as features,
the tuned vm.args arguments does not justify a special release edition.

Also as nanomq is getting mature,
EMQ's recommendtation for MQTT broker in edge is https://nanomq.io/
2022-05-26 20:05:46 +02:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
DDDHuang 5ebc034bcf feat: dashboard new version 2022-05-13 14:14:02 +08:00
ieQu1 ace6ad25e9 fix(bpapi): Compile the code in check profile before running xref 2022-05-12 11:30:05 +02:00
Zaiming (Stone) Shi f50fcf9f4e chore: delete per-app format scripts
Now that all apps are formated, we no longer need per-app format script
2022-05-11 09:15:32 +02:00
JianBo He a793b184c2
Merge pull request #7895 from HJianBo/update-dashboard-vsn
chore: update dashboard to v0.32.
2022-05-09 09:21:50 +08:00
Shawn d80b7c720b chore: check dependenies before building on Mac OSX 2022-05-07 22:16:44 +08:00
JianBo He 2f8e0684e4 chore: update dashboard to v0.32. 2022-05-07 19:21:58 +08:00
Kjell Winblad 74c33cd4e5 feat(rule_engine): add jq function to the rule engine
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].

[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.

[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00
JianBo He b0e1c5b9d2 chore: update dashboard to v0.31.0 2022-04-29 15:00:05 +08:00
Shawn b05b77bcbc chore: port ensure-rebar3.sh from 4.x 2022-04-28 19:28:29 +08:00
Zhongwen Deng 52552c432c chore: upgrade dashboard to v0.30.0 2022-04-22 18:02:02 +08:00
JimMoen 216fba5a03 chore: update dashboard version 2022-04-18 16:46:13 +08:00
Zhongwen Deng 164754b182 test: dashboard ct failed with lack i18n_lang 2022-04-15 12:04:01 +08:00
Zhongwen Deng 630cc8ee34 feat: support i18n with desc struct. 2022-04-15 08:42:13 +08:00
Thales Macedo Garitezi 2305d90775
Merge pull request #7582 from thalesmg/port-44-license-parser
feat(license): port 4.4 parser to 5.0
2022-04-11 13:31:44 -03:00
Thales Macedo Garitezi 3ae378e717
chore: enable easy printing ct logs during dev 2022-04-08 15:58:35 -03:00
JimMoen 5a2299053f chore: update dashboard for 5.0 2022-04-08 18:28:28 +08:00
Thales Macedo Garitezi ca25053cd5
fix: add common dependencies to `%-pkg` target in makefile
On a fresh clone, this will setup rebar, the dashboard and merge the
configs.
2022-03-28 11:40:27 -03:00
Xinyu Liu 9a4a8ec022
Merge pull request #7417 from JimMoen/update-dashboard
chore(dashboard): update dashboard version
2022-03-25 17:28:00 +08:00
JimMoen 520d0c862d chore(dashboard): update dashboard version 2022-03-25 15:43:19 +08:00
Zaiming (Stone) Shi b49df4599a build: use latest builder images (alpine 3.15.1)
OpenSSL-1.1.1n
2022-03-25 07:38:39 +01:00
Zhongwen Deng 88e0c4067f fix: api_plugins common test failed bump dashboard to v0.25.0. 2022-03-21 17:56:22 +08:00
Zaiming (Stone) Shi f9aba61dbb ci: run ct in concurrent jobs 2022-03-15 20:40:22 +01:00
Zaiming (Stone) Shi a1e7ece192 chore: use app name for coverdata name when running per-app ct 2022-03-15 15:36:44 +01:00
Shawn 9db21acc96 chore: pin dashboard v0.23.0 2022-03-11 20:16:42 +08:00
Zaiming (Stone) Shi bed3c8bc51 build(Makefile): app ct should produce coverdata 2022-03-09 13:05:51 +01:00
Thales Macedo Garitezi 1f59154dca
fix(elixir): add common target dependencies for `%-elixir-pkg`
For installing Hex/Rebar and downloading dependencies on a fresh
clone.
2022-03-03 13:56:30 -03:00
Zaiming (Stone) Shi 0f93c23936
Merge pull request #7186 from zmstone/structured-build-info
build: more structured build info
2022-03-02 23:58:08 +01:00
Zaiming (Stone) Shi e6495f4300 ci: upgrade emqx-builder to 5.0-8:1.13.3-24.2.1-1 2022-03-02 21:57:26 +01:00
Zaiming (Stone) Shi 4e64010a3b build: more structured build info 2022-03-02 21:22:03 +01:00
JianBo He 612611c954 chore: update dashboard vsn to 0.21.0 2022-03-02 10:48:39 +08:00
Zaiming (Stone) Shi b68cb96bd2 refactor: make pkg-vsn.sh able to report both short and long version 2022-02-26 01:38:10 +01:00
Zaiming (Stone) Shi 2d3859a79a build: get full version from pkg-full-vsn.sh
this is due to the mapping of :
centos7 -> el7
and rockylinux8 -> el8

with this fix, there is no need to repeat such mapping
in many differennt places
2022-02-25 11:33:01 +01:00
Thales Macedo Garitezi 8cac5f6b39
chore(ci): update emqx-builder image
Uses Elixir 1.13.3 and OTP 24.2.1-1.
2022-02-23 15:00:07 -03:00
JianBo He ffacfe9664 chore: update dashboard to 0.20.0 2022-02-22 15:42:39 +08:00
zhanghongtong 093e7c3282 build(relup): add new script for download relup base packages 2022-02-16 18:23:02 +01:00
JimMoen 2a1fba97da test(auth): resource use connector provided default port 2022-02-15 10:41:26 +08:00
JianBo He c6c6b7af89 chore: upgrade dashboard to v0.19.0 2022-02-14 17:37:33 +08: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
Thales Macedo Garitezi a597e92576
chore(mix): use MIX_ENV to define build profile and edition 2022-01-28 17:24:35 -03:00
Thales Macedo Garitezi 506dad169a
chore(elixir_otp): bump emqx-builder images 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 3ec7d9ae24
chore(ci): use new tagged image with elixir 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 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 bc498a8041
ci(mix): add fvt tests and docker images 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 391e480824 build: parameterise package version
so that community and enterprise edition can be built from the
same branch
2022-01-26 14:25:59 +01:00
k32 bdc6d18589 feat(bpapi): Version negotiation 2022-01-26 11:59:21 +01:00
Zaiming (Stone) Shi dcb7977338 feat: show config doc in dashboard 2022-01-14 11:56:10 +01:00
Zaiming (Stone) Shi bf334fecb8
Merge pull request #6726 from zmstone/refactor-build-tar-gz-instead-of-zip
refactor: build tar gz instead of zip
2022-01-13 22:29:35 +01:00
k32 aa54c6135b fix(bpapi): Move static checks to test directory 2022-01-13 20:58:33 +01:00
Zaiming (Stone) Shi 638a9d1af7 build: change to build .tar.gz instead of zip 2022-01-13 18:54:01 +01:00
k32 b2b6cff469 revert(makefile): Remove lightweight dialyzer target 2022-01-12 15:40:44 +01:00
k32 6a1ada8623
Merge pull request #6691 from k32/bpapi-run-check
test(bpapi): Run static checks in CI
2022-01-11 13:25:06 +01:00
k32 26f4b2495b test(bpapi): Run verification in CI 2022-01-11 11:26:35 +01:00
William Yang 202e23987d
Merge pull request #6677 from qzhuyan/dev/william/add-light-dialyzer-check
chore: add light dialyzer make target
2022-01-11 09:39:58 +01:00
Zaiming (Stone) Shi b2684b995d build: doc for win 2022-01-10 12:30:01 +01:00
William Yang 0d37ee9588 chore: add light dialyzer make target
for low mem dev machines
2022-01-07 11:09:17 +01:00
JimMoen 9a115b99a4 Merge remote-tracking branch 'emqx/release-5.0-beta.3' into merge-5.0-beta.3-to-master 2022-01-06 14:08:45 +08:00
JimMoen 2c1f4d4860 chore(dashboard): update dashboard version to v0.17.0 2022-01-05 12:52:26 +08:00
Zaiming (Stone) Shi 05ccedd8ec Merge remote-tracking branch 'origin/master' into merge-5.0-beta.3-to-master 2022-01-04 17:32:50 +01:00
Zaiming (Stone) Shi 3c79966d8b build: remove 'compile' step before 'release'
'compile' is implict dependent step for 'release'
2022-01-04 14:47:17 +01:00
JimMoen 54ec3009ee chore(dashboard): update dashboard version to v0.16.0 2022-01-04 17:23:54 +08:00
JimMoen d627d9e69e chore(dashboard): update dashboard version to v0.14.0 2021-12-30 23:05:54 +08:00
JimMoen e2804ab29d chore(dashboard): update dashboard version, ignore v0.9.0 2021-12-23 09:25:58 +08:00
JimMoen 2130d5ca8e chore(dashboard): update dashboard version 2021-12-23 09:25:58 +08:00
zhouzb bac2fa6905 chore(dashboard): update dashboard version 2021-12-20 15:24:49 +08:00
JimMoen 7c8e452a3c chore(dashboard): update dashboard version 2021-12-17 10:54:50 +08:00
JimMoen 257ee19be5 chore(dashboard): change dashboard repo and version 2021-12-09 11:31:31 +08:00
Zaiming (Stone) Shi 34d3a73ff3 test: force segment er-merge before any ct 2021-12-06 08:00:42 +01:00
Zaiming Shi e2d7ff2b0f build: rename emqx-ee to emqx-enterprise 2021-11-29 14:53:47 +01:00
Zaiming Shi 9496c76fe8 build(Makefile): find command's -delete option instead of xargs rm 2021-11-20 21:44:37 +01:00
Zaiming Shi a705bc1fc7 build: change package name scheme
`${PROFILE}-${PKG_VSN}-otp${OTP_VSN}-${SYSTEM}-${ARCH}.zip`
2021-11-20 20:44:48 +01:00
Zaiming Shi 25d6a98aa4 build: get otp version and export OTP_VSN 2021-11-20 20:44:48 +01:00
Zaiming Shi 204a80697f build: add emqx-ee and emqx-ee-pkg targets 2021-11-20 20:44:48 +01:00
Tobias Lindahl 48c7788d6f
Merge pull request #5875 from emqx/extend-persistent-sessions
Extend persistent sessions
2021-10-27 09:12:13 +02:00
JimMoen ba146c8a46 chore(dashboard): update version for dashboard 2021-10-22 17:34:28 +08:00
Tobias Lindahl 566f24e5d8 test: add make target for running isolated test suites 2021-10-21 15:23:21 +02:00
zhongwencool d784e63b9f
emqx_conf (#5939)
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf

* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2

* fix: common test failed

* fix: badmatch by typo wrong key

* fix(emqx_conf): get the wrong core nodes

* fix(emqx_conf): get core node's tnx_id not latest tnx_id

* fix: add ro_transation when copy conf file

* fix: delete debug info

* fix: change ekka_rlog to mria_rlog

* fix: remove cluster_rpc from emqx_machine.

* fix: don't call ekka:start/0 explicitly

* fix: ekka should be start in emqx_machine
2021-10-21 18:08:51 +08:00
JimMoen 623cd5f528 chore(dashboard): update version for dashboard 2021-10-15 18:59:58 +08:00
zhanghongtong c944e36085 build: update dashboard version 2021-09-30 15:36:54 +08:00
JimMoen 0d16873175 chore(dashboard): update version for dashboard 2021-09-27 10:03:03 +08:00
JimMoen 22e8c83a52 chore(dashboard): update version for dashboard 2021-09-23 18:53:49 +08:00
zhouzb 1881c7a162 chore(dashboard): update version for dashboard 2021-09-10 18:30:25 +08:00
DDDHuang 455baa5465 feat: dashboard UI version, beat 11 2021-09-07 08:28:36 +08:00