Commit Graph

88 Commits

Author SHA1 Message Date
firest f4a14ecf66 refactor(cookie): Warning message when boot with default Erlang cookie 2022-11-15 10:31:09 +08:00
Thales Macedo Garitezi b7fe87d761 ci: enable running test cases and cover for main-v4.x
An attempt to make Coveralls bot to identify and report coverage
changes in `main-v4.{3,4}`-based PRs.

Currently, `master`-based PRs get their reports correctly.  When one
checks such a report, e.g.: https://coveralls.io/builds/52535695 , it
identifies if coverage increased or decreased relative to the base
branch.

`main-v4.x`-based PRs, however, always seem to report as "first
builds", so it doesn't report if coverage increased or
decreased. E.g.: https://coveralls.io/builds/52541065 .

The reason _could be_ that, currently, `main-v4.x` branches do not
build themselves.  That is, PRs run the test + cover analysis, as
usual, but once they're merged, tests (and thus coverage analysis) do
not run.  And that _could be_ why the tool can't see if coverage
increased or decreased with such PR.
2022-09-16 14:18:03 -03:00
Zaiming (Stone) Shi 303249e2e8 chore: move rebalance and eviction code to ee 2022-08-16 07:40:16 +02:00
Ilya Averyanov a19fbe214f feat(node_rebalance): implement node evacuation and rebalancing 2022-08-13 11:32:14 +03:00
William Yang dd5eea5ada build: bump relup helper to 2.1.0 2022-08-10 14:34:35 +02:00
Zaiming (Stone) Shi a162196719
Merge pull request #8511 from qzhuyan/ci/william/4.3-new-otp-23.3
[WIP] ci: [4.3 only] release with OTP 23.3
2022-08-02 13:28:41 +01:00
William Yang 8835296c7a ci(rel): intro. rel_otp_apps.eterm 2022-08-02 09:59:33 +02:00
William Yang fc67d71f17 feat: add emqx_cluster_rescue 2022-07-15 16:55:07 +02:00
Thales Macedo Garitezi 50c546290c feat: add redbug 2022-06-22 18:05:18 -03:00
Zaiming (Stone) Shi 5e652217c8 fix: make possible to have white spaces in root path 2022-04-12 00:05:26 +02:00
Zaiming Shi 9832a2ed00 build: show linux distro in BUILT_ON info 2021-10-31 17:21:47 +01:00
Zaiming Shi d777ca7baf chore(build): pin rebar_mix plugin version v0.4.0 2021-09-14 16:31:38 +02:00
Zaiming Shi bed45417dc chore(relup): add relup dependency injection 2021-06-22 08:54:55 +08:00
Zaiming Shi 818a7e9772 build: use base rebar.conf when emqx.git is as dependency 2021-05-31 11:55:03 +08:00
k32 812faf08a1 chore(logger): Update snabbkaffe to 0.13.0 2021-05-25 21:15:59 +02:00
Zaiming Shi 6436217e07 chore: fix wrong plugins dir 2021-05-24 10:43:56 +02:00
k32 d913a7d20d feat(node_dump): Create a node dump script 2021-05-06 14:19:09 +02:00
William Yang a77aba5c74 feat: add patches dir: data/patches
add patch dir for convenient online patching.
2021-04-30 11:35:03 +02:00
Zaiming Shi d926800204 chore: add emqx_broker_bench.erl 2021-04-26 14:40:39 +02:00
JianBo He 0e5fd67898 test(helpers): upgrade ct-helpers to 1.3.9 2021-04-14 19:38:56 +08:00
Zaiming Shi e2c2f39bc2 chore(build): no deterministic compile flag for non-prod profiles 2021-04-12 09:35:39 +02:00
Zaiming Shi 5efba0e343 chore(build): ensure source in compile info for non-prod profile 2021-04-12 07:00:29 +02:00
Zaiming Shi c42dda9d4d chore(cover): update coveralls-erl 2021-04-12 07:00:29 +02:00
Zaiming Shi 058b018e5c chore(build): optional observer release 2021-04-12 07:00:29 +02:00
Zaiming Shi 236f75b33b chore(rebar.config): Snabbkaffee should be a default dependency 2021-03-30 10:08:13 +02:00
Zaiming Shi eb246cf11b chore(build): pin port_compiler v1.11.1
Port compiler bug in v1.11.0:
In windows builds, cl.exe produces .obj files
link.exe looks for .o files to link.
2021-03-22 08:15:15 +01:00
Zaiming Shi 21416bf859 chore(build): always include debug_info for CE 2021-03-20 13:05:13 +01: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
Zaiming Shi 178404c821 chore(build): add rebar_mix plugin 2021-03-19 12:22:43 +01:00
Zaiming Shi 8828c48352 chore(build): avoid reading secret keys repeatedly 2021-03-18 20:23:17 +01:00
William Yang 01149bf687 feat(compile): support debug_info encryption
if EMQX_COMPILE_SECRET_FILE is set, debug_info of beam files would be
encrypted.

EMQX_COMPILE_SECRET_FILE contains secret string.
2021-03-18 20:23:17 +01:00
Zaiming Shi 8e45fa1c8b feat(observer_cli): Add observer_cli 2021-03-13 18:50:18 +01:00
Zaiming Shi 7138e3a3a9 chore(build): Pin a tag of relup_helper plugin
Otherwise we are doomed when we need to re-build an old version
in the future
2021-03-12 10:07:57 +01:00
Zaiming Shi 5f064a8e42 chore(test): enable cover only when necessary
So that ad-hoc ./rebar3 eunit and ct can run faster
2021-03-11 19:06:03 +01:00
Zaiming Shi 173a4d8fea chore(build): Do not use test profile dedicated plugins 2021-03-11 16:06:37 +01:00
Zaiming Shi 969110dc53 chore(test): Add snabbkaffe 2021-03-11 12:49:43 +01:00
Zaiming Shi b4ee2f8d24 chore(build): refactor rebar.config.erl overlay function 2021-03-10 17:39:45 +01:00
Zaiming Shi 3d06bc30fb chore(build): pipe_dir is no longer parmaterised 2021-03-09 20:22:48 +01:00
Zaiming Shi 984b4364d6 chore(build): drop vars files 2021-03-09 20:22:48 +01:00
Zaiming Shi 95847ea10b chore(build): Support vars file for enterprise 2021-03-09 20:22:48 +01:00
Zaiming Shi d14b90ef2e chore(build): Feed relx overlay var from rebar.config.erl 2021-03-09 20:22:48 +01:00
turtleDeng 115397523d
chore(build): add more enterprise build support (#4302) 2021-03-08 20:47:31 +08:00
Zaiming Shi 08aa022029 chore(rebar.config.erl): better release matrix support 2021-03-06 21:39:08 +01:00
Zaiming Shi 00a2daba19 chore(build): add more enterprise build support 2021-03-06 10:56:07 +01:00
z8674558 80125a9606 feat(rebar.config.erl): allow community plugins 2021-03-05 23:19:34 +09:00
Zaiming Shi 4eb98fdf5e chore(compile): do not pass down EMQX_ENTERPRISE macro to deps 2021-03-05 12:55:20 +01:00
Zaiming Shi 9b3ab169ce chore(versioning): detach package version from emqx app version 2021-03-04 20:24:58 +01:00
Zaiming Shi bd3bd906ca
Merge pull request #4272 from zmstone/chore-build-remove-env-var-for-ce-ee
chore(build): use only mark file to tell apart ce ee
2021-03-03 11:13:33 +01:00
Zaiming Shi cd0890796d chore(build): use only mark file to tell apart ce ee 2021-03-02 23:38:10 +01:00
Zaiming Shi c61080c862 chore(build): write rendered rebar.config only when debugging 2021-03-02 20:37:45 +01:00