Commit Graph

802 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 90d862cad9
Merge pull request #10915 from thalesmg/fvt-retry-plugin-v50
ci(fvt): add `pytest-retry` plugin
2023-06-02 09:26:43 -03:00
Thales Macedo Garitezi e47e2c9c12 ci(fvt): add `pytest-retry` plugin 2023-06-01 18:05:27 -03:00
Ivan Dyachkov 8cdb1458c7 ci: add ui(dashboard) tests based on pytest and selenium 2023-06-01 20:01:24 +02:00
William Yang 8f4a950a6f ci(emqx-ct-standalone): enable erl distribution while start CT 2023-06-01 14:54:44 +02:00
William Yang a2f8e87389 test(config): default zone and global defaults 2023-06-01 14:54:14 +02:00
Ivan Dyachkov 239f71cecf
Merge pull request #10899 from id/0530-update-perf-test
0530 update perf test
2023-05-31 23:17:10 +02:00
Thales Macedo Garitezi dc4ae1a424 ci: make emqx standalone test output more readable 2023-05-31 10:56:06 -03:00
Ivan Dyachkov ac94a00c5b ci: adjust perf test parameters 2023-05-31 15:46:48 +02:00
Ivan Dyachkov 2078c0a5c7 ci: add 1m conns in perf test 2023-05-31 13:28:55 +02:00
Ivan Dyachkov 78ed78240f ci: update perf test 2023-05-31 10:41:33 +02:00
Zaiming (Stone) Shi 5aaac86e28 ci: prepare for 5.1 release 2023-05-30 08:03:42 +02:00
Thales Macedo Garitezi d12c393abc ci(docker): don't fetch deps outside docker build context
The dependencies outside EMQX are symlinked with full paths from the
GH action environment.  When we run `buildx`, the paths are all wrong,
and the documentation generation fails when it tries to prepare the
library paths.
2023-05-29 16:58:46 -03:00
Zaiming (Stone) Shi 687664efdb ci: delete otp 24 from emqx app standalone job matrix 2023-05-26 15:49:25 +02:00
Thales Macedo Garitezi d05a18493b ci: fix conf tests group concurrency key
`run_test_cases.yaml` and `run_conf_tests.yaml` seem to be cancelling
each other.
2023-05-25 16:58:05 -03:00
Zaiming (Stone) Shi a1b8e2a42a ci: test windows build with a ping after start 2023-05-24 22:14:27 +02:00
Zaiming (Stone) Shi b5e1bc4cc8 ci: check ping output in windows package start/stop test 2023-05-23 14:10:19 +02:00
Zaiming (Stone) Shi 732a7be187 Merge remote-tracking branch 'origin/release-50' 2023-05-22 17:46:54 +02:00
Andrew Mayorov 9aaa0b6fe1
Merge pull request #9927 from emqx/file-transfer
feat: implement file transfer over mqtt
2023-05-19 18:35:13 +03:00
JianBo He 90d1a0096c chore: make spellcheck happy 2023-05-17 17:52:08 +08:00
JianBo He 07e46592a8 chore(ci): add conf tests 2023-05-17 17:52:08 +08:00
Andrew Mayorov 53e961f8b2
ci: ensure dialyzer plt cache is updated on changes 2023-05-16 18:47:59 +03:00
Ivan Dyachkov a264827b78 ci: emqx-builder 5.0-35 2023-05-15 08:14:22 +02:00
Ivan Dyachkov b3a989970d ci: move package upload to packagecloud.io to release workflow
Fixes #10693
2023-05-14 15:19:46 +02:00
Ivan Dyachkov 47c1fb734a ci: update performance test 2023-05-12 23:33:41 +02:00
Ilya Averyanov 7fa166f034 Merge branch 'release-50' into file-transfer
* release-50: (73 commits)
  feat: add RabbitMQ bridge
  docs: improve rule engine labels and descriptions
  chore: bump version && update changes
  refactor(rocketmq): move rocketmq bridge into its own app
  test: dashboard_listener_test crash
  chore: bump chart versions
  chore: bump ee version to e5.0.4-alpha.1
  test: fix inter-suite flakiness
  build: compatibility to make 4.4+
  feat: add IotDB bridge
  ci: ensure git safe dir in build_packages
  ci: ensure git safe dir
  test: check_oom's max_mailbox_size
  feat: rename max_message_queue_len to max_mailbox_size
  fix(buffer_worker): fix inflight count when updating inflight item
  chore: prepare for v5.0.25-rc.1 release
  docs: add change log entry
  fix: non_neg_integer() translated to minimum = 1 in bridge-api-en.json
  chore: `MQTT X` -> `MQTTX`
  chore: make sure brod_gssapi app is included in relese package
  ...
2023-05-09 23:30:22 +05:00
Ivan Dyachkov a45ef4d94d ci: remove unnecessary matrix dimensions 2023-05-09 13:50:36 +02:00
Ivan Dyachkov b688ec6ef8 ci: ensure git safe dir in build_packages 2023-05-08 14:54:08 +02:00
Ivan Dyachkov 84ccb0bd77 ci: fix typo in workflow file name 2023-05-08 09:54:51 +02:00
Ivan Dyachkov 5b6561f33e ci(perf_test): run scheduled perf test workflow in emqx org only 2023-05-08 09:54:51 +02:00
Ivan Dyachkov 86ea3f2de2 ci(build_packages_cron): remove non-existing dependency
also build emqx package on master only, and ee on release-50 only
2023-05-08 09:54:48 +02:00
Zaiming (Stone) Shi 429d193af7 ci: github action boolean in env check 'true' string 2023-05-05 23:58:24 +02:00
Zaiming (Stone) Shi a7f8e33321 ci: no need to prepare source zip
source.zip was need in v4 enterprise because the rebar3 deps
fetch had to be done in the github runner host, but not inside
the runner docker containers.

now that all dependencies are opensource, there is no need for
this step any more.
2023-05-05 22:57:16 +02:00
Zaiming (Stone) Shi 22815d4cec ci(buildx): use a special builder value to indicate host build 2023-05-05 22:20:34 +02:00
Zaiming (Stone) Shi e739e3cadb ci: ensure == compare is not empty on the left 2023-05-05 21:49:15 +02:00
Zaiming (Stone) Shi 1765c429c0 ci: use cd instead of pushd 2023-05-05 21:38:47 +02:00
Zaiming (Stone) Shi ccb289974a ci: in 'prepare' step, make clean-all before fetch deps 2023-05-05 21:02:48 +02:00
Ilya Averyanov dd3471bc22 Merge branch 'master' into file-transfer
* master: (194 commits)
  fix(limiter): update change && fix deprecated version
  chore: update changes
  perf(limiter): simplify the memory represent of limiter configuration
  ci(perf test): update tf variable name and set job timeout
  ci: fix artifact name in scheduled packages workflow
  fix: build_packages_cron.yaml workflow
  ci: move scheduled builds to a separate workflow
  build: check mnesia compatibility when generating mria config
  docs: fix a typo in api doc description
  feat(./dev): use command style and added 'ctl' command
  test: fix delayed-pubish test case flakyness
  refactor: remove raw_with_default config load option
  chore: add changelog for trace timestrap
  feat: increase the time precision of trace logs to microseconds
  chore: make sure topic_metrics/rewrite's default is []
  docs: Update changes/ce/perf-10417.en.md
  chore: bump `snabbkaffe` to 1.0.8
  ci: run static checks in separate jobs
  chore(schema): mark deprecated quic listener fields ?IMPORTANCE_HIDDEN
  chore: remove unused mqtt cap 'subscription_identifiers'
  ...
2023-05-05 16:50:18 +03:00
William Yang e4f501417b
Merge pull request #10525 from qzhuyan/perf/william/avoid-new-map-when-get-mqtt-caps
perf(config): avoid build new map in emqx_mgmt_caps:get_caps
2023-05-05 10:22:08 +02:00
Ivan Dyachkov b94b33f722 ci(perf test): update tf variable name and set job timeout 2023-05-05 08:04:20 +02:00
Ivan Dyachkov 2406c4a896 ci: fix artifact name in scheduled packages workflow 2023-05-05 07:50:45 +02:00
Ivan Dyachkov 3cb69463b4 fix: build_packages_cron.yaml workflow 2023-05-04 22:37:55 +02:00
Ivan Dyachkov 69d1a34461 ci: move scheduled builds to a separate workflow
so that we trigger the scheduled builds on both master and release-50
2023-05-04 19:15:27 +02:00
Andrew Mayorov 827cd79eca
ci: run static checks in separate jobs
So that prepare jobs would finish earlier and CI would give
faster feedback. Also point cache action at the correct location
of the PLT file.
2023-05-03 11:16:14 +03:00
William Yang 9903f34470 test(docker): set global mqtt config
Set global mqtt config instead of default zone
2023-05-02 21:50:36 +02:00
Thales Macedo Garitezi 0f37f38fda ci: set `IS_CI=yes` when running tests 2023-04-27 10:06:25 -03:00
Ivan Dyachkov 31e54d0598
Merge pull request #10532 from id/0426-v5.0.24
0426 v5.0.24
2023-04-26 19:21:22 +02:00
Zaiming (Stone) Shi 75294a4f73
Merge pull request #10513 from zmstone/0424-EMQX-9689-stop-providing-desc-and-label-in-schemas-api
0424 emqx 9689 stop providing desc and label in schemas api (part 1)
2023-04-26 19:04:33 +02:00
Ivan Dyachkov 01770fab85 ci: fix pkg-vsn.sh in perf test 2023-04-26 18:02:14 +02:00
Zaiming (Stone) Shi 0bd30e039f test: simplify swagger json check script 2023-04-26 14:41:33 +02:00
Ivan Dyachkov 54c1a2b06d ci: add performance test workflow 2023-04-26 11:59:52 +02:00
firest 0b46acda87 test(opents): add test cases for OpenTSDB 2023-04-23 11:03:20 +08:00
Ilya Averyanov 0211bcf030 Merge branch 'master' into file-transfer
* master: (279 commits)
  chore: shorten ct/run.sh script
  chore: rename cassandra_impl to cassandra_connector
  chore: fix mix.exs checking
  refactor(cassandra): move cassandra bridge into its own app
  chore: apply review suggestions
  chore: update changes/ce/fix-10449.en.md
  test: add a test for authn {}
  chore: add changlog for authn_http validation
  fix: always check authn_http's header and ssl_option
  chore: apply suggestions from code review
  fix(emqx_bridge): validate Webhook bad URL and return 'BAD_REQUEST' if it's invalid
  fix(emqx_alarm): add safe call API to activate/deactivate alarms and use it in resource_manager
  perf(emqx_alarm): use dirty Mnesia operations to activate an alarm
  ci: simplify find-apps.sh for ee apps
  perf(emqx_resource): don't reactivate alarms on reoccurring errors
  ci: check if Elixir files are formatted in pre-commit hook
  fix(dynamo): fix field name errors
  chore: remove *_collector for prometheus api's example
  chore: make plugins config to low level
  chore: re-split dynamo i18n file
  ...
2023-04-21 17:37:17 +03:00
Ivan Dyachkov 3b5ac8321d ci: bump emqx-builder to 5.0-34 to fix el9 build 2023-04-17 21:02:07 +02:00
Thales Macedo Garitezi 871ee90b3e refactor(kafka_bridge): move kafka bridge into its own app
Fixes https://emqx.atlassian.net/browse/EMQX-9481
2023-04-12 13:54:45 -03:00
Ilya Averyanov be99242e32 fix(ft-s3): fix review comments 2023-04-07 17:36:47 +03:00
Zaiming (Stone) Shi 0aab24d917 ci: do not check hidden fields if running older version 2023-03-28 16:03:55 +02:00
Serge Tupchii 9f006d0e2a ci: run start-two-nodes-in-docker.sh test script in CI
Closes: EMQX-8884
2023-03-24 19:06:26 +02:00
Serge Tupchii 761847b74a ci: update emqx-builders with OTP 24.3.4.2-3 and 25.1.2-3
These OTP versions implement mnesia_hook:unregister_hook/1
2023-03-23 11:59:43 +02:00
William Yang b62e9bba80 ci: rerun failed checks on master branch 2023-03-21 11:22:57 +01:00
Zaiming (Stone) Shi ad1deedd0e build: generate per-lang schema dump 2023-03-16 21:25:21 +01:00
Ivan Dyachkov cfae0baf03 ci: do not post updates about enterprise releases to emqx.io 2023-03-16 09:32:13 +01:00
Ivan Dyachkov 19fb3854a8 ci: run gitlint in docker container 2023-03-15 20:34:06 +01:00
Ivan Dyachkov f21d012532 ci: cache dialyzer plt 2023-03-15 19:55:01 +01:00
Ivan Dyachkov d13d54fb81 ci: emqx-builder 5.0-32 2023-03-15 19:08:51 +01:00
Ivan Dyachkov 7ef2c317e0 ci: use ubuntu22.04 everywhere 2023-03-15 14:27:12 +01:00
Ivan Dyachkov 7f71ccbf25 ci: use aws-actions/configure-aws-credentials@v2
to address EOL of Node.js 12
2023-03-15 14:22:19 +01:00
Ivan Dyachkov d337814c08 ci: tmp fix for build packages
- do not build raspbian9 and raspbian10 packages
- install krb5-devel in el9 (to be fixed in builder)
2023-03-14 19:55:03 +01:00
Ivan Dyachkov 907c2ed423 ci: fix schema.json path in spellcheck step 2023-03-14 09:31:37 +01:00
Zaiming (Stone) Shi fe27604010 Merge remote-tracking branch 'origin/release-50' into 0308-merge-release-50-back-to-master 2023-03-08 16:46:45 +01:00
Ivan Dyachkov 0a70f676a9 ci: release packages for raspbian 2023-03-04 10:58:12 +01:00
Ivan Dyachkov 258329b9c7 ci: build slim packages on push to release-50 2023-03-02 11:57:38 +01:00
Ivan Dyachkov 7a154e4d58 chore: docker-latest tag can be create automatically in cut.sh 2023-03-01 20:51:03 +01:00
Ivan Dyachkov e46922b0b6 ci(slim_packages): test elixir packages for ubuntu22.04 only 2023-02-27 23:21:41 +01:00
Ivan Dyachkov 7c4e5d429a ci: build packages for macos12 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 9065cb7429 ci: do not run scheduled workflows in forks 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 88d281edcc ci: fix indentation in run_test_cases.yaml 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 37cedecadb ci: do not run test workflows on push to any branch 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 7e09451530 ci: start building el9 (rocky linux 9) packages
also upgrade runners to ubuntu22.04 where possible
2023-02-27 23:16:30 +01:00
William Yang e8380e0773 ci: forked repo could run test cases 2023-02-20 10:42:55 +01:00
Ivan Dyachkov 739455d844 ci: test docker images and packages in the same way 2023-02-17 17:42:46 +01:00
Ivan Dyachkov b90d371836 ci: export docker image in build-slim-packages 2023-02-17 16:43:49 +01:00
Andrew Mayorov c7f535abc7
chore: bump OTP-24 image version to 24.3.4.2-2 2023-02-17 11:16:26 +03:00
firest 530b21268a feat(bridges): add TDengine 2023-02-14 22:04:23 +08:00
Ivan Dyachkov 202f6d0181 ci: stop building alpine docker image 2023-02-09 14:19:35 +01:00
Ivan Dyachkov 43bf297b31 ci: do not upload packages to s3 and packagecloud on schedule event 2023-02-09 11:17:59 +01:00
Zaiming (Stone) Shi 3587c4c04a
Merge pull request #9901 from zmstone/0202-merge-release-50-back-to-master
0202 merge release 50 back to master
2023-02-03 17:20:42 +01:00
Zaiming (Stone) Shi ccb0c7ebaa Merge remote-tracking branch 'origin/release-50' into 0202-merge-release-50-back-to-master 2023-02-03 16:12:11 +01:00
Zaiming (Stone) Shi 7233f42889 ci: skip relup tests for now 2023-02-03 09:58:02 +01:00
Zaiming (Stone) Shi 94768c9f44 Merge remote-tracking branch 'origin/master' into 0202-merge-release-50-back-to-master 2023-02-02 20:21:26 +01:00
Ivan Dyachkov cf8432227a ci: always run static_checks 2023-02-02 14:11:12 +01:00
Ilya Averyanov fce1e74c3d fix(connector): fix redis cluster resource recovery 2023-01-31 16:55:05 +02:00
Ivan Dyachkov afab2d5e85 ci: delete homebrew step 2023-01-25 19:29:05 +01:00
Ivan Dyachkov 9492b40a37 ci: automatically push packages to packagecloud.io 2023-01-25 19:29:02 +01:00
Ivan Dyachkov e68ee4c2ff ci: build ubuntu 22.04 packages 2023-01-23 13:30:00 +01:00
Ivan Dyachkov 4dd6e06680
Merge pull request #9773 from id/ci-revert-to-use-upstream-setup-beam
ci: back to use upstream setup-beam action
2023-01-18 09:36:59 +01:00
Ivan Dyachkov 430b0a03d4
Merge pull request #9780 from id/fix-ensure-no-colon-in-filenames
fix: ensure no colon in filenames
2023-01-18 09:36:16 +01:00
Ivan Dyachkov 5ee36d4406 ci: fix typo in error message 2023-01-16 21:27:01 +01:00
Ivan Dyachkov 0560145771 ci: back to use upstream setup-beam action 2023-01-16 18:07:25 +01:00
Zaiming (Stone) Shi f50b660cea ci: ensure PROFILE env is set for elixir apps check 2023-01-16 13:47:00 +01:00
Zaiming (Stone) Shi e668044ebc fix: version number previs in restricted shell 2023-01-16 13:47:00 +01:00