Zaiming (Stone) Shi
22c27cb45f
feat(cover): add covertool
2022-12-18 12:23:47 +01:00
Zaiming (Stone) Shi
4bc333812f
chore: bump version to v4.4.12-alpha.2
2022-12-16 11:06:14 +01:00
Zaiming (Stone) Shi
e8c2a3c8f5
Merge pull request #9566 from zmstone/1216-fix-ci
...
1216 fix ci
2022-12-16 11:04:45 +01:00
Zaiming (Stone) Shi
3698150fc5
ci: use alternatives for python2 python3 switch
2022-12-16 11:01:00 +01:00
Zaiming (Stone) Shi
be20082ce5
ci: revert of docker/setup-qemu-action@v3 back to v2
2022-12-16 10:50:38 +01:00
Ivan Dyachkov
40f4d326a0
ci: build macos arm64 packages
2022-12-16 08:55:49 +01:00
Zaiming (Stone) Shi
4dc4e0039e
docs: fix change logs
2022-12-15 18:01:42 +01:00
Zaiming (Stone) Shi
682f917d6d
docs: add change log for adding amazon linux 2
2022-12-15 17:57:53 +01:00
Ivan Dyachkov
4c5d66ba6b
Merge pull request #9544 from id/build-fix-amzn2-relup
...
build: fix relup on amzn2
2022-12-14 16:40:49 +01:00
Ivan Dyachkov
f1a55bc052
build: fix relup on amzn2
2022-12-14 14:58:52 +01:00
Xinyu Liu
81560381c8
Merge pull request #9539 from terry-xiaoyu/protect_rule_and_resource_crud_apis-v44
...
Protect rule and resource crud apis v44
2022-12-14 16:00:15 +08:00
Zaiming (Stone) Shi
7221909726
Merge pull request #9498 from id/ci-4.4-build-amzn2-packages
...
ci: build amzn2 packages
2022-12-14 08:44:27 +01:00
Ivan Dyachkov
97e4929abb
ci: build amzn2 packages
...
also upgrade emqx-builder to 4.4-23
2022-12-14 08:35:15 +01:00
Shawn
920a9fd455
chore: update the change logs
2022-12-14 13:57:11 +08:00
Shawn
7c420b39de
chore: update emqx_rule_engine.appup.src
2022-12-14 13:52:41 +08:00
Shawn
781c8949b3
fix: tmp probing resources are not removed after testing resources
2022-12-14 13:52:24 +08:00
Rory
4760d8715e
Merge pull request #9527 from Rory-Z/chore/helm-support-externalTrafficPolicy
...
chore: helm chart support externalTrafficPolicy
2022-12-12 19:17:41 +08:00
Traphalet
2d4ef5bfa3
chore(actions): v4.4 update git actions versions
2022-12-12 11:11:48 +02:00
Rory Z
af789b26d3
chore: helm chart support externalTrafficPolicy
...
Fix https://github.com/emqx/emqx/issues/9515
2022-12-12 16:51:27 +08:00
Rory
fa8dceef02
Merge pull request #9504 from Rory-Z/chore/fix-helm-value
...
fix(helm): fix helm value explain error
2022-12-12 16:25:06 +08:00
Rory Z
fe26c6fa40
fix(helm): fix helm value explain error
...
Fixed EMQX Helm Chart can not set JSON type value for EMQX configuration items
2022-12-12 15:41:54 +08:00
Rory
e0d4792a53
Merge pull request #9508 from Rory-Z/chore/fix-helm-secret
...
fix(helm): chart using incorrect secret values with custom credentials
2022-12-12 15:34:59 +08:00
Rory Z
193f2ab7bd
fix(helm): chart using incorrect secret values with custom credentials
2022-12-12 14:13:31 +08:00
Zaiming (Stone) Shi
6cb23c7cbc
Merge pull request #9521 from zmstone/1209-sync-changes-from-ee-back-to-c
...
chore: sync changes from ee to ce
2022-12-09 15:34:58 +01:00
Zaiming (Stone) Shi
c5bbac0a23
chore: restore apps/emqx_retainer/src/emqx_retainer_sup.erl
...
this file, ce should be copied to ee, not the other way around
2022-12-09 14:44:53 +01:00
Zaiming (Stone) Shi
f818a78d29
chore: update appup
2022-12-09 14:41:30 +01:00
Zaiming (Stone) Shi
0c3de088cb
chore: sync changes from ee to ce
2022-12-09 13:58:07 +01:00
lafirest
e3ed682e8d
Merge pull request #9493 from lafirest/fix/psk_v4.4
...
fix(psk): add more PSK ciphers support
2022-12-09 16:10:51 +08:00
firest
a01301a985
test(psk): add new ciphers into test case
2022-12-09 15:21:40 +08:00
firest
04e544a01d
chore: update changes
2022-12-09 15:21:34 +08:00
firest
6d8dd430fd
fix(psk): add more PSK ciphers support
2022-12-09 15:20:50 +08:00
zhongwencool
925787bc59
Merge pull request #9475 from zhongwencool/dashboard-password-validate
...
fix: add dashboard password validation
2022-12-09 11:17:35 +08:00
zhongwencool
7806a1d7d3
fix: missing emqx_misc in emqx appup 4.4.11
2022-12-09 10:24:34 +08:00
zhongwencool
be9870787c
fix: add dashboard password validation
2022-12-09 10:15:09 +08:00
Thales Macedo Garitezi
623283c077
Merge pull request #9499 from thalesmg/fix-flaky-test-v44
...
test(flaky): fix flaky test
2022-12-07 13:12:55 -03:00
Thales Macedo Garitezi
8d20c5a00c
test(flaky): fix flaky test
...
```
%%% emqx_crl_cache_SUITE ==> t_empty_cache: FAILED
%%% emqx_crl_cache_SUITE ==> {{badmatch,{error,econnrefused}},
[{emqx_crl_cache_SUITE,t_empty_cache,1,
[{file,"/home/thales/dev/emqx/emqx2/test/emqx_crl_cache_SUITE.erl"},
{line,450}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1224}]}]}
```
2022-12-07 11:32:54 -03:00
Xinyu Liu
a54f88a1ad
Merge pull request #9486 from JimMoen/fix-message-dropped-event-v44
...
Fix message dropped event v44
2022-12-07 18:00:29 +08:00
JimMoen
97bfe359d1
chore: fix typo
2022-12-07 16:01:33 +08:00
JimMoen
fe0f2bc4e7
test(session): ensure 'message.dropped' hook ran with named reason
2022-12-07 16:01:33 +08:00
JimMoen
458101958b
fix: run `message.dropped` hook, inc `messages.dropped` metrics
...
- when awaiting_rel full
- packet identifier in use (QoS2 packet resend)
2022-12-07 12:46:32 +08:00
Zaiming (Stone) Shi
c021443f6e
Merge pull request #9483 from JimMoen/fix-pic-link-v44
...
chore: fix README.md(s) picture link
2022-12-06 18:51:25 +01:00
JimMoen
eb3726f307
chore: fix README.md(s) picture link
2022-12-07 01:48:46 +08:00
Thales Macedo Garitezi
8ad9e7a008
Merge pull request #9471 from thalesmg/check-unpack-target-v44
...
fix(install_upgrade): check target version when unpacking (v4.4)
2022-12-06 13:09:34 -03:00
zhongwencool
78ce1ff1b9
Merge pull request #9474 from zhongwencool/bootstrap-apps
...
fix: load bootstrap file when no bootstrap user
2022-12-06 09:45:10 +08:00
zhongwencool
c20b597e12
chore: replace match_object with select/4
2022-12-05 17:00:38 +08:00
zhongwencool
a7079b8c0e
test: fix rule_engine SUITE failed
2022-12-05 09:40:36 +08:00
zhongwencool
9f129a300a
fix: load bootstrap file when no bootstrap user
2022-12-04 16:55:48 +08:00
Thales Macedo Garitezi
bf40ee577b
fix(install_upgrade): check target version when unpacking (v4.4)
...
We already have a check to avoid upgrading between minor versions,
such as 4.3 <-> 4.4 (and 4.4 <-> 4.5):
```
Cannot upgrade/downgrade to 4.4.11-rc.3 from 4.3.17
We only support relup between patch versions
escript: exception error: {relup_not_allowed,unsupported_target_version}
in function install_upgrade_escript__escript__1670__7364__537878__24:validate_target_version/2 (/usr/lib/emqx/bin/install_upgrade.escript, line 444)
in call from install_upgrade_escript__escript__1670__7364__537878__24:install/2 (/usr/lib/emqx/bin/install_upgrade.escript, line 58)
in call from escript:run/2 (escript.erl, line 758)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3
```
But such check is missing for `unpack`, which may result in an
unusable node after just unpacking:
```
emqx@d70cfe0e8e62:~$ emqx ctl status
ERROR: node_is_not_running!
```
The issue apparently arises from `nodetool` trying to use the
`compiler` lib from the newer version rather than the old one:
```
+ ERL_FLAGS=' -start_epmd false -epmd_module ekka_epmd -proto_dist ekka'
+ /usr/lib/emqx/erts-11.2.2.8/bin/escript /usr/lib/emqx/bin/nodetool -name emqx@127.0.0.1 -setcookie emqxsecretcookie ping
+ die 'node_is_not_running!' 1
+ set +x
ERROR: node_is_not_running!
emqx@d70cfe0e8e62:~$ /usr/lib/emqx/erts-11.2.2.8/bin/escript /usr/lib/emqx/bin/nodetool -name emqx@127.0.0.1 -setcookie emqxsecretcookie ping
escript: Internal error: undef
=ERROR REPORT==== 2-Dec-2022::19:02:39.150274 ===
Loading of /usr/lib/emqx/lib/compiler-8.1.1/ebin/compile.beam failed: badfile
=ERROR REPORT==== 2-Dec-2022::19:02:39.150271 ===
beam/beam_load.c(1879): Error loading module compile:
This BEAM file was compiled for a later version of the run-time system than 23.
To fix this, please recompile this module with an 23 compiler.
(Use of opcode 176; this emulator supports only up to 170.)
```
2022-12-02 16:36:06 -03:00
Zaiming (Stone) Shi
aecf5d12ed
Merge pull request #9456 from zmstone/1130-EMQX-8367-upgrade-ehttpc
...
EMQX-8367 [4.4] upgrade ehttpc from 0.2.1 to 0.4.2
2022-12-02 13:43:21 +01:00
Zaiming (Stone) Shi
f54cf5466f
fix(ehttpc): Upgrade ehttpc to 0.4.2
2022-12-02 09:51:15 +01:00