Commit Graph

8232 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
9b7dfc1998
Merge pull request #6658 from zmstone/cron-dialyzer-check
ci(static checks): timed trigger static check
2022-01-05 18:50:49 +01:00
zhanghongtong
46eeeb36cc ci(static checks): timed trigger static check 2022-01-05 17:29:45 +01:00
Zaiming (Stone) Shi
b04d91a356
Merge pull request #6656 from emqx/fix-shellcheck
fix(ci): fix shellcheck file pattern
2022-01-05 17:23:32 +01:00
Thales Macedo Garitezi
b9494662ae
fix(ci): fix shellcheck file pattern
Since we started to use the portable shebang style for our scripts, we
need to update the pattern used to find scripts for Shellcheck to
check.
2022-01-05 11:34:04 -03:00
k32
b6efa2aa9c
Merge pull request #6629 from k32/bpapi
feat(bpapi): Add backplane API static checks
2022-01-05 15:26:11 +01:00
k32
22bdcfa4b5 fix(bpapi): Apply remarks 2022-01-05 14:37:26 +01:00
k32
9c675194f5 fix(bpapi): Fix dialyzer warnings 2022-01-05 12:10:48 +01:00
Zaiming (Stone) Shi
7ea1cf40ae
Merge pull request #6637 from zmstone/merge-5.0-beta.3-to-master
Merge 5.0 beta.3 to master
2022-01-05 12:08:48 +01:00
k32
4f3f938d71 feat(bpapi): Introduce bpapi behavior 2022-01-05 01:43:18 +01:00
k32
0f6ec9d646 fix(bpapi): Fix build 2022-01-05 01:28:34 +01:00
k32
eaa71438b2 feat(bpapi): Typecheck function parameters 2022-01-05 01:28:34 +01:00
k32
64378be9a0 fix(bpapi): Optimize BPAPI dump size 2022-01-05 01:28:34 +01:00
k32
2c3af8d9fe feat(bpapi): Move to emqx
Fix standalone build
2022-01-05 01:28:34 +01:00
k32
96fdd0c31f fix(bpapi): Fix build order 2022-01-05 01:28:34 +01:00
k32
5c2a559991 feat(bpapi): Initial commit 2022-01-05 01:28:34 +01:00
k32
6ee18b6104 refactor(broker): Don't use a macro 2022-01-05 01:28:31 +01:00
Zaiming (Stone) Shi
211b8e1b06 Merge remote-tracking branch 'origin/release-5.0-beta.3' into merge-5.0-beta.3-to-master 2022-01-04 22:48:25 +01:00
Zaiming (Stone) Shi
b5022e5cd6
Merge pull request #6608 from emqx/merge-5.0-beta.3-to-master
Merge 5.0 beta.3 to master
2022-01-04 22:47:27 +01:00
Zaiming (Stone) Shi
eae2e3ad0c Merge remote-tracking branch 'origin/master' into merge-5.0-beta.3-to-master 2022-01-04 21:11:30 +01:00
Zaiming (Stone) Shi
5df382f054
Merge pull request #6598 from zmstone/ci-port-changes-from-4.4
[5.0] CI port changes from 4.4
2022-01-04 18:52:25 +01:00
Thales Macedo Garitezi
5cf067c85f
Merge pull request #6634 from emqx/fix-mix-deps-check
fix(ci): setup mix before running check
2022-01-04 14:09:36 -03: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
3ee4d69988 ci: fix rpm install package name
prior to this fix, package name 'emqx' was hard coded
this commit fixes it to use EMQX_NAME variable
because it can be 'emqx-edge' or 'emqx-enterprise'
2022-01-04 17:28:53 +01:00
Zaiming (Stone) Shi
77652b9858 ci: refactor package build & test jobs 2022-01-04 17:28:53 +01:00
Zaiming (Stone) Shi
320506957c refactor(bin/emqx): wait for up to 120 seconds by default 2022-01-04 17:28:53 +01:00
Thales Macedo Garitezi
93cdf318c7
fix(ci): setup mix before running check 2022-01-04 13:28:03 -03:00
Zaiming (Stone) Shi
8ba059bcd7
Merge pull request #6631 from emqx/rm-mix-lock
ci(mix): rm mix.lock from repo
2022-01-04 17:26:30 +01:00
Zaiming (Stone) Shi
6603485e73
Merge pull request #6632 from zmstone/build-no-need-for-compile-step-before-release
build: remove 'compile' step before 'release'
2022-01-04 17:24:51 +01:00
Zaiming (Stone) Shi
9b6f99f738
Merge pull request #6633 from zmstone/build-mac-package-only-when-labled
ci: build mac package only when labeled with 'mac'
2022-01-04 17:19:37 +01:00
Zaiming (Stone) Shi
55a94256c7 ci: build mac package only when labeled with 'mac' 2022-01-04 16:50:00 +01:00
Thales Macedo Garitezi
d78e9429f3
ci(mix): rm mix.lock from repo
While Mix is not the main build tool, we remove the commited
`mix.lock` file to reduce friction when updating dependencies, since
it requires remembering to run `mix deps.get` to update the
`mix.lock`, used by a CI check in
`scripts/check-elixir-deps-discrepancies.exs`.  We change said script
to produce the required file on the fly.
2022-01-04 12:10:58 -03: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
Zaiming (Stone) Shi
503bf54c77 test(authz): fix meck calls
f
2022-01-04 13:54:25 +01:00
lafirest
6d67ccc02c
Merge pull request #6618 from lafirest/fix/remove_disc_only
fix(emqx_retainer): remove disc_only option
2022-01-04 17:05:10 +08:00
lafirest
aacdc5c2f7 fix(emqx_retainer): remove disc_only option 2022-01-04 14:40:11 +08:00
JianBo He
126924bc54
Merge pull request #6567 from HJianBo/gw-review-r4 2022-01-04 11:24:03 +08:00
zhongwencool
aa4eec3127
Merge pull request #6591 from zhongwencool/api-key-update-unexpired
fix(api_key): set api_key unexpired when update expired_at=undefined
2022-01-04 10:54:05 +08:00
zhongwencool
075669461c fix: compile error 2022-01-04 09:53:50 +08:00
Zaiming (Stone) Shi
b5e7344752 build(emqx_plugin_libs): add rebar.config to help mix build 2022-01-04 01:00:09 +01:00
Zaiming (Stone) Shi
1eaac9ea12 feat: add redbug 2022-01-04 00:56:25 +01:00
Zaiming (Stone) Shi
e3c8f67aaf test: resource creation now checks health
adjust test case to work with new code behavior
2022-01-04 00:54:09 +01:00
Zaiming (Stone) Shi
7b478817bd test: test authz against 'single' mogodb 2022-01-04 00:54:09 +01:00
Zaiming (Stone) Shi
6c99b64e4c refactor(emqx_plugin_libs_pool): structured logging 2022-01-04 00:54:09 +01:00
Thales Macedo Garitezi
1302e942c5
Merge pull request #6611 from emqx/stalebot-skip-prs
ci(stale): avoid spending operations on pull requests

We are interested in using stale actions only for issues, and
currently there's no clear/clean way of making it not enumerate pull
requests. As a workaround, we attempt to minimize the number of
operations spent on pull requests by making it run only on pull
requests which have an inexistent tag, thus skipping all PRs.
2022-01-03 14:30:22 -03:00
Thales Macedo Garitezi
f947bf6f98
ci(stale): increase number of operations per run
Since we currently have lots of issues, this may help with reaching
the 2nd page of issues.
2022-01-03 13:25:10 -03:00
Thales Macedo Garitezi
1454374b25
ci(stale): avoid spending operations on pull requests
We are interested in using stale actions only for issues, and
currently there's no clear/clean way of making it not enumerate pull
requests.  As a workaround, we attempt to minimize the number of
operations spent on pull requests by making it run only on pull
requests which have an inexistent tag, thus skipping all PRs.
2022-01-03 13:11:33 -03:00
Zaiming (Stone) Shi
9401b3fe49
Merge pull request #6612 from zmstone/ci-run-dialyzer-on-slef-hosted
ci: run dialyzer check on self-hosted runner
2022-01-03 16:49:46 +01:00
Zaiming (Stone) Shi
719800914a Merge branch 'ci-run-dialyzer-on-slef-hosted' into merge-5.0-beta.3-to-master 2022-01-03 16:23:11 +01:00
Zaiming (Stone) Shi
f866488bc2 test: fix mongodb tls suite
dryruns return error when local health check fails
2022-01-03 16:22:44 +01:00
Zaiming (Stone) Shi
b98a00c35d ci: run dialyzer check on self-hosted runner 2022-01-03 16:07:14 +01:00