Commit Graph

101 Commits

Author SHA1 Message Date
Ivan Dyachkov 0cba1b2ed0 ci: run tests as non-root in erlang container 2022-11-30 11:15:33 +01:00
Zaiming (Stone) Shi e4a4956c19 ci: fix find-apps.sh default printout 2022-11-18 21:18:14 +01:00
Zaiming (Stone) Shi 83fe35b148 Merge remote-tracking branch 'origin/dev/ee5.0' into 1116-sync-v5.0.10-to-ee50 2022-11-18 19:23:31 +01:00
Zaiming (Stone) Shi aeac9bf43f ci: refactor, find-app.sh produced matrix 2022-11-18 19:22:02 +01:00
Zaiming (Stone) Shi 3d75a1db3b ci: refactor run_test_cases to prepare ce and ee source zips 2022-11-18 13:17:31 +01:00
Zaiming (Stone) Shi 36404a52ab ci: add DIAGNOSTIC=1 to inspect rebar3 error 2022-11-18 12:59:27 +01:00
Zaiming (Stone) Shi 95f3df9a10 ci: ensure docker-compose up erlang container with root when test Kafka 2022-11-18 00:12:48 +01:00
firest 6ef7123bb9 chore: bump OTP version 2022-11-09 09:53:03 +08:00
Thales Macedo Garitezi 04588148b7 test(influxdb): increase influxdb bridge/connector coverage (ee5.0) 2022-11-07 15:15:49 -03:00
Traphalet f920ff341b ci(actions): update git actions to latest versions 2022-10-28 15:53:26 +03:00
Zaiming (Stone) Shi f785da075b ci: only start required docker for integration tests 2022-09-06 19:25:53 +02:00
Zaiming (Stone) Shi 150465a600 ci: run eunit and proper tests per build profile 2022-08-14 19:07:40 +02:00
Zaiming (Stone) Shi d63d6b5f27 ci: do not run opensource edition test for lib-ee apps 2022-08-13 21:04:48 +02:00
Zaiming (Stone) Shi 4949fb222e ci(test): do not fail coverdata uppload if no file found
the optional make <app>-ct action should not fail the
following upload action
2022-08-13 19:09:41 +02:00
Zaiming (Stone) Shi fbb97b16be ci: test all apps with dual profile
no need to test emqx-enterprise profile if the
EMQX_RELEASE_EDITION compilation flag is not used though
2022-08-12 16:21:22 +02:00
JimMoen ab17fd80e7 ci: common test add redis-sentinel 2022-07-13 10:37:16 +08:00
Zaiming (Stone) Shi 8383e592cd
ci: delete empty var 2022-07-02 08:23:58 +02:00
JianBo He e464c3890e chore: get coverall logs 2022-07-01 13:52:07 +08:00
JianBo He 3696c3d333 chore: print coverall fails log 2022-07-01 09:51:37 +08:00
Zaiming (Stone) Shi d3f8ebd10f ci: fix relup test workflow and upgrade builder to 5.0-17
builder 5.0-17 has emqtt-bench and lux included
so we do not need to rebuild the software for each ci job
2022-06-27 12:06:13 +02:00
Zaiming (Stone) Shi fc4d9e4dcd ci: use emqx-builder 5.0-16
Fixed openssl compatibility issue
2022-06-06 10:54:26 +02:00
JianBo He aae5e55e21 ci: upload all cover files 2022-05-19 14:13:53 +08:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
Zaiming (Stone) Shi 3bcd76a681 ci: try to prepare a compiled test profile for test jobs 2022-05-11 20:55:18 +02:00
Zaiming (Stone) Shi e95a14843d ci: delete otp 23 from ci matrix 2022-05-10 16:34:53 +02:00
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
William Yang be375ae621 ci: use docker image cache in aws 2022-04-28 18:01:12 +02: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 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 fdde829ab9 ci: better names to ci checks 2022-04-28 15:09:59 +02:00
William Yang 89b7c87e19 ci(self-hosted): run ct 2022-04-28 13:32:55 +02: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
Zaiming (Stone) Shi f9aba61dbb ci: run ct in concurrent jobs 2022-03-15 20:40:22 +01:00
Zaiming (Stone) Shi 49ad66b4bd ci: no need for rocksdb cache anymore 2022-03-11 14:54:00 +01: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 e6495f4300 ci: upgrade emqx-builder to 5.0-8:1.13.3-24.2.1-1 2022-03-02 21:57:26 +01: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
William Yang 978abe1798 ci: fix jobs triggers 2022-02-01 13:04:52 +01:00
Thales Macedo Garitezi 6165ed010a
fix(ci): fix branch wildcard syntax 2022-01-31 10:50:20 -03: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
Thales Macedo Garitezi 506dad169a
chore(elixir_otp): bump emqx-builder images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi e874ec2b36
chore(images): use new image in more CI workflows 2022-01-26 16:59:49 -03:00
William Yang a67c463e8c ci: fix typo 2022-01-18 09:47:25 +01:00
William Yang b347769721 ci: fix indentation in yaml 2022-01-18 09:37:28 +01:00
William Yang 451324300b ci: speed up run_test_case jobs with cache 2022-01-17 08:33:15 +01:00
Zaiming (Stone) Shi b98a00c35d ci: run dialyzer check on self-hosted runner 2022-01-03 16:07:14 +01:00
Ilya Averyanov a7ca6cb39f chore(authn): test MongoDB authn via ssl connection 2021-12-29 16:24:52 +03:00