Commit Graph

802 Commits

Author SHA1 Message Date
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
Stefan Strigler 1690a6dcfc
Merge branch 'master' into dev/api-refactor 2023-01-13 15:34:13 +01:00
firest c5f557e315 fix: disable basic auth for HTTP API 2023-01-12 21:35:49 +08:00
Ivan Dyachkov 49e1f51765 ci: simplify build_and_push_docker_images workflow 2023-01-12 09:45:17 +01:00
Stefan Strigler f27f573109 refactor: move to /authorization/sources/built_in_database/rules 2023-01-10 11:00:22 +01:00
Zaiming (Stone) Shi 5f12cdff6c ci: should not skip tests in github actions 2023-01-05 22:47:08 +01:00
Zaiming (Stone) Shi 728cb85156
Merge pull request #9629 from zmstone/1128-fix-flaky-test-listener-restart-eaddrinuse
test: add a 2 seconds sleep between listener sotp and restart
2022-12-29 16:04:19 +01:00
Zaiming (Stone) Shi 9f346b44ee ci: avoid github action ct log artifacts name clash 2022-12-29 11:46:56 +01:00
Andrew Mayorov 9aeb5a15a0
ci: reenable OTP-25 package builds targeting amzn2 2022-12-28 12:10:42 +03:00
Zaiming (Stone) Shi 29a0899ed2
Merge pull request #9621 from emqx/release-50
merge release-50 back to master
2022-12-28 10:04:13 +01:00
Ivan Dyachkov b48941e307 ci: send notification to Slack when scheduled bulid failed 2022-12-27 11:44:04 +01:00
Zaiming (Stone) Shi 25e6ccc82f ci: build elixir package on OTP 24 for Amazon Linux 2 for now 2022-12-27 11:24:10 +01:00
Zaiming (Stone) Shi db28de649e ci: fix build matrix 2022-12-27 10:51:08 +01:00
Zaiming (Stone) Shi 7ec7ab785d ci: fix builder for elixir 2022-12-27 09:14:25 +01:00
Ivan Dyachkov 0599bd7cfc ci: use our own setup-beam fork
https://github.com/erlef/setup-beam/issues/167
2022-12-22 09:15:57 +01:00
Stefan Strigler 7aee1a08aa
Merge pull request #9531 from sstrigler/EMQX-7982-put-authentication-id-should-return-204
refactor: return `204` instead of `200` for `PUT /authenticator/:id`
2022-12-19 14:46:31 +01:00
Stefan Strigler 9d97775567 refactor: return `204` instead of `200` for `PUT /authenticator/:id` 2022-12-19 10:02:08 +01:00
Andrew Mayorov e267b3c89e
ci: avoid coverdata filename collisions 2022-12-18 23:12:22 +03:00
Andrew Mayorov 501f0fc8d5
ci: reduce test matrix size
Test emqx profile under OTP-25 only. Build test matrix programmatically
for that purpose.
2022-12-18 23:12:22 +03:00
Andrew Mayorov f17ebb8796
ci: cut down slim build matrix 2022-12-18 23:12:22 +03:00
Andrew Mayorov 2e1cdd039e
ci: include OTP-25 in some workflows
* Use OTP-25 exclusively for Elixir builds
* Include OTP-25 in slim package builds
* Include OTP-25 in test workflow matrices
2022-12-16 13:45:04 +03:00
Stefan Strigler 13b4ee227c ci: use ref to tag rather than raw branch for emqx-fvt in jmeter suite 2022-12-15 10:57:19 +01:00
Zaiming (Stone) Shi 56066a03b5 Merge remote-tracking branch 'origin/release-50' into 1214-sync-master-upstreams 2022-12-14 20:04:20 +01:00
Zaiming (Stone) Shi 416990bd8f ci: no need to run ct with static profile matrix 2022-12-14 16:42:44 +01:00
Zaiming (Stone) Shi 42c58e2a91 Merge remote-tracking branch 'origin/release-50' into 1214-sync-master-upstreams 2022-12-14 15:29:13 +01:00
Ivan Dyachkov 2dfaf9c449 ci: keep building el7 in slim packages 2022-12-13 09:05:18 +01:00
Ivan Dyachkov 3013b982cc ci: build amzn2 package
also
- upgrade emqx-builder to 5.0.24
- use amzn2 instead of el8 by default
- cross-cover emqx and emqx-enterprise in slim packages
2022-12-13 09:04:45 +01:00
Ivan Dyachkov 9f83c54e21 ci: update short description on docker hub page for emqx/emqx 2022-12-12 11:35:27 +01:00
Ivan Dyachkov a5624ebd30
Merge pull request #9522 from id/docs-update-docker-readme
docs: update docker readme
2022-12-12 11:16:23 +01:00
Ivan Dyachkov 926fd6e0b3 docs: automatically update readme for emqx/emqx image on docker hub 2022-12-12 09:13:36 +01:00
Ivan Dyachkov 93789fb872 ci: fix logs artefact name 2022-12-09 16:13:53 +01:00
Zaiming (Stone) Shi 40809b2ad0 Merge remote-tracking branch 'origin/dev/ee5.0' into release-50 2022-12-09 11:45:52 +01:00
Zaiming (Stone) Shi 061fe144b8
Merge pull request #9516 from emqx/1209-remove-allgood-checks-in-ci
ci: remove allgood checks
2022-12-09 10:21:24 +01:00
Zaiming (Stone) Shi 84824c374f ci: remove allgood checks 2022-12-09 09:24:14 +01:00
Zaiming (Stone) Shi e1f09d9899 Merge remote-tracking branch 'origin/release-50' into 1208-merge-release-50-back-to-master 2022-12-08 14:27:01 +01:00
Zaiming (Stone) Shi c87c9e886e ci: rename build step for docker-ct 2022-12-07 17:34:17 +01:00
Zaiming (Stone) Shi 1c8a9079b9 ci: remove undefined matrix from artifact name 2022-12-07 17:27:59 +01:00
William Yang 093da2d8cf build: enable docker img push for forkings 2022-12-07 13:15:11 +01:00
Zaiming (Stone) Shi 1c2fc4b6c3 Merge remote-tracking branch 'origin/release-50' into 1206-chore-merge-ee50-to-release-50 2022-12-06 16:35:56 +01:00
William Yang 4c493affda ci: make test runnable without self-hosted in fork repo 2022-12-05 12:16:46 +01:00
Ivan Dyachkov 9dc8713a01
Merge pull request #9443 from id/ci-ensure-docker-latest-tag-on-releases
ci: automatically update emqx/emqx:latest on releases
2022-12-01 22:02:55 +01:00
Zaiming (Stone) Shi 3052407abc
Merge pull request #9452 from zmstone/1130-fix-ci-log-dir
ci: delete otp_release from log artifact name
2022-11-30 14:14:36 +01:00
Zaiming (Stone) Shi c53a815555 ci: pre-compile test profile 2022-11-30 14:03:24 +01:00
Zaiming (Stone) Shi 86e86c5a85 ci: clean before prepare and 'make' the default target
the eunit & proper step depends on a pre-built default target
2022-11-30 09:45:56 +01:00
Zaiming (Stone) Shi 720c233dd5 ci: delete codeball 2022-11-30 09:37:08 +01:00
Zaiming (Stone) Shi 5eacc84d1f ci: delete otp_release from log artifact name 2022-11-30 09:30:40 +01:00
Zaiming (Stone) Shi 311e4cd583
Merge pull request #9440 from zmstone/1128-chore-sync-release-branch-back-to-master
1128 chore sync release branch back to master
2022-11-29 11:47:01 +01:00
Ivan Dyachkov 1a7f1a856b ci: automatically update emqx/emqx:latest on releases 2022-11-29 10:27:55 +01:00
Zaiming (Stone) Shi 4d8699d130 Merge remote-tracking branch 'origin/release-50' 2022-11-28 21:02:55 +01:00
Zaiming (Stone) Shi 7ee53e5319 Merge tag 'v5.0.11' into dev/ee5.0 2022-11-28 21:02:21 +01:00
Zaiming (Stone) Shi 5e303f7aba ci: delete auto sync from emqx.git to emqx-enterprise.git 2022-11-28 15:04:14 +01:00
Ivan Dyachkov a408fbd996 ci: add separate manual workflow to upload helm charts 2022-11-28 09:03:05 +01:00
Ivan Dyachkov 5c40b1dffd ci: build macos release packages for apple silicon (arm64) 2022-11-25 13:44:28 +01:00
Ivan Dyachkov a3140f7a16
Merge pull request #9397 from emqx/ci-add-mac-arm64-self-hosted-runner
ci: build slim packages on macos arm64
2022-11-25 13:01:02 +01:00
Ivan Dyachkov c391ae69ab
Merge pull request #9375 from id/ci-fix-version-for-push-helm-chart-action
ci: fix version for push-helm-action
2022-11-21 08:50:21 +01:00
Ivan Dyachkov 8d138d2525 ci: build slim packages on macos arm64 2022-11-20 15:56:16 +01:00
Zaiming (Stone) Shi c559334e69 ci: fix windows build 2022-11-20 09:13:58 +01:00
Zaiming (Stone) Shi c3777e4920 ci: avoid using 'include' for elixir builds
prior to this change the elixir builds matrix dimensions were 'included'
cusing it to build for enterprise eidtion

use exclude instead.

also removed otp from the artifact upload name, leave only profile,
so there is no need to 'include' with a '-windows' suffix for
windows package uploads
2022-11-20 09:06:54 +01:00
Zaiming (Stone) Shi 03d3d1d65a ci: exclude raspbian all together
the 'exclude' matrix prior to this change had raspbian all
excluded anyway.
2022-11-20 08:50:11 +01:00
Zaiming (Stone) Shi c878c20499 ci: exclude enterprise tag for windows builds 2022-11-20 08:49:05 +01:00
Zaiming (Stone) Shi f0f34be1a4 Merge remote-tracking branch 'zmstone/1117-release-only-default-otp' into dev/ee5.0 2022-11-19 14:07:58 +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
Zaiming (Stone) Shi 5dd343f558 ci: release only the default packages 2022-11-17 21:56:40 +01:00
Zaiming (Stone) Shi 7c8ed59edd ci: add back the profile matrix for elixir_release build 2022-11-16 18:30:49 +01:00
Zaiming (Stone) Shi 09455edae8 Merge tag 'v5.0.10' into dev/ee5.0 2022-11-16 16:20:30 +01:00
Ivan Dyachkov 70c52f43cc ci: enable manual trigger on release workflow 2022-11-16 14:28:47 +01:00
Ivan Dyachkov d54597e0d4 ci: fix version for push-helm-action 2022-11-16 12:44:18 +01:00
Zaiming (Stone) Shi 155d4a9818 ci: fix yaml syntax 2022-11-09 19:11:48 +01:00
Zaiming (Stone) Shi d9573a5f43 Merge remote-tracking branch 'origin/master' into release-v50 2022-11-09 18:24:11 +01:00
Zaiming (Stone) Shi 7f2fb0ea57 ci: fix artifacts upload for linux build 2022-11-09 13:02:50 +01:00
Zaiming (Stone) Shi 493b91782d ci: fix upload artifacts path 2022-11-09 11:54:24 +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
Zaiming (Stone) Shi a3794c1de0
Merge pull request #9304 from emqx/av-5.x-update-remaining-action-to-latest-version
chore(actions): update version for leftover action
2022-11-04 20:16:01 +01:00
Ivan Dyachkov c4e731fbd2
Merge pull request #9300 from id/ci-fix-helm-chart-upload-on-release
ci: fix helm chart upload on releases
2022-11-04 16:59:09 +01:00
Traphalet 1d18c51d4a chore(actions): update version for leftover action 2022-11-04 10:29:34 +02:00
Ivan Dyachkov 7401cec712 ci: fix helm chart upload on releases
emqx/push-helm-action requires access to charts in the source tree,
but we do not run checkout in the main job
2022-11-03 13:04:59 -07:00
Ivan Dyachkov 7ff7fb5a23 ci: bump login action version 2022-11-01 16:23:26 +01:00
Ivan Dyachkov 881a91a788 ci: build elixir images for ce only 2022-11-01 15:57:23 +01:00
Traphalet f920ff341b ci(actions): update git actions to latest versions 2022-10-28 15:53:26 +03:00
Shawn 4135910b42 chore: merge master into dev/ee5.0 2022-09-26 09:52:33 +08:00
Ivan Dyachkov fe80dccf9b build: extract macos packaging into reusable action 2022-09-19 19:25:27 +02:00
zhouzb 25b29de821
Merge pull request #8921 from Rory-Z/ci/fix-helm-push-error
ci(helm): fix helm push error
2022-09-14 09:21:31 +08:00
Ivan Dyachkov cb5be71165
Merge pull request #8897 from emqx/build-sign-macos-binaries
build: sign binary files in macos package
2022-09-13 16:31:32 +02:00
Zaiming (Stone) Shi 4534966e36 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-09-13 12:16:54 +02:00
Rory Z b3355ff035 chore(helm): rename emqx-ee helm chart to emqx-enterprise 2022-09-13 17:43:00 +08:00
Zaiming (Stone) Shi d4e8a5377c ci: run spellcheck 0.4.0 2022-09-13 09:45:37 +02:00
Rory Z cbe2173547 chore(helm): add image.tag for helm chart 2022-09-13 15:31:14 +08:00
Rory Z 874414793f chore: add emqx enterprise helm chart 2022-09-13 14:06:39 +08:00
Ivan Dyachkov 7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
Rory Z a58529edec ci(helm): fix helm push error 2022-09-08 09:32:59 +08:00
Rory Z c40b95de35 ci(docker): add edition for docker image labels 2022-09-07 10:42:54 +08:00
Zaiming (Stone) Shi befc4acced Merge remote-tracking branch 'origin/master' into merge-master-to-ee50-a 2022-09-06 20:31:38 +02:00
Zaiming (Stone) Shi f785da075b ci: only start required docker for integration tests 2022-09-06 19:25:53 +02:00
Thales Macedo Garitezi 3d4afd65df feat: add mongodb bridge (e5.0) 2022-09-01 14:47:14 -03:00
Zaiming (Stone) Shi 5a3fb4a011 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-08-31 17:11:15 +02:00