Commit Graph

647 Commits

Author SHA1 Message Date
Zaiming Shi 188f1b52c7 ci: rename action matrix dimention name opt_vsn to opt 2021-11-22 08:23:40 +01:00
Zaiming Shi 80aab3ae3f ci: parameterise cross-package build job with branch name 2021-11-22 00:10:44 +01:00
Zaiming Shi bab5d2f399 ci: do not run helm_test for enterprise for now 2021-11-20 20:55:22 +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
Thales Macedo Garitezi a5c8b95dd8
Merge pull request #6131 from emqx/reenable-rlog-fvt-tests
test(rlog): reenable RLOG FVT tests
2021-11-19 08:46:15 -03:00
Zaiming Shi 2d1aeb655c ci: delete master branch from auto-sync 2021-11-19 08:43:58 +01:00
Thales Macedo Garitezi 315a06214f
test(rlog): reenable RLOG FVT tests
The RLOG DB backend tests in FVT were temporarily disabled due to some
paho tests being specially flaky in CI.

In particular, those tests had the common pattern of subscribing to a
topic, immediately publishing to that topic and then waiting for the
response.  When in CI and using RLOG, there seems to be more delays in
replication of data, and often this pattern would fail in the
constraint testing enviroment.
2021-11-18 18:03:30 -03:00
JimMoen e361cd5733
Fix dashboard APIs return (#6177)
* fix(dashboard_api): delete non-exist user wrongly return 204

* fix(dashboard): dashboard user should use `tags` not `tag`

* fix(dashboard): create/update user return 200 with full users list

* fix(dashboard): logout status code 204

* fix(dashboard): update pwd status code 204

* test: test suite for dashboard APIs

* refactor(dashboard): user info mnesia record name use description

* style: make elvis happy

* fix(api): dashboard swagger check request should not override env

* fix(dashboard): add/modify dashboard returns single record

* ci: update emqx-fvt version to new tag 1.0.2-dev1
2021-11-18 14:36:12 +08:00
JimMoen e07e3c7039 ci: update emqx-fvt version 2021-11-15 16:30:44 +08:00
Thales Macedo Garitezi 28e3727aae
fix(ci): temporarily disable rlog FVT tests (flakiness)
A few FVT tests are very flaky when run in rlog core+replicant cluster
configuration (for instance `V5/test_publish.py::test_topic`). We are
disabling this test configuration temporarily while we investigate
further and mitigate it.
2021-11-10 11:03:39 -03:00
Thales Macedo Garitezi f8fc67b313
fix(lag): target only replica if rlog core+replicant
there seems to be race conditions related to some tests with sessions
hitting the core and the replicant alternately and rlog.

for intance, if there is some delay in this replication, a new
connection made to the replica with a just-created session in the core
may not have been replicated to the replicant, resulting in a test
failure if it expects the session to be present.

since such replication lags are inherent to the core-replicant
topology, we can try to target only the replicant to avoid seeing this
inconsistent view of the system during the tests.
2021-11-08 14:18:07 -03:00
Thales Macedo Garitezi c60feaaad2
test(fvt): extend functional verification tests to use replicant node
This parameterizes the Functional Verification Tests (FVTs) that run
in CI to use a replication log (RLOG) role of "replicant" for one of
the nodes.  With this addition, our FVTs may explore more scenarios
with data replication.
2021-11-07 17:02:57 -03:00
Zaiming Shi ce8e52f4d0 ci: fix job syntax 2021-11-04 18:32:03 +01:00
Zaiming Shi d1abb30818 ci: fix elvis check 2021-11-04 15:27:10 +01:00
Zaiming Shi dc58e4a441 ci: check code style
run elvis and nl-at-eof check
2021-11-04 14:47:05 +01:00
zhanghongtong 4fb303e4aa ci: change emqx-ci-helper version for build workflows 2021-10-28 09:22:53 +08:00
zhanghongtong f817ba0075 chore(CI): rename image 2021-10-22 13:40:01 +08:00
zhanghongtong b2d80125b6 build(docker): use ghcr image for build docker 2021-10-22 13:40:01 +08:00
zhanghongtong 7732796331 chore(CI): change otp version for docker compose file
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-22 13:40:01 +08:00
zhanghongtong 46a794e38b chore(CI): use concurrency to cancel in-progress workflows 2021-10-22 13:40:01 +08:00
zhanghongtong 4d27d371eb chore(CI): change otp version for workflows 2021-10-22 13:40:01 +08:00
zhanghongtong d334b27e56 chore(CI): better build docker image 2021-10-20 18:24:08 +08:00
zhanghongtong d7a3141a43 chore(CI): use tag of emqtt-bench in github actions 2021-10-19 17:35:38 +08:00
xujun540 cb317b3d7a chore(autotest): modify api automation script version 2021-10-19 15:36:17 +08:00
zhanghongtong bd00c7d3c7 chore(CI): do not update latest tag for docker hub when pre-release 2021-10-11 09:29:51 +08:00
zhanghongtong 48599324de chore(CI): fix push docker error for build packages workflows' 2021-09-29 20:43:05 +08:00
xujun540 e1de837664 chore(autotest): add tag 2021-09-28 19:15:00 +08:00
Zaiming (Stone) Shi 5d89b8d33b
Merge pull request #5804 from Rory-Z/chore/add-macos11-for-workflows
chore(CI): add macos 11 for build workflows
2021-09-26 13:48:20 +02:00
xujun540 92c02c0c8b chore(autotest): add and run test scripts and modify plug-ins 2021-09-26 14:04:43 +08:00
zhanghongtong f091858a27 chore(CI): add macos 11 for build workflows
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-26 12:33:59 +08:00
zhanghongtong 1e8948e091 chore(CI): use ghcr
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-16 14:33:59 +08:00
xujun540 a45cbf504b chore(test): modify format 2021-09-16 11:09:47 +08:00
xujun540 a673f18c41 chore(test): modify format 2021-09-16 11:09:47 +08:00
xujun540 4a4014855f chore(autotest): add api test script 2021-09-16 11:09:47 +08:00
zhanghongtong d443d26fce fix(auth mnesia api): fix api error for file type 2021-09-13 17:13:30 +08:00
xujun540 a6e335e715
chore(autotest): add api test script configuration 2021-09-11 10:38:18 +08:00
xiangfangyang-tech 5f94b8e1ff
chore(CI): add api test workflows for github actions (#5640) 2021-09-03 15:05:30 +08:00
Zaiming (Stone) Shi c64af6a78c
Merge pull request #5532 from zhongwencool/master
feat(emqx_cluster_call): ensure the consistency of resources
2021-08-27 09:40:31 +02:00
DDDHuang 86231f795d
refactor: close managment http 8081 (#5564) 2021-08-27 13:46:39 +08:00
zhongwencool 11e87ab9a3 chore(CI): DIAGNOSTIC=1 for more error message 2021-08-26 17:17:47 +08:00
zhanghongtong a2bafd1a18 feat(authz): support authorization config file part 2 2021-08-25 10:15:00 +08:00
zhanghongtong 0111306224 chore(CI): fix log attachment overwrite error 2021-08-24 16:15:14 +08:00
zhanghongtong 41f2b77ec3 chore(CI): update workflows
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-24 15:04:27 +08:00
zhanghongtong c90fc9578e chore(CI): using docker official actions for build packages workflow
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-13 15:28:00 +08:00
zhanghongtong c78945441c chore(CI): timed trigger code synchronization 2021-08-13 15:20:36 +08:00
zhanghongtong d1faf93bbf chore(CI): rename artifact for build packages workflows
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-13 10:30:42 +08:00
Zaiming (Stone) Shi 64ddb13d8e
Merge pull request #5450 from zmstone/chore-update-otp-version-for-ci
chore: update otp version in CI
2021-08-11 14:02:54 +02:00
Zaiming Shi 4abb3e65eb test(ci): dump haproxy logs if test failed 2021-08-11 10:39:40 +08:00
Zaiming Shi bf94051d56 chore: update otp version in CI 2021-08-10 15:56:22 +02:00
x1001100011 0fe3083cd7 build: add erlang 24.0.1 for ci 2021-08-09 11:12:25 +02:00
zhanghongtong cf20fc6db7 chore(CI): easier build packages
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 22:20:54 +08:00
zhanghongtong b69059d442 build: easier build docker
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 09:31:02 +08:00
Shawn f8f7493352 fix(test): set RETRY_INTERVAL and MAX_TOPIC_ALIAS for paho test 2021-07-17 17:36:01 +08:00
DDDHuang d04e1c6f54
refactor: clients api; status api; adapter minirest v1
The serious influence:
authn:
api
authz:
api; api test suit
dashboard:
all closed
lwm2m:
api;
modules:
api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
api
retainer:
api; api test suit
rule_engine:
api: api test suit
telemetry:
api
2021-07-12 10:05:51 +08:00
DDDHuang c11a8c6db6 refactor: clients api; status api; adapter minirest v1
The serious influence:

authn:
    api
authz:
    api; api test suit
dashboard:
    all closed
lwm2m:
    api;
modules:
    api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
    api
retainer:
    api; api test suit
rule_engine:
    api: api test suit
telemetry:
    api
2021-07-09 18:09:07 +08:00
William Yang 939f3855d5 ci(build-packages): docker fail fast: false 2021-07-07 13:41:47 +02:00
William Yang 9d760ff5bd ci(build-packages): rm rebar.lock in prepare phase 2021-07-07 13:41:47 +02:00
William Yang 606e48560c ci: build-package set fail-fast to false
To get better overall vision
2021-07-06 10:18:14 +02:00
zhanghongtong b2801299cb chore(CI): cancel build of 32-bit docker 2021-07-06 09:25:56 +08:00
zhanghongtong 2f5ab6a974 chore(CI): fix macos build error 2021-07-05 13:28:56 +08:00
Rory Z b93ec0a83a chore(CI): fix github workflows error (#1) 2021-07-02 17:01:16 +08:00
Turtle 918a26e921 feat(conf): merge all conf to emqx.conf 2021-07-02 17:01:16 +08:00
Rory Z d7c1cf6a5f chore(CI): delete compatibility test suite 2021-06-28 11:44:01 +08:00
Rory Z 8eca3e3a4e chore(CI): update ci env 2021-06-28 11:44:01 +08:00
Shawn 36c7785fd0 The config handler phase2 (#5052)
* refator(config_handler): handle and validate the updates to raw_configs

* fix(hocon): update hocon to 0.8.0

* refactor(config_handler): check and apply envs only in top-level handler

* refactor(config_handler): update config from top level to bottom level

* refactor(emqx_data_bridge): move configs to emqx.conf

* fix(emqx_schema): remove the extra config path

* fix(config_handler): load the emqx.conf when starting emqx_config_handler

* fix(data_bridge): API not working

* feat(config_handler): save updated configs to emqx_override.conf

* fix(config_handler): cannot find the emqx.conf and emqx_override.conf

* fix(emqx_config): cannot find the correct path for etc dir

* fix(test): load load emqx_schema foreign refereced apps

* refactor(emqx_plugin): do not generate configs before load plugins

All configs (including the configs for plugins) now should go into
the `emqx.conf`.

* fix(tests): update the test cases for plugins

* fix(tests): don't include schema from apps when testing

* fix(tests): use emqx-ct-helper branch hocon
2021-06-28 11:43:48 +08:00
zhanghongtong d4784a0d33 chore(CI): upload logs when emqx ct failed 2021-06-28 11:43:31 +08:00
zhanghongtong 05150ce58b revert: chore(CI): update events that trigger workflows
This reverts commit 002cbb6d8b
2021-06-28 11:42:55 +08:00
zhanghongtong 2f7373dd1c chore(CI): update events that trigger workflows 2021-06-28 11:42:55 +08:00
zhanghongtong d7da6b2379 chore(CI): delete needless link when build packages 2021-06-28 11:42:55 +08:00
zhanghongtong 1ecd0a54b9 chore(CI): add DIAGNOSTIC=1 when build windows 2021-06-28 11:42:55 +08:00
zhanghongtong 96c07a5055 chore(CI): upload rebar3.crashdump file when slim build failure 2021-06-28 11:42:38 +08:00
Zaiming Shi c84af95190 chore: ensure new env override prefix variable 2021-06-15 12:35:08 +02:00
zhanghongtong 3b21ad7225 Merge branch master into main-v4.3 2021-06-11 09:27:46 +08:00
zhanghongtong 3604593b86 chore(CI): use emqx otp in mac by kerl build 2021-06-10 14:28:57 +08:00
zhanghongtong 1098df815a chore(CI): fix relup error 2021-06-10 09:25:37 +08:00
turtleDeng a564e0c4bf
Merge pull request #4947 from emqx/dev/v5.0
Merge dev/v5.0 to master
2021-06-07 17:26:38 +08:00
zhanghongtong 5d30e52e73 chore(CI): fix error for sync code to enterprise 2021-06-07 16:02:01 +08:00
zhanghongtong d5366c7f5f chore(CI): change base branch to sync enterprise 2021-06-07 15:47:37 +08:00
Zaiming Shi 045a944192 chore(ci): check emqx app standalone 2021-06-07 09:09:28 +02:00
Zaiming Shi 948ff66111 test: fix rebar3 eunit arg
--dir apps/app_name causes rebar3 to crash because eunit handler
injects a `[]` as one of the extra_src_dirs option
2021-06-07 09:09:28 +02:00
Zaiming (Stone) Shi 729e9697cd
Merge pull request #4943 from emqx/master
Auto-pull-request-on-2021-06-05
2021-06-07 09:05:42 +02:00
Zaiming Shi e01222ef21 build: build macos package on correct OTP release 2021-06-05 19:53:56 +02:00
zhanghongtong 8f936e3839 chore(CI): remove raspbian9 in build packages workflows 2021-06-05 23:28:28 +08:00
zhanghongtong 7d0324fb1b chore(CI): fix download packages error in build packages 2021-06-05 18:57:00 +08:00
Zaiming (Stone) Shi 5dab6985c1
Merge branch 'dev/v5.0' into resolve-master-dev/v5.0-conflict-release-version 2021-06-05 11:51:02 +02:00
zhanghongtong d5059a2a37 chore(CI): fix download packages error in build packages 2021-06-05 17:49:27 +08:00
tigercl 12bab3716b
Merge pull request #4936 from Rory-Z/chore/change-trigger
chore(CI): update events that trigger workflows
2021-06-05 14:54:41 +08:00
zhanghongtong d825535d04 chore(CI): update events that trigger workflows 2021-06-05 14:09:12 +08:00
zhanghongtong 2052521715 chore(CI): fix relup error in enterprise 2021-06-05 01:44:53 +08:00
zhanghongtong 2711dc6219 chore(CI): fix appup workflows 2021-06-05 00:59:23 +08:00
zhanghongtong 6c4f297192 chore(CI): update build packages workflows for appup 2021-06-04 21:32:00 +08:00
Zaiming (Stone) Shi 913420588d
Merge branch 'dev/v5.0' into resolve-conflict-to-5.0 2021-05-31 09:17:21 +02:00
JianBo He 3a89b1f00b
chore(action): fix syntax error (#4885) 2021-05-31 15:08:52 +08:00
Rory Z 11352c4eaa
chore(ci): use cache for macos in slim build (#4883) 2021-05-28 09:57:55 +08:00
zhanghongtong a7d3dced5e chore(ci): ensure rebar3 in actions 2021-05-27 21:50:03 +08:00
Zaiming Shi 0424200978 build: ensure rebar3 in PATH for build_packages action 2021-05-27 12:42:21 +02:00
Zaiming Shi 925aa55951 build: add back macos erlang install cache 2021-05-27 16:18:17 +08:00
Zaiming Shi 0ac3e6e0ce build: ensure rebar3 in PATH 2021-05-27 16:18:17 +08:00
z8674558 31cbb7aa97 Merge branch 'master' of github.com:emqx/emqx into merge-master 2021-05-25 12:50:50 +09:00
Zaiming Shi 6015b4ac4a build: disable macos build cache for now 2021-05-24 21:12:15 +02:00
zhanghongtong f2ccf97780 chore(CI): fix relup tests error in enterprise repo 2021-05-24 18:00:48 +08:00
zhanghongtong 09084e4e27 chore(CI): fix relup tests error in enterprise repo 2021-05-24 15:11:46 +08:00
Zaiming Shi 7a969e085f test: ensure erlang 23 in more github actions 2021-05-21 17:59:17 +02:00
Zaiming Shi a8cb5678b5 test: ensure erlang 23 in github action 2021-05-21 16:48:01 +02:00
zhanghongtong 18036fdf3b chore(CI): show rebar3.crushdump when actions failed 2021-05-17 15:09:12 +08:00
zhanghongtong db4a76fe75 chore(CI): relup test support any commit 2021-05-14 05:41:00 +09:00
Rory-Z 0788aa972f chore(CI): fix app version check 2021-05-14 05:41:00 +09:00
zhanghongtong fb643fc53f chore(CI): add apps version check 2021-05-14 05:41:00 +09:00
z8674558 efe0c2fe1a fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat 2021-05-14 05:41:00 +09:00
zhanghongtong 0abdde0bad chore(CI): use cache for mac 2021-05-14 05:41:00 +09:00
Turtle 7ef173f2c2 chore(slim): fix build silm macosx fail 2021-05-14 05:41:00 +09:00
zhanghongtong b288710429 chore(CI): update build workflows 2021-05-14 05:41:00 +09:00
zhanghongtong 9c244679dc chore(CI): relup test support any commit 2021-05-13 19:05:34 +08:00
Rory-Z 0bf76adfd5 chore(CI): fix app version check 2021-05-12 10:34:54 +08:00
zhanghongtong bb490e7d6e chore(CI): add apps version check 2021-05-11 09:07:48 +08:00
z8674558 50f4e0617b fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat 2021-05-10 20:54:33 +09:00
zhanghongtong 29bbc0802b chore(CI): use cache for mac 2021-05-09 10:58:00 +08:00
Turtle a07fece436 chore(slim): fix build silm macosx fail 2021-05-08 21:32:16 +08:00
zhanghongtong 934d3c405d chore(CI): update build workflows 2021-05-08 13:57:02 +08:00
Zaiming Shi 814588d1c8 Merge remote-tracking branch 'origin/master' into resolve-conflict-master-to-v5.0 2021-05-07 22:24:38 +02:00
Zaiming Shi 05324dfd7c build(ci): download old versions 2021-05-07 21:25:10 +02:00
Zaiming (Stone) Shi 0d9a9fc966
Merge branch 'dev/v5.0' into resolve-conflict-master-to-v5.0 2021-05-07 08:43:26 +02:00
zhanghongtong 88df1713b1 chore(CI): fix relup tests error 2021-05-07 10:18:14 +08:00
zhanghongtong 323c1a4896 chore(CI): fix relup tests error 2021-05-07 09:32:52 +08:00
Zaiming Shi cd53568f36 build: pin otp 23.2.7.2-emqx-2 2021-05-06 21:05:39 +02:00
zhanghongtong e44bd431b9 chore(CI): when uplpad release asset, distinguish between enterprise and opensource repos 2021-05-05 15:18:34 +08:00
Zaiming Shi d904a1048b Merge remote-tracking branch 'origin/master' into merge-master-to-dev/v5.0 2021-04-30 15:09:31 +02:00
Zaiming Shi cacb56a25c build: pin erl23.2.7.2-emqx-1 2021-04-27 21:23:40 +02:00
k32 5fe1e30ad9 chore(ci): Don't fail builds when coveralls is misbehaving 2021-04-26 14:27:22 +02:00
zhanghongtong 5154a00252 chore(CI): fix packages version error for windows 2021-04-24 15:10:34 +02:00
zhanghongtong 84ee523145 chore(fvt test): waiting emqx cluster 2021-04-21 09:30:13 +08:00
zhanghongtong 48b0cc37ed chore(docker compose): update emqx cluster compose file 2021-04-19 18:19:53 +08:00
Zaiming Shi 5c49d5e49d chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-17 22:15:34 +02:00
zhanghongtong ed2a675404 chore(fvt test): update emqx cluster compose file 2021-04-15 21:51:27 +08:00
JianBo He 9e8c379ab4 test(ci): add proper testing back 2021-04-14 19:38:56 +08:00
zhanghongtong be36e51f6e feat(redis): redis sentinel support ssl connect 2021-04-13 14:42:08 +08:00
z8674558 b0c3c713b5 Merge branch 'master' of github.com:emqx/emqx into merge-master-to-v5 2021-04-13 00:09:17 +09:00
Zaiming Shi df5dc78dff chore(ci): add coveralls finished github action step 2021-04-12 07:00:29 +02:00
Zaiming Shi 08305f8ddf chore(cover): pass host env to container for cover data upload 2021-04-12 07:00:29 +02:00
zhanghongtong 48cbb9c0ed chore(CI): cts support redis sentinel ssl 2021-04-10 11:06:09 +08:00
zhanghongtong 355b42c623 chore(CI): cts support redis sentinel 2021-04-10 11:06:09 +08:00
zhanghongtong 1e249cfd73 chore(CI): target workflows event support enteprise tags 2021-04-08 18:11:59 +08:00
z8674558 971e6ca90e Merge branch 'master' of github.com:emqx/emqx into merge-master-to-v5 2021-04-07 20:29:08 +09:00
zhanghongtong 9037622126 chore(CI): update sync workflows 2021-04-07 18:50:38 +08:00
zhanghongtong b9a4eceda1 chore(CI): add reviewers for sync code PR 2021-04-07 17:17:48 +08:00
zhanghongtong 0b904bb28b chore(CI): add password for redis cluster in actions 2021-04-07 15:21:18 +08:00
zhanghongtong e44855bfb7 chore(CI): add password for redis in actions 2021-04-07 15:21:18 +08:00
zhanghongtong eb56e5462d chore(CI): fix skip test for slim build on enterprise repo 2021-04-01 09:11:29 +08:00
zhanghongtong e3c2461e54 chore(CI): update test case workflows for enterprise repos 2021-03-31 19:44:38 +08:00
zhanghongtong 9be1d94f44 chore(CI): add ssl user for mysql 2021-03-31 19:44:38 +08:00
zhanghongtong 65e044abc0 chore(CI): update redis image 2021-03-30 18:02:37 +08:00
zhanghongtong ac9a229c37 chore(CI): update docker compose file 2021-03-30 18:02:37 +08:00
zhanghongtong 35a69403f7 chore(CI): fix download errror for build workflows 2021-03-29 11:03:42 +08:00
Zaiming Shi f0e947a987 chore(ci): Ensure exit 1 at test failure 2021-03-25 21:23:20 +01:00
Zaiming Shi 4829814c58 chore(ci): inspect docker logs after pytest failure 2021-03-25 18:08:41 +01:00
zhanghongtong b9c913d18f chore(CI): fix windows build error 2021-03-23 20:32:23 +08:00
JianBo He f08ddec296
Add server_name_indication and verify option (#4349)
Add server_name_indication and verify option
2021-03-23 19:48:04 +08:00
zhanghongtong 5ea897f0f6 chore(CI): check client exited 2021-03-23 09:42:33 +08:00
Zaiming Shi b6894ae4c2 chore(build): remove debug flag 2021-03-22 08:15:15 +01:00
Zaiming Shi aa802d129c chore(ci): Delete bcrypt in windows
The dependency is downloaded in ubuntu, but copied to windows
so we need a explicit deletion
2021-03-22 08:15:15 +01:00
zhanghongtong 609a8566c7 chore(CI): update build workflws target event 2021-03-20 16:22:59 +01:00
zhanghongtong 7ea69f56be chore(CI): fix cts error 2021-03-20 14:56:08 +08:00
zhanghongtong 3e36c08576 chore(CI): update workflows 2021-03-20 13:43:22 +08:00
zhanghongtong 280fedca0d chore(CI): cts support enterprise repos 2021-03-20 09:31:32 +08:00
zhanghongtong be4faa6d7c chore(CI): app test workflows support enterprose repo 2021-03-20 09:31:32 +08:00
Zaiming Shi ddec66fe35 chore(build): remove plugin regression for now
We do not have Elixir in build environment
2021-03-19 12:22:43 +01:00
zhanghongtong 6d6fe23d45 fix(CI): fix fvt test error 2021-03-19 16:34:14 +08:00
zhanghongtong 20086bcff1 chore(CI): fvt test support enterprise repo 2021-03-19 09:18:53 +08:00
Rory Z 862e484944
chore(CI): build workflow support enterprise repo (#4363) 2021-03-18 16:30:48 +08:00
Zaiming Shi 1ee0432301 chore(build): bump to OTP-23.2.7 2021-03-18 09:04:08 +08:00
Zaiming Shi 51dac159d3 chore(ci): No more make get-deps 2021-03-15 08:04:39 +01:00
Zaiming Shi 6c106207ff
Merge pull request #4293 from emqx/master
Auto-pull-request-on-2021-03-05
2021-03-10 20:57:45 +01:00
Zaiming Shi de6359b5fd chore(ci): find and run plugin tests 2021-03-07 09:49:11 +01:00
zhanghongtong b12d4f481f chore(script): remove the prefix of pkg-vsn.sh 2021-03-06 10:40:32 +08:00
z8674558 80125a9606 feat(rebar.config.erl): allow community plugins 2021-03-05 23:19:34 +09:00
zhanghongtong bd66e93b6d chore(CI): fix spell error 2021-03-05 19:07:24 +08:00
zhanghongtong cd4614876a chore(CI): add git syne workflow 2021-03-05 19:04:45 +08:00
z8674558 efd4ef8091 Merge branch 'dev/v5.0' of private:emqx/emqx into fix-merge-conflict-master-to-5.0 2021-03-04 22:12:09 +09:00
zhanghongtong 9f0c88cda9 chore(CI): update workflows
change target update repos event in build packages workflows

merge dialyzer test to run test case workflows
2021-03-04 19:29:37 +08:00
zhanghongtong 7d2afbe2af build(CI): fix syntax error for actions 2021-03-04 08:07:53 +08:00
z8674558 284fcab12d test(.github): run dialyzer on pull request 2021-03-04 00:09:44 +09:00
zhanghongtong f391e039c9 build(CI): fix syntax error for actions 2021-03-03 21:41:09 +08:00
zhanghongtong 7a915efaa2 build(CI): update build packages workflows 2021-03-03 21:38:14 +08:00
zhanghongtong ee776c5099 chore(CI): update events that trigger workflows 2021-03-03 20:55:45 +08:00
zhanghongtong f0d42bc6f5 build(CI): fix build error on windows in github actions 2021-03-03 19:48:34 +08:00
Zaiming Shi b176300635 chore(ci): check rebar dependency integrity in CI 2021-03-02 20:38:44 +01:00
Zaiming Shi 5edef84332
Merge branch 'dev/v5.0' into fix-merge-conflict-master-to-5.0 2021-03-01 19:58:16 +01:00
Zaiming Shi 7afeadd6fc chore(ci): run eunit test in github action 2021-02-26 20:50:07 +01:00
Zaiming Shi 23269c13bc
Merge pull request #4229 from emqx/master
Auto-pull-request-on-2021-02-23
2021-02-24 09:57:51 +01:00
Zaiming Shi 82d14df3e7 Merge remote-tracking branch 'origin/master' into dev/v4.3.0 2021-02-23 14:27:54 +01:00
z8674558 f251609ace Merge remote-tracking branch 'upstream/dev/v5.0' into dev/v4.3.0 2021-02-19 12:47:07 +09:00
z8674558 2b9a702b70 test(ci): give parameters thru env variable, not sed 2021-02-19 01:09:20 +09:00
Zaiming Shi d11487268e Merge remote-tracking branch 'origin/dev/v4.3.0' into resolve-conflict-v4.3.0-to-v5.0 2021-02-12 10:36:16 +01:00
JianBo He 2b4906b47d
Merge branch 'dev/v4.3.0' into unify_pgsql_conf 2021-02-11 15:50:43 +08:00
Zaiming Shi 55253f914c
Merge pull request #4149 from emqx/dev/v4.3.0
Auto-pull-request-on-2021-02-04
2021-02-04 23:17:10 +01:00
Yudai Kiyofuji aadd1ba11a
add shellcheck to ci (#4126)
* chore(shell): disable some shellcheck

* refactor(shell): fix shellcheck

* test(ci): add shellcheck
2021-02-04 16:51:48 +09:00
JianBo He daa9648db5 chore(ci): delete the ssl version configuration 2021-02-04 15:33:25 +08:00
JianBo He 52c747ca6b chore(cover): add coverall back 2021-02-04 14:22:17 +08:00
zhanghongtong 6dd833c0ac docs: update contributing guidelines and add pr template 2021-02-03 18:21:41 +08:00
JianBo He 7f349d814e test(ci): unify the pgsql confs 2021-02-03 17:03:16 +08:00
Zaiming Shi 3e1b6394f2
Merge pull request #4131 from emqx/dev/v4.3.0
Auto-pull-request-on-2021-02-01
2021-02-02 20:05:43 +01:00
zhanghongtong a310cd3278 chore(CI): update aws cli download url 2021-02-01 14:48:08 +08:00
Zaiming Shi 4e19e99ec4 Merge tag 'v4.3-alpha.1' into merge-4.3-alpha.1-to-5.0 2021-01-29 15:12:37 +01:00
JianBo He 38eb849ef0 fix(mysql): upgrade mysql to 1.7.1 for TLS supporting 2021-01-29 19:31:02 +08:00
zhanghongtong d78b2b23c1 chore(build): update pkg version 2021-01-29 19:29:41 +08:00
z8674558 fd1a53b45e fix(cts): fix config file path in sed 2021-01-29 18:21:29 +09:00
z8674558 e8729fb00e Merge branch 'dev/v5.0' of private:emqx/emqx into merge430 2021-01-29 17:11:12 +09:00
zhanghongtong 472b8bf42e chore(CI): cancel the tls test for mysql 2021-01-28 21:23:41 +08:00
zhanghongtong 6a83cf3f35 chore(format): format some code 2021-01-28 19:18:18 +08:00
Zaiming Shi 903eadad57 fix(ci): wait for emqx in mac test 2021-01-27 23:18:49 +01:00
Zaiming Shi fa7d96dd4a Merge remote-tracking branch 'origin/dev/v4.3.0' into dev/v5.0 2021-01-26 19:32:55 +01:00
Zaiming Shi 197196624e chore(CI): Put OTP 23 on trial 2021-01-25 11:44:00 +01:00
Zaiming Shi 20c37609af
Merge pull request #4062 from emqx/dev/v4.3.0
Auto-pull-request-on-2021-01-24
2021-01-24 22:29:09 +01:00
zhanghongtong 17ee5b0af5 build(helm): add loaded-plugins and loaded-modules to helm configmap
turn off telemetry in CI
2021-01-23 12:21:16 +08:00
Zaiming Shi 84e922205b
Merge pull request #4056 from emqx/dev/v4.3.0
Auto-pull-request-on-2021-01-22
2021-01-22 21:41:06 +01:00
zhanghongtong d7854a2f0c chore(CI): fix spelline errors 2021-01-22 16:26:48 +01:00
Zaiming Shi 5d45325cb8 fix(conf): quote config values 2021-01-22 14:20:47 +01:00
Zaiming Shi b9071394c4 Merge remote-tracking branch 'origin/dev/v4.3.0' into chore-merge-v430-to-v50 2021-01-21 23:53:12 +01:00
Yudai Kiyofuji 455f210b4c
feat(cuttlefish): use hocon as a parsing function (#4008)
* chore(conf): add quotation for hocon

* chore(conf): fix paths incompatible with hocon

* chore(conf): use hocon as parsing function

* chore(docker): add quotation to some env variables for hocon
2021-01-19 19:52:17 +09:00
zhanghongtong e2389ab8e7 chore(CI): update erlang version 2021-01-19 09:08:01 +08:00
wwhai a6de90c3f9
fix(test): add two way ssl test (#4025) 2021-01-16 22:28:15 +08:00
zhanghongtong 9e03d6fea1 chore(auth): configuration format of unified authentication plug-in 2021-01-15 20:25:09 +08:00
bignullnull 981482d707
fix(test): fix test cases (#4012)
* fix(test): fix test cases
2021-01-15 09:48:57 +08:00
zhanghongtong 66cbedd978 test(CI): run xref case in actions 2021-01-13 18:15:46 +08:00
tigercl 372687d79d
improve(http): replace httpc with gun, improve performance and fix httpc unresponsiveness (#3940) 2021-01-13 13:47:23 +08:00
zhanghongtong 72148c9e20 test(CI): update matrix for build packages 2020-12-30 18:18:15 +08:00
zhanghongtong 75381bc945 test(CI): update matrix for build packages 2020-12-30 13:45:23 +08:00
zhanghongtong d90bf9a1db test(CI): update build packages
remove unnecessary steps from the workflow for building a package
2020-12-30 13:45:23 +08:00
zhanghongtong fcf6743173 test(CI): delete matrix for test case 2020-12-29 00:03:12 +08:00
zhanghongtong 41afcde964 chore(ssl conf): update the ssl configuration format for mongo, pgsql, and redis plug-ins 2020-12-29 00:03:12 +08:00
zhanghongtong 6989c7a83d test(CI): add cts 2020-12-29 00:03:12 +08:00
Shawn 505a6bef42 fix(coverall): temporarily delete the coverall 2020-12-28 16:02:04 +08:00
zhanghongtong ce6411532b test(emqx): fix test case error for emqx 2020-12-22 13:39:49 +08:00
Zaiming Shi 824cf26185 chore(elvis): Move elvis-check.sh to scripts dir 2020-12-19 08:01:40 +01:00
zhanghongtong fd6cc1a848 test(CI): update actions
add fvt tests

update test cases
2020-12-17 14:23:33 +08:00
Zaiming Shi 0336cca600 Merge remote-tracking branch 'origin/master' into dev/v4.3.0 2020-12-16 11:22:58 +01:00
Rory Z c0f03ca132
test(CI): add actions for build emqx packages (#3915) 2020-12-15 13:34:11 +08:00
Zaiming Shi e06fcbb769 chore(elvis): only trigger in github action when pull request 2020-12-11 17:33:53 +08:00
ayodele.akingbule 315d14d3ed chore(lint): Add Elvis Linter Config and Github Action 2020-12-11 17:33:53 +08:00
z8674558 6a7438ce6b feat(ci): use gitlint to check if commit messages are semantic 2020-12-11 17:33:53 +08:00
Zaiming Shi 558f28ba27 refactor(build): Add dialyzer Makefile target 2020-12-10 09:35:27 +01:00
JianBo He 1700a7a98a refactor(test): put all property cases to test/props directory 2020-06-18 17:38:34 +08:00
JianBo He e3489b9d46 refactor(style): improve all types declaration
- Add dialyzer for code analysis
- Correct all the module type declarations
- Use `-type()` to declaration a type instead of `-opaque`
  (It is advantageous to the code dialyzer)

BROKEN CHANGES:
- Add a ?DEFAULT_SUBOPTS for emqx_broker:subscribe/1,2,3
- Remove the needless internal function `emqx_vm:port_info(PortTerm, Keys)`
2020-06-18 17:38:34 +08:00
turtleDeng 9a7dd4579e
Update run_test_case.yaml 2020-05-23 10:04:59 +08:00
JianBo He 361730558f Check xref 2020-05-22 10:09:52 +08:00
JianBo He e492260fe8 Change travis-ci to github action 2020-03-21 13:40:16 +08:00
JianBo He 40758fb693 Workflow (#3163)
Add workflows
2020-01-09 11:53:20 +08:00