Zaiming (Stone) Shi
77652b9858
ci: refactor package build & test jobs
2022-01-04 17:28:53 +01:00
Ilya Averyanov
7208669946
chore(authn): reduce number of pre-generated certificates, refactor
...
tests
2021-12-30 13:49:14 +03:00
Ilya Averyanov
a7ca6cb39f
chore(authn): test MongoDB authn via ssl connection
2021-12-29 16:24:52 +03:00
Ilya Averyanov
e2e2c98679
chore(authn): test Mysql authn via ssl connection
2021-12-27 11:16:31 +03:00
Ilya Averyanov
6de89d1207
chore(authn): test PostgreSQL authn via ssl connection
2021-12-27 11:16:31 +03:00
Ilya Averyanov
520629d6e2
chore(authn): test Redis authn via ssl connection
2021-12-27 11:16:31 +03:00
Ilya Averyanov
6ad71a483e
chore(authz): test Redis backend with real Redis
2021-12-17 14:18:54 +03:00
William Yang
4402327da0
ci(deb): remove system V test
2021-12-02 22:46:22 +01:00
zhouzb
caf1784a90
build: update otp version
2021-12-02 15:25:11 +08:00
Ilya Averyanov
390575eafb
chore(authn): add MongoDB backend tests
2021-11-29 21:17:56 +03:00
Ilya Averyanov
8cc0b43de7
chore(authn): add MySQL & PostgreSQL backend tests
2021-11-23 11:52:51 +03:00
Ilya Averyanov
071c2c99e8
refactor(authn resources): add `emqx_resource` and `emqx_authn` tests
2021-11-22 21:08:04 +03: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
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
zhanghongtong
670281a0fa
ci: change localhost to 127.0.0.1 for support new curl version
2021-11-18 15:30:41 +08:00
Thales Macedo Garitezi
030e4857ec
docs(issue): mark solution as TODO and link related issue
...
https://github.com/emqx/emqx/issues/6094
2021-11-08 15:36:54 -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
zhanghongtong
f817ba0075
chore(CI): rename image
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
Zaiming Shi
a591f00c5b
chore(ci): increase wait time for emqx stop when running on arm
2021-09-29 14:21:30 +02:00
Zaiming Shi
ad46208fa5
chore(ci): dump debug log if failed to stop
2021-09-29 12:56:09 +02:00
JimMoen
deac54c847
chore(for editor): Add comments for Emacs major mode.
2021-09-16 15:43:30 +08:00
William Yang
6e7d3d05e4
ci: install openssl11 for centos7 amd64 only
2021-09-07 09:49:09 +08:00
zhanghongtong
cff15dfc44
chore(CI): fix env error for test wrokflows
2021-09-03 15:44:38 +08:00
William Yang
2426482ae1
ci: install openssl11 as deps.
2021-09-02 08:29:02 +02:00
DDDHuang
86231f795d
refactor: close managment http 8081 ( #5564 )
2021-08-27 13:46:39 +08:00
Shawn
092f29fecd
refactor(CI): update the ENVs for new listener,zone configs
2021-08-26 09:11:30 +08:00
Shawn
5177ba02d6
fix(config): update ENVs for logger
2021-08-23 18:25:45 +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
ae8c3cf779
chore(ci): make use of haproxy mqtt sticky session
2021-08-11 10:39:40 +08:00
Zaiming Shi
1d755f1272
test(ci): create certificate chain in tmp dir
...
the haproxy container boot script has no permission writing to
the mounted dir.
2021-08-11 10:39:40 +08:00
Zaiming Shi
1a4f7f190d
test(ci): update haproxy version to 2.4
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
Zaiming Shi
cd92f73ca1
test: add debug print
2021-08-09 22:09:11 +02:00
x1001100011
0fe3083cd7
build: add erlang 24.0.1 for ci
2021-08-09 11:12:25 +02:00
Zaiming (Stone) Shi
672f94e118
Merge pull request #5430 from zmstone/refactor-simplify-ci-scripts
...
refactor: simplify ci scripts
2021-08-09 11:09:44 +02:00
Zaiming Shi
9f3063a823
refactor: bin/emqx call fucntions for error logs
2021-08-09 10:28:04 +02:00
tigercl
40a9932167
Merge pull request #5427 from tigercl/feat/redis-authn
...
feat(authn redis): support authn with redis
2021-08-09 11:11:37 +08:00
Zaiming Shi
c473f9990a
test: run package test uder emqx user
...
no need to su before start
2021-08-08 11:14:26 +02:00
zhouzb
3761db0525
feat(authn redis): support authn with redis
2021-08-06 14:05:31 +08:00
Zaiming Shi
bc23ff5e47
feat: add graceful shutdown
...
prior to this cahnge emqx node shutdown is done by init:stop
which might have undesired stop order of the applications
in this change, emqx_machine_terminator is added to stop apps
in defined order and then terminate the node in infinite loop
2021-08-05 14:11:58 +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
318beef503
chore(relup tests): check rules matched
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-22 10:57:45 +08:00
William Yang
de387c4c8e
chore: gitignore erlang_ls.config
2021-07-21 17:51:49 +08:00
William Yang
7521d09079
feat(quic): toggle QUIC listener and fix ci test
2021-07-21 17:51:49 +08:00
Shawn
f8f7493352
fix(test): set RETRY_INTERVAL and MAX_TOPIC_ALIAS for paho test
2021-07-17 17:36:01 +08:00
Shawn
e3cfc922b2
fix(docker): set console log to debug when testing
2021-07-17 15:49:50 +08:00
Shawn
c9cf8b66e7
fix(docker): cannot set log_level using os env
2021-07-17 15:25:18 +08:00
Shawn
72d3b2db1b
fix(docker): update the env names in scripts
2021-07-17 14:25:07 +08:00
Shawn
4d279e47d8
chore(merge): merge code from master
2021-07-17 01:20:57 +08:00
zhanghongtong
69f06b3631
chore(CI): add time sleep for relup test
2021-07-16 23:17:51 +08:00
zhanghongtong
9239d3a840
chore(CI): update emqx cluster docker compose file
2021-07-16 23:17:51 +08:00
Shawn
7d66760c1e
fix(hocon): start emqx failed using os env configs
2021-07-15 11:55:31 +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
793aa951e3
Merge pull request #5170 from qzhuyan/dev/william/ci-fix-build-package
...
ci(quic): conditionally quicer build
2021-07-08 17:34:47 +02:00
William Yang
2d2be45c0d
ci(build-package): fix env setting before start emqx
2021-07-07 13:41:47 +02:00
William Yang
1b014b492f
ci(build-package): disable quicer listener for deb test
2021-07-07 13:41:47 +02:00
William Yang
5fcdaa6afe
ci(build-packages): fix test zip
2021-07-07 13:41:47 +02:00
William Yang
9516e5047a
ci(build-packages): start emqx as user emqx
2021-07-07 13:41:47 +02:00
William Yang
16eb5da440
ci: disable quic listener on arm
2021-07-07 13:41:47 +02:00
William Yang
7a3330856d
ci(build-packages): Don't start quic on ARM platform
2021-07-07 13:41:47 +02:00
Rory Z
53df218e6a
feat(connector): mongo support replica set
2021-07-06 18:07:06 +08:00
Rory Z
fd0a211629
chore(authz): mongo connector support ssl
2021-07-05 17:57:03 +08:00
Rory Z
694f3bd67f
feat(authz): support mongo single
2021-07-05 17:57:03 +08:00
Turtle
918a26e921
feat(conf): merge all conf to emqx.conf
2021-07-02 17:01:16 +08:00
zhanghongtong
2b082f9cf9
chore(connector): update connector ssl schema
2021-06-29 18:22:44 +08:00
Zaiming Shi
c7fe49c200
test(ci): add plugin list status check after relup new vsn install
2021-06-28 11:42:12 +08:00
Shawn
501b9c9435
fix(minirest): encode response message failed ( #4965 )
2021-06-28 11:39:50 +08:00
Zaiming Shi
9e7f34f328
chore: ci print erlang.log.1
2021-06-15 12:35:08 +02:00
Zaiming Shi
992221a4d3
ci: fix bad env variable name
2021-06-15 12:35:07 +02:00
zhanghongtong
3b21ad7225
Merge branch master into main-v4.3
2021-06-11 09:27:46 +08:00
zhanghongtong
bf7ba4f615
chore(CI): fix build error when no have base upgrade package
2021-06-10 14:28:57 +08:00
zhanghongtong
1098df815a
chore(CI): fix relup error
2021-06-10 09:25:37 +08:00
zhanghongtong
aa030315b3
chore(CI): replace the emqx_ctl with curl in the test script
2021-06-09 13:38:14 +08:00
Zaiming Shi
0431c64708
test(ci): fix path to cert dir
2021-06-07 09:09:28 +02: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
2711dc6219
chore(CI): fix appup workflows
2021-06-05 00:59:23 +08:00
Zaiming Shi
291d98f13b
fix: shellcheck .ci/build_packages/tests.sh
2021-06-04 16:32:46 +02:00
zhanghongtong
6c4f297192
chore(CI): update build packages workflows for appup
2021-06-04 21:32:00 +08:00
z8674558
4b174b0277
feat(conf): use hocon schema
2021-06-01 17:05:52 +09:00
zhanghongtong
52a933f113
chore(CI): fix relup error
2021-05-29 11:45:52 +08:00
zhanghongtong
f2ccf97780
chore(CI): fix relup tests error in enterprise repo
2021-05-24 18:00:48 +08:00
Zaiming Shi
e7e87837e5
test: fix emqx_ctl status grep pattern
2021-05-21 11:18:18 +02:00
Rory-Z
c64b00720f
chore(CI): update relup test script
2021-05-14 14:39:57 +08:00
zhanghongtong
9c244679dc
chore(CI): relup test support any commit
2021-05-13 19:05:34 +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
934d3c405d
chore(CI): update build workflows
2021-05-08 13:57:02 +08:00
Zaiming Shi
cd53568f36
build: pin otp 23.2.7.2-emqx-2
2021-05-06 21:05:39 +02:00
Zaiming Shi
cacb56a25c
build: pin erl23.2.7.2-emqx-1
2021-04-27 21:23:40 +02: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
ef88b283e8
chore(CI): fix redis ssl cluster error
2021-04-15 21:51:27 +08:00
zhanghongtong
ed2a675404
chore(fvt test): update emqx cluster compose file
2021-04-15 21:51:27 +08: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
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
dfe29de37f
chore(CI): skip service check for raspbian
2021-04-01 14:27:10 +08:00