Commit Graph

10208 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 6d557bc0ca
ci(pytest): pin pytest version at 6.2.5
After a major version release (7.0.0), our current FVT tests all
failed due to some change in the lib.  Our pytest version in CI was
not pinned, and picked this update up.
2022-02-04 10:19:29 -03:00
Thales Macedo Garitezi 69e7e40d5f
Merge pull request #6915 from thalesmg/cleanup-mix-release-file
chore: delete unused file
2022-02-04 09:03:08 -03:00
Thales Macedo Garitezi 88ae489219
fix(mix): set `emqx_vsn` compile info
Currently, `emqx_release.erl` depends on the `erl_opts` option
`compile_info` being set by Rebar3 to include `{emqx_vsn, $PKG_VSN}`
to report the version, for instance, in `emqx ctl status`.

Since Mix does not provide a simple way to pass `erl_opts` to Rebar3
dependencies without creating a `mix.exs` file, the workaround is to
set the environment variable `ERL_COMPILER_OPTIONS` to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.
2022-02-03 17:31:47 -03:00
Thales Macedo Garitezi c681ee433e
chore: delete unused file
Now that Elixir 1.13.2 is released, we no longer need the "vendored"
version of `Mix.Release`.
2022-02-03 14:09:26 -03:00
Thales Macedo Garitezi ac1b1b800d
Merge pull request #6786 from emqx/flaky-fvt-ci
fix(flaky_test): improve helm test preparation check
2022-02-03 12:28:05 -03:00
Thales Macedo Garitezi a37ee6aa05
fix(flaky_test): improve helm test preparation check 2022-02-03 09:44:10 -03:00
k32 ff1589c837
Merge pull request #6912 from k32/gen-rpc-client-driver
fix(emqx_schema): Set gen_rpc_client_driver automatically
2022-02-02 14:52:24 +01:00
William Yang dfdadbd124
Merge pull request #6909 from qzhuyan/ci/william/elixir-build-cache
ci(build-cache): elixir build cache
2022-02-02 14:17:16 +01:00
k32 a54b4ddfd0 fix(emqx_schema): Set gen_rpc_client_driver automatically 2022-02-02 13:58:27 +01:00
William Yang c9561478ac ci(build-cache): elixir build cache 2022-02-02 12:33:35 +01:00
Zaiming (Stone) Shi 621d5a2efd
Merge pull request #6910 from zmstone/chore-stale-bot-exclude-enhancement-label
chore(stale_bot): exempt 'Enhancement' label
2022-02-01 18:20:36 +01:00
Zaiming (Stone) Shi 8f5f58500c chore(stale_bot): exempt 'Enhancement' label 2022-02-01 16:55:11 +01:00
William Yang a2223836b9
Merge pull request #6908 from qzhuyan/ci/william/remove-centos8-support
ci: remove centos8 support
2022-02-01 16:11:25 +01:00
William Yang 5c36143186 ci: remove centos8 support
due to centos8 EOL
2022-02-01 15:22:41 +01:00
k32 3050f86f09
Merge pull request #6906 from k32/gen-rpc-docs
Gen rpc docs
2022-02-01 13:50:03 +01:00
William Yang fd4e15cecc
Merge pull request #6907 from qzhuyan/ci/william/fix-push-trigger
ci: fix jobs triggers
2022-02-01 13:18:36 +01:00
William Yang 978abe1798 ci: fix jobs triggers 2022-02-01 13:04:52 +01:00
William Yang fd23581dc0
Merge pull request #6880 from qzhuyan/ci/william/aws-arm64-runner
ci: use aws arm64 runner in cross build jobs
2022-02-01 09:05:58 +01:00
k32 470db453cb docs(rpc): Add descriptions for gen_rpc and logger 2022-02-01 01:16:07 +01:00
Zaiming (Stone) Shi 008bd893c8
Merge pull request #6905 from zmstone/feat-dump-schema-json
feat: dump schema json
2022-01-31 19:47:33 +01:00
Thales Macedo Garitezi 71a39cdc26
Merge pull request #6904 from emqx/bugfix-ci-yamls
fix(ci): fix branch wildcard syntax
2022-01-31 13:15:25 -03:00
Zaiming (Stone) Shi c643db6bca build: move otp version check to rebar.config.erl 2022-01-31 16:39:14 +01:00
Zaiming (Stone) Shi 4fe7b93c43 build(Makefile): define Makefile vars before use 2022-01-31 16:38:41 +01:00
Zaiming (Stone) Shi 507952c473 feat: dump schema json file to dashbarod static dir 2022-01-31 16:38:41 +01:00
William Yang d2a7e549a2 ci(docker): update for the elixir parts 2022-01-31 16:22:43 +01:00
William Yang c00ca8e083 ci(docker): build cache for elixir 2022-01-31 16:14:24 +01:00
William Yang 4b71495101 ci: export CODE_PATH in test 2022-01-31 16:14:24 +01:00
William Yang d7b70982d9 build(buildx): add support to run without docker 2022-01-31 16:14:22 +01:00
Zaiming (Stone) Shi fe24892b6d fix(emqx_limiter): no white space in schema map name 2022-01-31 16:04:37 +01:00
Zaiming (Stone) Shi abf9d8efba
Merge pull request #6898 from zmstone/refactor-common-hocon-check
refactor: move plain_check impl to emqx_hocon
2022-01-31 15:41:43 +01:00
Thales Macedo Garitezi 6165ed010a
fix(ci): fix branch wildcard syntax 2022-01-31 10:50:20 -03:00
Thales Macedo Garitezi d4a16fc94a
Merge pull request #6887 from emqx/mix-use-mix_env
chore(mix): use MIX_ENV to define build profile and edition

Instead of reading some environment variables to define the build profile for the Elixir build, we use the MIX_ENV value to emulate Rebar3's profiles. Also, that makes the build output directory more similar to EMQ X's current scheme.
2022-01-31 10:38:00 -03:00
William Yang 534cef2b3e
Merge pull request #6896 from qzhuyan/ci/william/enable-tests-after-push
ci: enable ci tests on pushes.
2022-01-31 12:18:39 +01:00
William Yang 9a5c5a7776 ci: fix include 2022-01-31 10:33:36 +01:00
Zaiming (Stone) Shi f7703c906e refactor: move plain_check impl to emqx_hocon 2022-01-29 10:16:55 +01:00
zhongwencool 92cbf86951
Merge pull request #6890 from zhongwencool/dashboard-bind-support-ip
feat(dashboard): support bind specific ip(port or ip:port).
2022-01-29 16:09:05 +08:00
zhongwencool 928555546d
Merge pull request #6869 from EMQ-YangM/fix_start_pool
fix(emqx_connector): when start_pool fails, return error and reason
2022-01-29 10:45:45 +08:00
zhongwencool 8041524d20 chore(dashboard): warning wehn stop dashboard listener not found. 2022-01-29 10:36:53 +08:00
Thales Macedo Garitezi a597e92576
chore(mix): use MIX_ENV to define build profile and edition 2022-01-28 17:24:35 -03:00
William Yang 5206824743 ci: push docker image on my own branch 2022-01-28 19:37:01 +01:00
William Yang 177d42cad4 ci(docker): scripts/docker-create-push-manifests.sh 2022-01-28 19:37:01 +01:00
William Yang 06cf419f02 ci: build arm64 in aws self-hosted 2022-01-28 19:36:59 +01:00
William Yang 528817d620 ci: enable ci tests on pushes.
- Secure tests on master branch after merge.

- Improve build cache hit rates
  Due to security reason, github only allow reuse cache from
  - same branch
  - base branch
  - default branch

  Branch Feature-A could not reuse the cache from Feature-B

- Developers could run the workflow in their own forked repo
  before make the PR, this could relieve the runners on upstream repo
2022-01-28 18:33:53 +01:00
k32 5e01961dba
Merge pull request #6895 from k32/fix-graph
fix(emqx_mgmt): Fix network graph
2022-01-28 15:43:55 +01:00
k32 1127057291 fix(emqx_mgmt): Fix network graph 2022-01-28 13:39:27 +01:00
Zaiming (Stone) Shi bda1b6d35e
Merge pull request #6892 from zmstone/docs-fix-override-conf-note
docs: fix override conf note
2022-01-28 12:35:23 +01:00
Zaiming (Stone) Shi 8da27899ea docs: fix override conf note 2022-01-28 11:05:06 +01:00
k32 d955ec59ff
Merge pull request #6886 from k32/schema-spellcheck
Schema spellcheck
2022-01-28 10:32:03 +01:00
zhongwencool ec5d1b1463 feat(dashboard): support bind specific ip(port or ip:port). 2022-01-28 16:52:03 +08:00
k32 052bd9081d docs(schema): Fix typos in the schema files 2022-01-27 22:39:19 +01:00