Kjell Winblad
74c33cd4e5
feat(rule_engine): add jq function to the rule engine
...
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].
[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.
[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00
Zaiming (Stone) Shi
8ff552c9cf
Merge pull request #7827 from qzhuyan/ci/william/build-ct-self-hosted
...
cI: ct self-hosted pull image from docker proxy instead
2022-04-29 16:31:22 +01:00
Zaiming (Stone) Shi
edc6a6ab38
ci: run emqx app standalone tests only for pull requests
2022-04-29 10:11:05 +02:00
Xinyu Liu
635486bbaf
Merge pull request #7821 from terry-xiaoyu/update_ensure_rebar3
...
chore: port ensure-rebar3.sh from 4.x
2022-04-29 10:21:48 +08:00
William Yang
be375ae621
ci: use docker image cache in aws
2022-04-28 18:01:12 +02:00
Shawn
50f1dcef97
fix: update elixir CI yamls for getting rebar3
2022-04-28 23:07:38 +08:00
William Yang
9bce83c10d
ci(self-hosted): ct docker
2022-04-28 16:40:24 +02:00
Zaiming (Stone) Shi
71d166af27
ci: remove 'if: always()' from allgood jobs
2022-04-28 15:09:59 +02:00
Zaiming (Stone) Shi
94239d98df
ci: no need to test apps/emqx if nothing changed in this sub-dir
2022-04-28 15:09:59 +02:00
Zaiming (Stone) Shi
89d242c3a3
ci: add 'allgood' summary jobs to a few builds
...
* build_slim_packages
* run_emqx_app_tests
* run_jmeter_tests
* run_test_cases
2022-04-28 15:09:59 +02:00
Zaiming (Stone) Shi
0ad463ac84
ci: do not use matrix for code_style_check
...
So the job can be used as 'required' for PRs
2022-04-28 15:09:59 +02:00
Zaiming (Stone) Shi
a93eee5d08
ci: rename broker tests ci job to 'run_jmeter_tests'
2022-04-28 15:09:59 +02:00
Zaiming (Stone) Shi
fdde829ab9
ci: better names to ci checks
2022-04-28 15:09:59 +02:00
William Yang
1db20678b1
Merge pull request #7806 from qzhuyan/ci/william/build-ct-self-hosted
...
ci(self-hosted): run ct
2022-04-28 15:03:16 +02:00
William Yang
89b7c87e19
ci(self-hosted): run ct
2022-04-28 13:32:55 +02:00
Zaiming (Stone) Shi
ad7272b162
ci: get OS from builder image name
...
cross build is running in container
can not run docker in dokcer
2022-04-28 10:48:02 +02:00
Zaiming (Stone) Shi
4c0da19ee6
ci: try to clean up workspace before checkout
2022-04-27 16:11:19 +02:00
William Yang
106d45ca53
ci(self-hosted): clean before run
2022-04-27 11:48:20 +02:00
William Yang
be67e27aa4
ci: build slim packages on self-hosted runners
2022-04-27 10:46:54 +02:00
JimMoen
1340c8e553
chore: fix typos in workflow file
2022-04-27 11:00:43 +08:00
ieQu1
3e171ef075
ci(mac): Increase wait time for node up
2022-04-26 16:57:13 +02:00
Thales Macedo Garitezi
208cc0fad8
feat(node_dump): add license info to node_dump
2022-04-25 11:42:20 -03:00
ieQu1
67a94732ac
chore(spellcheck): Bump container version to 0.3.1
2022-04-21 23:48:47 +02:00
ieQu1
c5d97678c5
ci(spellcheck): Treat missing descriptions as erros
2022-04-05 00:11:38 +02:00
ieQu1
99b3f2f83e
docs(schema): Document missing records and fields
2022-04-04 23:58:43 +02:00
xiangfangyang-tech
05ddf9f9d4
chore(autotest): turn on mysql&pgsql authz scripts test and mqtt topic rewrite&delayed publish
2022-03-31 16:58:04 +08:00
Zaiming (Stone) Shi
b49df4599a
build: use latest builder images (alpine 3.15.1)
...
OpenSSL-1.1.1n
2022-03-25 07:38:39 +01:00
ieQu1
93d1c4ec87
ci(spellcheck): Bump container version to 0.2.3
2022-03-23 14:24:00 +01:00
ieQu1
684879eaa6
ci(spellcheck): Bump validator container version
2022-03-22 19:09:20 +01:00
Zaiming (Stone) Shi
22682ff646
Merge pull request #7359 from zmstone/reformat-app-emqx
...
chore: reformat app emqx
2022-03-21 20:53:33 +01:00
Zaiming (Stone) Shi
4b68c82612
ci: move elvis check to the end
2022-03-21 17:54:30 +01:00
Zaiming (Stone) Shi
8cd5c0c83a
chore: add a simple bash to wrap format_app.py to be used in CI
2022-03-21 17:16:28 +01:00
Zaiming (Stone) Shi
d22769a2de
ci: build enterprise for e tags
2022-03-21 15:29:28 +01:00
zhanghongtong
5d3d4cf85c
ci: fix login error for aws ecr
2022-03-21 11:35:39 +08:00
zhouzb
82911e743f
Merge pull request #7296 from Rory-Z/ci/fix-login-error-for-aws-ecr
...
ci(cross build): fix login error for aws ecr
2022-03-18 17:21:11 +08:00
DDDHuang
d1574977e5
fix(ci): update jmeter to 5.4.3
2022-03-18 15:06:21 +08:00
Zaiming (Stone) Shi
f9aba61dbb
ci: run ct in concurrent jobs
2022-03-15 20:40:22 +01:00
zhanghongtong
2f7f021197
ci(cross build): fix push aws ecr error when single arch image
2022-03-15 11:34:03 +08:00
zhanghongtong
20e2c41975
ci(cross build): add more if conditions
2022-03-15 11:29:55 +08:00
ieQu1
960c5ad0d5
ci: Run spellcheck
2022-03-14 22:27:46 +01:00
zhanghongtong
d3f05d35a8
ci(cross build): fix login error for aws ecr
2022-03-14 15:26:20 +08:00
Zaiming (Stone) Shi
49ad66b4bd
ci: no need for rocksdb cache anymore
2022-03-11 14:54:00 +01:00
xiangfangyang-tech
34c3710d99
Merge pull request #7277 from xiangfangyang-tech/autotest_broker_v5
...
chore(autotest): add some new steps in gitaction to run test scripts about authn authz
2022-03-11 14:11:36 +08:00
xiangfangyang-tech
5a456fda98
chore(autotest): add some authn authz test steps in git action
2022-03-11 10:55:16 +08:00
zhongwencool
6d272970f4
Merge pull request #7088 from ieQu1/fix-spellcheck-workflow
...
ci(spellcheck): Use a different action
2022-03-10 18:18:17 +08:00
Zaiming (Stone) Shi
9106b230a9
Merge pull request #7254 from zmstone/merge-proper-coverdata
...
Merge proper coverdata
2022-03-10 09:43:18 +01:00
xiangfangyang-tech
a1c76f474b
chore(autotest): add gitactions for new autotest scripts
2022-03-10 15:59:09 +08:00
Zaiming (Stone) Shi
4d59cbdbdc
ci: ensure github token env variable for coveralls
2022-03-09 15:58:28 +01:00
Zaiming (Stone) Shi
b78c70a378
ci: merge proper coverdata
2022-03-09 13:32:29 +01:00
Zaiming (Stone) Shi
632d5bf646
ci: explain why we need to run emqx app tests standalone
2022-03-09 13:06:18 +01:00
Zhongwen Deng
b3a623897d
fix: nl_at_eof warning
2022-03-08 15:01:56 +08:00
Rory Z
5f80ac54c2
Merge pull request #7116 from Rory-Z/ci/update-cross-build
...
ci(cross build): splitting cross builds and upload assets
2022-03-04 09:19:56 +08:00
Zaiming (Stone) Shi
0f93c23936
Merge pull request #7186 from zmstone/structured-build-info
...
build: more structured build info
2022-03-02 23:58:08 +01:00
Zaiming (Stone) Shi
e6495f4300
ci: upgrade emqx-builder to 5.0-8:1.13.3-24.2.1-1
2022-03-02 21:57:26 +01:00
Zaiming (Stone) Shi
d1cf1cca67
ci: add debian11
2022-03-02 21:56:10 +01:00
Zaiming (Stone) Shi
4e64010a3b
build: more structured build info
2022-03-02 21:22:03 +01:00
DDDHuang
5eccee0311
Merge pull request #7155 from xujun540/run_api_tests
...
chore(autotest): Remove all API test scripts
2022-02-28 20:25:18 +08:00
xujun540
058bafd3b9
chore(autotest): Remove all API test scripts
2022-02-28 15:13:51 +08:00
Zaiming (Stone) Shi
b68cb96bd2
refactor: make pkg-vsn.sh able to report both short and long version
2022-02-26 01:38:10 +01:00
Zaiming (Stone) Shi
ea39a9944c
ci: fix package name format for slim build
2022-02-25 12:19:43 +01:00
Zaiming (Stone) Shi
2d3859a79a
build: get full version from pkg-full-vsn.sh
...
this is due to the mapping of :
centos7 -> el7
and rockylinux8 -> el8
with this fix, there is no need to repeat such mapping
in many differennt places
2022-02-25 11:33:01 +01:00
Zaiming (Stone) Shi
64fd321ad1
ci(spelling): check enterprise schema
2022-02-25 09:09:30 +01:00
Zaiming (Stone) Shi
b2cb7f1bd5
build: update to latest builder image
2022-02-25 09:09:30 +01:00
Zaiming (Stone) Shi
fa91c7491f
build: rockylinux
2022-02-25 09:09:30 +01:00
xujun540
04279da8dd
chore(autotest): Discard the container API test script
2022-02-25 14:11:57 +08:00
Thales Macedo Garitezi
8cac5f6b39
chore(ci): update emqx-builder image
...
Uses Elixir 1.13.3 and OTP 24.2.1-1.
2022-02-23 15:00:07 -03:00
Zaiming (Stone) Shi
e6380a1911
Merge pull request #7104 from zmstone/fix-windows-build-5.0
...
[5.0] Fix windows build
2022-02-23 10:22:45 +01:00
zhanghongtong
5435a0978b
ci(cross build): splitting cross builds and upload assets
2022-02-23 16:15:53 +08:00
zhongwencool
b7f808db9e
Merge pull request #7027 from DDDHuang/error_code
...
feat: support http error code & error code api
2022-02-23 16:12:20 +08:00
DDDHuang
ee4ced82c5
fix: remove jmeter SUITE
2022-02-23 13:55:34 +08:00
Zaiming (Stone) Shi
a4e48b197c
build: create sha256 sum right after package is built
2022-02-22 22:33:33 +01:00
Zaiming (Stone) Shi
6dedf4875a
ci(windows): build windows package on otp 24
2022-02-22 22:33:27 +01:00
Zaiming (Stone) Shi
f173a2f61f
Merge pull request #7082 from zmstone/build-refine-scripts-and-ci
...
chore: relocate tests.sh
2022-02-22 14:29:42 +01:00
k32
a60d230f28
ci(spellcheck): Use a different action
2022-02-21 14:32:49 +01:00
Zaiming (Stone) Shi
1aa9abdb4d
chore: relocate tests.sh
2022-02-21 12:22:53 +01:00
Ilya Averyanov
2aeb1bc0e8
Merge pull request #7059 from savonarola/elixir-stylecheck
...
chore(codestyle): add formatting check for Elixir code
2022-02-21 11:43:14 +03:00
Ilya Averyanov
634d861b90
chore(codestyle): add formatting check for Elixir code
2022-02-18 19:43:48 +03:00
k32
1c62c6e60b
docs: Add documentation for the sysmon roots
2022-02-18 16:26:18 +01:00
k32
ef0da4fc70
ci: Spellcheck documentation in the CI
2022-02-18 13:32:33 +01:00
Zaiming (Stone) Shi
ee544c8298
Merge pull request #7028 from Rory-Z/build/add-download-relup
...
build(relup): add new script for download relup base packages
2022-02-17 06:28:20 +01:00
Rory Z
70ce5cbab3
Merge pull request #6929 from Rory-Z/ci/push-multiarch-image-for-aws-ecr-5.0
...
ci(build_packages): push muilt arch image for aws ecr
2022-02-17 11:45:30 +08:00
Shawn
76e61e849e
Update the desc for `node_dump` in issue templates
...
Putting the link to [node_dump script](https://github.com/emqx/emqx/blob/master/bin/node_dump ) will lead the user to download the node_dump script directly from the github, and run it.
2022-02-17 10:19:09 +08:00
zhanghongtong
093e7c3282
build(relup): add new script for download relup base packages
2022-02-16 18:23:02 +01:00
zhanghongtong
3875d5c0e2
ci(build_packages): fix the "if" for push aws ecr image
2022-02-08 16:41:16 +08:00
Ilya Averyanov
17599432d1
feat(license): add license application
2022-02-07 19:05:47 +03:00
zhanghongtong
b6e3f66622
ci(build_packages): tag and push aws ecr image when after push docker image
2022-02-07 17:54:30 +08:00
zhanghongtong
420591d09a
ci(build_packages): push muilt arch image for aws ecr
2022-02-07 16:09:09 +08:00
Thales Macedo Garitezi
a37ee6aa05
fix(flaky_test): improve helm test preparation check
2022-02-03 09:44:10 -03:00
William Yang
c9561478ac
ci(build-cache): elixir build cache
2022-02-02 12:33:35 +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
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
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
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
9a5c5a7776
ci: fix include
2022-01-31 10:33:36 +01:00
Thales Macedo Garitezi
a597e92576
chore(mix): use MIX_ENV to define build profile and edition
2022-01-28 17:24:35 -03:00