Commit Graph

339 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 04588148b7 test(influxdb): increase influxdb bridge/connector coverage (ee5.0) 2022-11-07 15:15:49 -03:00
Ivan Dyachkov 881a91a788 ci: build elixir images for ce only 2022-11-01 15:57:23 +01:00
Ivan Dyachkov 5654778bd9 build: check if quicer binary present before trying to sign it 2022-10-07 09:50:25 +02:00
Zaiming (Stone) Shi d49675cde5 chore: supprot DNS discovery test for 4.x 2022-09-28 21:31:18 +02:00
Zaiming (Stone) Shi c3f6c302ec
Merge pull request #8998 from zmstone/0918-build-force-fetch-tags-when-update-appup
chore: force fetch upstream tags before appup updates
2022-09-27 21:45:02 +02:00
Shawn 4135910b42 chore: merge master into dev/ee5.0 2022-09-26 09:52:33 +08:00
Zaiming (Stone) Shi f6ac4c3a76
Merge pull request #8798 from zmstone/0815-feat-add-kafka-connector
feat: Add Kafka connector
2022-09-24 22:57:50 +02:00
Kjell Winblad 5ec4b0a6ca fix: fix entrypoint in docker compose for Kafka bridge test 2022-09-23 15:58:22 +02:00
Kjell Winblad ac37c5d58a test: github actions debug printouts 2022-09-23 15:02:01 +02:00
JimMoen 7aa99b26b9 chore: add git commit hook for git-blame-ignore-revs
ignore redis log files
2022-09-23 12:37:07 +08:00
Kjell Winblad 9ea0147a8c feat(rule engine jq function): config for changing implementation
This commit adds a rule engine configuration option for changing the
implementation module used for the rule engine function jq. The two
options are `jq_port` (uses Erlang port programs to interact with jq)
and `jq_nif` (uses an Erlang NIF library to interact with jq).

Thanks to @terry-xiaoyu (Xinyu Liu <506895667@qq.com>) for Chinese
translations
2022-09-22 09:02:30 +02:00
Zaiming (Stone) Shi 595f19cddd chore: force fetch upstream tags before appup updates 2022-09-18 11:35:39 +02:00
Ivan Dyachkov 501667dc1f chore: skip signing macos binaries when dev cert of pw are not set 2022-09-15 10:27:09 +02:00
zhongwencool b2732dc3ff
Merge pull request #8950 from zhongwencool/rename-emqx-enterprise.conf
feat: don't include emqx-entriprise.conf in opensource
2022-09-14 11:05:28 +08:00
Zhongwen Deng 499ed3ca51 chore: don't generate enterprise.conf when not emqx-enterprise profile 2022-09-14 10:13:58 +08:00
Kjell Winblad f0e03086a6 test: add test cases for Kafka SASL auth mechanisms plain and scram 2022-09-13 19:46:56 +02:00
Zaiming (Stone) Shi 0c1595be02 feat: Add Kafka connector 2022-09-13 19:46:56 +02:00
Ivan Dyachkov cb5be71165
Merge pull request #8897 from emqx/build-sign-macos-binaries
build: sign binary files in macos package
2022-09-13 16:31:32 +02:00
Zhongwen Deng 6a470dc3ac feat: don't include emqx-entriprise.conf in opensource 2022-09-13 18:53:56 +08:00
Zaiming (Stone) Shi 4534966e36 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-09-13 12:16:54 +02:00
Ivan Dyachkov 7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
Zaiming (Stone) Shi d6bd1555ec refactor: move spellcheck dictionary to this repo
prior to this change, the EMQX spellcheck dictionary
is baked into the docker image, which makes adding
new words to the dict more complicated long process:
you'd have to send a separate PR to the docker image
repo and tag a new docker image and update the dokcer
iamge tag in emqx.git
2022-09-12 20:02:16 +02:00
Zaiming (Stone) Shi c9b6dfd7f9
Merge pull request #8905 from zmstone/0906-warn-default-erlang-cookie
refactor(cookie): Warning message when boot with default Erlang cookie
2022-09-07 08:06:55 +02:00
Zaiming (Stone) Shi befc4acced Merge remote-tracking branch 'origin/master' into merge-master-to-ee50-a 2022-09-06 20:31:38 +02:00
Zaiming (Stone) Shi f785da075b ci: only start required docker for integration tests 2022-09-06 19:25:53 +02:00
Zaiming (Stone) Shi ac840e318e refactor(cookie): Warning message when boot with default Erlang cookie 2022-09-06 18:58:35 +02:00
Thales Macedo Garitezi 3d4afd65df feat: add mongodb bridge (e5.0) 2022-09-01 14:47:14 -03:00
Zaiming (Stone) Shi dac178cbaf chore: ensure version bumps 2022-08-31 17:23:47 +02:00
Shawn b3162fe5ff fix: conflicts between master and ee5.0 2022-08-14 22:24:09 +08:00
Zaiming (Stone) Shi c82a05a0e7 refactor(Makefile): support download enterprise dashboard download 2022-08-12 14:36:31 +02:00
JimMoen d51ca2672a fix: spellcheck and update checker repo version 2022-08-09 11:50:05 +08:00
firest 966b508c6f chore: fix status test error 2022-08-09 11:22:53 +08:00
Thales Macedo Garitezi b19e8fb3cd feat(license): add HTTP API for license 2022-08-02 09:31:59 -03:00
DDDHuang 3fe76446bc Merge branch 'master' into dev/ee5.0 2022-08-01 10:14:21 +08:00
Shawn 23eeb21b13 fix(webhook): the 'max_retries' opt means request retry times 2022-07-27 17:06:14 +08:00
DDDHuang 98b36c4681 fix: hstream db connector , TODO: start apps 2022-07-27 11:38:45 +08:00
zhouzb c638e607cc chore(relup): download relup base version packages from s3 2022-07-20 18:16:28 +08:00
Zaiming (Stone) Shi b7053fa262 chore: add haproxy to cluster example script 2022-07-04 17:58:02 +02:00
Zaiming (Stone) Shi 14aa134ed0 ci: no need to download upgrade base packages for opensource edition 2022-07-02 12:13:36 +02:00
Zaiming (Stone) Shi 999eac5376 chore: bump emqx app version to 5.0.2 2022-07-02 11:44:19 +02:00
Zaiming (Stone) Shi 28535f27ed ci: no special handing for windows package name
windows packages for 5.0.0 and 5.0.1 were release using long package
name (with otp version).
but we have manually made a copy of the package to default (short) name
and uploaded to s3.
going forward, windows packages will only release on default (short)
names because we never support relup for windows
2022-07-02 11:44:19 +02:00
Zaiming (Stone) Shi 34ba414541 ci: ensure emqx runtime dependency 2022-07-01 14:57:48 +02:00
Zaiming (Stone) Shi 0f18381719 refactor: move scripts/relup-base-packages.sh to sub-dir 2022-07-01 07:43:03 +02:00
Zaiming (Stone) Shi 114d784d1a refactor: move scripts/relup-base-vsns.sh to sub-dir 2022-07-01 07:43:03 +02:00
Zaiming (Stone) Shi 73f49ca6e5 refactor: move inject-relup.escript to a sub-dir 2022-07-01 07:43:03 +02:00
Zhongwen Deng 92019e4d4c chore: don't copy i18n.conf 2022-07-01 09:33:35 +08:00
Zaiming (Stone) Shi 79be7f9420
Merge pull request #8308 from zmstone/0623-fix-relup
5.0: fix relup
2022-06-29 13:41:24 +01:00
Zaiming (Stone) Shi 01e29fb82d ci(relup): delete TODO, check both nodes for metrics data 2022-06-29 12:38:40 +02:00
Zaiming (Stone) Shi 888f637cdd docs(ci): add how to run in scripts/relup-test/README.md 2022-06-29 11:01:58 +02:00
Zaiming (Stone) Shi 4d4634335c ci: rename scripts/relup/ to scripts/relup-test 2022-06-29 08:07:19 +02:00
Zaiming (Stone) Shi 8b7fc490ae refactor: run relup test nodes in individual docker containers
When running EMQX in lux shell inside a docker container
the node won't boot due to load_failed for redbug modules
reason is still unknown
2022-06-29 07:10:45 +02:00
Zaiming (Stone) Shi b3f16ccb36 fix: Erlang distribution over TLS 2022-06-28 21:49:02 +02:00
Zaiming (Stone) Shi 184b337e84 chore: add a script to run relup lux test locally 2022-06-28 10:54:07 +02:00
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
ieQu1 a9ec193ef8 fix(prometheus): Disable authorization for metrics scraping endpoint 2022-06-23 00:31:53 +02:00
Zaiming (Stone) Shi e98cd47a16 ci: fix relup test for package build
the upgrade pacakage can only be .tar.gz package
2022-06-21 09:33:12 +02:00
Zaiming (Stone) Shi b467e11b2e fix(appup): fixed appup and version check scripts for 5.0 2022-06-20 22:20:31 +02:00
Zaiming (Stone) Shi 385566c1a0 docs: change descriptive info from 'community' to 'opensource' 2022-06-20 19:38:29 +02:00
Rory Z e986a6f2b4 ci: fix docker multi arch push error 2022-06-18 09:57:25 +08:00
Zaiming (Stone) Shi 9cd4587cfb
Merge pull request #8245 from DDDHuang/fix_mac
fix: mac build required pkg coreutils
2022-06-16 14:12:45 +01:00
Zaiming (Stone) Shi b3182609c3 ci: delete dpes cache from github work-flows 2022-06-16 13:07:27 +02:00
DDDHuang 7a875b3fec fix: mac build required pkg coreutils 2022-06-16 18:49:42 +08:00
Zaiming (Stone) Shi 92ea558ff3
Merge pull request #8238 from zmstone/0616-feat-add-dns-srv-record-resolution
feat: add dns.record_type config for cluster discovery
2022-06-16 10:53:28 +01:00
Zaiming (Stone) Shi 2e49ed74b9
Merge pull request #8235 from zmstone/0616-ci-ensure-sha256sum-for-macos-brew-install-coreutils
ci: ensure macos github runner installs coreutils
2022-06-16 10:02:01 +01:00
Zaiming (Stone) Shi 7d49d1ee5c feat: add dns.record_type config for cluster discovery 2022-06-16 08:59:09 +02:00
Zaiming (Stone) Shi 7715feb3e4 ci: ensure macos github runner installs coreutils 2022-06-16 07:53:20 +02:00
Zaiming (Stone) Shi 67b8e6c3bd test: add a script to test dns cluster node discovery 2022-06-16 01:34:16 +02:00
Zaiming (Stone) Shi b92708726a test: Dockerfile:s to build test images 2022-06-12 20:18:48 +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
ieQu1 83e5ec9b2d chore(ci): Bump emqx-schema-validate to 0.3.3 2022-05-31 18:00:33 +02:00
Zhongwen Deng 8aa60cc0a5 feat: generate a minimized emqx.conf 2022-05-31 19:20:27 +08:00
Zaiming (Stone) Shi 616f1ae302 ci: do not configure quic listener at all 2022-05-31 12:16:33 +02:00
Zaiming (Stone) Shi de6218dfa6 ci: do not configure quic listener for arm
quic listener is now not enabled by default
2022-05-31 12:11:23 +02:00
ieQu1 932384b7bd chore(ci): Bump schema validate to 0.3.2 2022-05-31 10:23:14 +02: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 3d7cab4288 fix: porting emqx_relup.erl from 4.4 2022-05-25 12:37:03 +08:00
Shawn eea9bd90b4 fix: remove the extra level of 'emqx' dir from .tar.gz 2022-05-25 02:00:01 +08:00
Shawn 7bc2d9edbb fix: remove bison from the required tools when building emqx 2022-05-21 14:17:12 +08:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
Zaiming (Stone) Shi 4664a9fc53 ci(jq): temp fix for ACLOCAL paths 2022-05-16 09:56:50 +02:00
Zaiming (Stone) Shi 1c95c417f7
Merge pull request #7951 from zmstone/0514-fix-flaky-authn-test-case
0514 fix flaky authn test case
2022-05-16 06:55:28 +01:00
Zhongwen Deng ec625363cf fix: emqx can't start with systemctl 2022-05-15 17:13:56 +08:00
Zaiming (Stone) Shi 00198abfd7 chore: hint how to fix fmt in pre-commit hook 2022-05-15 09:19:31 +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
Shawn fc645f8d3e fix: please the spell checker 2022-05-07 23:44:36 +08:00
Shawn 48db7ceb5f fix: set AUTO_INSTALL_BUILD_DEPS for CI 2022-05-07 22:47:20 +08:00
Shawn d80b7c720b chore: check dependenies before building on Mac OSX 2022-05-07 22:16:44 +08:00
Zaiming (Stone) Shi eb03e6ca9b build(macos): do not depend on gsed 2022-05-07 08:56:12 +02: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
Xinyu Liu f28559ef62
Merge pull request #7820 from zmstone/0428-fix-flaky-test
test: ensure emqx_metrics gen_server stopped after each test
2022-04-29 14:21:21 +08:00
Zaiming (Stone) Shi e5c7c37861 ci: quick fix before emqx-builder image is renamed to el7 and el8 2022-04-29 07:59:24 +02:00
Zaiming (Stone) Shi 1e170da9e8 test: ensure emqx_metrics gen_server stopped after each test 2022-04-29 12:41:36 +08:00
Shawn 50f1dcef97 fix: update elixir CI yamls for getting rebar3 2022-04-28 23:07:38 +08:00
Shawn b05b77bcbc chore: port ensure-rebar3.sh from 4.x 2022-04-28 19:28:29 +08:00
Zaiming (Stone) Shi ad7272b162 ci: get OS from builder image name
cross build is running in container
can not run docker in dokcer
2022-04-28 10:48:02 +02:00
Zaiming (Stone) Shi 1064d14fcf
Merge pull request #7788 from zmstone/0426-add-pre-commit-hook-to-ensure-code-style
chore: add a pre-commit hook to auto format erlang code
2022-04-28 09:01:22 +01:00
Zaiming (Stone) Shi 37be7a4977 chore: update check-format.sh to reformat all apps 2022-04-27 15:50:17 +02:00
Zaiming (Stone) Shi af69899619 chore: add a pre-commit hook to auto format erlang code 2022-04-27 08:01:55 +02:00
DDDHuang 07444e3da5 chore: dashboard format code 2022-04-26 17:18:30 +08:00