Commit Graph

458 Commits

Author SHA1 Message Date
zhouzb 6c18a05b78 chore: fix run_fvt_tests workflow 2022-08-30 23:21:15 +08:00
Rory Z 59c2bbe9ad chore: use minikube instead k3s 2022-08-30 23:21:07 +08:00
zhouzb 8305bc96f0
Merge branch 'main-v4.4' into release-v4.3.19 2022-08-30 22:28:44 +08:00
zhouzb d93d80cb8e chore: fix run_fvt_tests workflow 2022-08-30 22:23:38 +08:00
Rory Z b547ed3f75 chore: use minikube instead k3s 2022-08-30 22:23:38 +08:00
Rory Z ce5988b195 chore: use minikube instead k3s 2022-08-30 20:52:27 +08:00
zhouzb eaa21b15cf chore: fix run_fvt_tests workflow 2022-08-30 20:36:49 +08:00
Rory Z 48aab7daff chore: use minikube instead k3s 2022-08-30 19:34:24 +08:00
Thales Macedo Garitezi 66a2423b8f
Merge pull request #8820 from thalesmg/fix-dialyzer-a
chore: fix dialyzer errors
2022-08-29 10:05:26 -03:00
William Yang 8c7bc2ff13
Merge pull request #8683 from qzhuyan/ci/william/4.x-self-hosted
main 4.x use self hosted runner
2022-08-29 09:11:51 +02:00
Thales Macedo Garitezi 64704c3e13 ci: cache dialyzer PLTs 2022-08-26 16:09:39 -03:00
Thales Macedo Garitezi 977ac04d24 chore: fix dialyzer errors 2022-08-26 16:09:39 -03:00
Thales Macedo Garitezi fd576d18c3 Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-c 2022-08-26 13:25:17 -03:00
Thales Macedo Garitezi 6dad8f5926 ci: disable cross build outside ce repo 2022-08-26 11:43:34 -03:00
William Yang f245b34c34 ci: run test cases on self-hosted 2022-08-26 11:54:41 +02:00
William Yang 60ef87a4d4 ci: 4.3 runners 2022-08-26 11:54:41 +02:00
Thales Macedo Garitezi 5aa8ff86ff fix: windows relup is not supported 2022-08-25 13:10:51 -03:00
Thales Macedo Garitezi f40fcdd036 ci: pass down `$SYSTEM` for relup base versions escript
`relup-base-versions.escript` needs to know the system the package is
being built for to correctly enumerate the base versions for relup.
2022-08-25 10:23:52 -03:00
Thales Macedo Garitezi c52286a20a refactor: store db as list and rename file to `relup-paths.eterm` 2022-08-23 12:46:07 -03:00
Thales Macedo Garitezi 6f40405242 ci: add relup version db 2022-08-22 17:22:37 -03:00
zhongwencool 940ceb570d Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-08-19 10:53:48 +08:00
Zaiming (Stone) Shi 10cabddb07 ci: update OTP version 2022-08-17 23:43:07 +02:00
Rory Z 6630fe6318 ci: cancel latest tag for docker image
only EMQX 5.0 image can update latest tag
2022-08-10 09:54:23 +08:00
Zaiming (Stone) Shi eca211373f Merge remote-tracking branch 'origin/dev/v4.3.18' into dev/v4.4.7 2022-08-08 16:39:09 +02:00
Zaiming (Stone) Shi ef1b7e97bf ci: use lux from emqx-builder/4.4-19:24.1.5-3-ubuntu20.04 2022-08-03 15:33:16 +02:00
Zaiming (Stone) Shi 07afc26927 ci: remove macOS 10 2022-08-03 14:35:41 +02:00
Rory Z 9d71aff5d3 ci: fix helm version error 2022-08-03 10:16:16 +08:00
Zaiming (Stone) Shi a162196719
Merge pull request #8511 from qzhuyan/ci/william/4.3-new-otp-23.3
[WIP] ci: [4.3 only] release with OTP 23.3
2022-08-02 13:28:41 +01:00
William Yang 0d1b26cabf ci(linux): disable 23.2.7.2-emqx-3 2022-08-02 10:01:54 +02:00
zhouzb 071998a423
Merge pull request #8629 from emqx/main-v4.3
Sync 4.3 to 4.4
2022-08-02 10:58:18 +08:00
Rory Z bb7575f5d6 ci: fix push helm repo error 2022-08-01 10:59:50 +08:00
zhouzb 633f22cda9
Merge branch 'main-v4.4' into sync-4.3 2022-07-29 20:59:23 +08:00
Rory Z dafa4d63cb ci: use action to update helm repo 2022-07-29 10:29:03 +08:00
William Yang abbb2e2ec7 build: otp23.2 is marked in package name 2022-07-20 13:32:49 +02:00
William Yang 80727065ba ci: [4.3 only] release with OTP 23.3
rpm/deb: build packages with two tracks: 23.2 and 23.3
    - Track 1: Add 23.3, bring in fix of https://github.com/erlang/otp/issues/5346
    - Track 2: Keep 23.2 for hot upgrading

docker:
    Default to 23.3
2022-07-20 09:34:27 +02:00
Shawn 2ab2c39fdc chore: update emqx-builder to 4.4-18 2022-07-20 15:21:00 +08:00
zhongwencool 3248cb92e8 Merge branch 'main-v4.3' into sync-4.3-to-4.4 2022-07-19 11:02:11 +08:00
Thales Macedo Garitezi 84c6a27758 ci: run xref checks in CI 2022-07-01 13:19:41 -03:00
Xinyu Liu b3bd31ec86
Merge pull request #8267 from zmstone/0617-ci-no-more-latest-tag-for-4.4
ci: no more latest tag for 4.4
2022-06-22 18:08:28 +08:00
Xinyu Liu dc777c68a1
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-06-20 11:22:58 +08:00
Zaiming (Stone) Shi 5220cdd1f6 ci: no more 'latest' docker tag for 4.4 2022-06-17 20:26:56 +02:00
Thales Macedo Garitezi f0cbfff866 ci: fix appup artifact upload patterns 2022-06-16 14:37:51 -03:00
Thales Macedo Garitezi f08aedbf1f Merge branch 'main-v4.3' into merge-43-into-44-1 2022-06-15 14:45:01 -03:00
Thales Macedo Garitezi 35c3eba03b ci: upload artifacts for all builds (not just tags) (4.3)
Port of #8233 .
2022-06-15 14:30:52 -03:00
Thales Macedo Garitezi b93a0743ac Merge branch 'main-v4.3' into 'main-v4.4' 2022-06-15 10:48:02 -03:00
Thales Macedo Garitezi 34d84599c3
ci(appup): upload appup files when ci check fails
Often we have to remember to update both local tags and local
dependencies, and even so local results might differ from what the CI
check expects.  To help fixing expected appup file differences, we can
upload what CI produced to apply to our branch.
2022-06-09 11:34:58 -03:00
Zaiming (Stone) Shi ac09b90ab6 ci: ensure git safe directory for test case run 2022-06-09 07:30:33 +02:00
Zaiming (Stone) Shi c52e2f1b51 ci: use erlef/setup-beam@v1 to install erlang 2022-06-06 16:14:54 +02:00
Zaiming (Stone) Shi 7ebc9fc205 Merge remote-tracking branch 'zmstone/0602-ci-use-erlef-setup-beam' into main-v4.4 2022-06-02 13:47:39 +02:00
Zaiming (Stone) Shi 266354cf15 ci: use erlef/setup-beam@v1 to install erlang 2022-06-02 13:45:00 +02:00
Zaiming (Stone) Shi e2b659d321 ci: ensure otp 24.1.5 in run_fvt_tests.yaml 2022-06-02 11:35:09 +02:00
Zaiming (Stone) Shi 077dc37ea2 Merge remote-tracking branch 'zmstone/0602-ci-ensure-otp-version' into 0602-ci-ensure-otp24 2022-06-02 11:32:08 +02:00
Zaiming (Stone) Shi 0e9c446409 ci: ensure otp 23 in run_automate_tests.yaml 2022-06-02 11:14:39 +02:00
JianBo He b0c00df867 Merge remote-tracking branch 'stone/0525-ci-pin-builder-4.4-12' into merge-main-v4.3-into-v4.4 2022-05-27 11:16:01 +08:00
JianBo He 7ee5f90516 Merge tag 'v4.3.15-rc.3' into merge-main-v4.3-into-v4.4 2022-05-27 11:09:11 +08:00
Zaiming (Stone) Shi 3029e2b243 ci: For 4.4, release package on OTP 24 only 2022-05-27 03:16:57 +02:00
Zaiming (Stone) Shi 29622558c5 ci: pin emqx-buider 4.4-12
Centos/Rockylinux had troulbe booting because OpenSSL version
was too new (1.1.1n).

builder 4.4-12 has
* Centos7: only one version (1.1.1k) OpenSSL installed
* Centos8: go back to use default OpenSSL (1.1.1k)
2022-05-26 18:04:01 +02:00
Zaiming (Stone) Shi 31ade29bae Merge tag 'v4.3.14' into main-v4.3
v4.3.14 has been re-tagged to fix openssl issue found in centos
packages

also raspbian10 has been removed from ci because it's too slow
to emulate
2022-05-26 16:55:37 +02:00
Zaiming (Stone) Shi 9274899ce9 ci: delete raspbian10 from build list 2022-05-26 16:53:56 +02:00
JianBo He cfbf2ca4d2 Merge tag 'v4.3.15-rc.2' into merge-main-v4.3-into-v4.4 2022-05-26 13:34:33 +08:00
JianBo He 4655d55192 build: fix 'fatal: unsafe repository ...' on ubuntu20.04 2022-05-26 12:50:39 +08:00
Zaiming (Stone) Shi ea7f845d9f Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-04-29 20:21:44 +02:00
Zaiming (Stone) Shi 47377e0708 ci: rename apps_vsn_check for main-v4.x
so it's a different name for master branch and 4.x branches
2022-04-29 10:14:23 +02:00
Xinyu Liu 6d9816142f
Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-04-02 11:55:49 +08:00
zhanghongtong e183ae2499 ci: push docker image when tag event 2022-04-02 10:13:37 +08:00
Zaiming (Stone) Shi 8785f87473 ci: upgrade erlang for windows 2022-03-31 23:29:53 +02:00
Zaiming (Stone) Shi 88c30e3a4f ci: bump to latest emqx-builder image 4.4-8 2022-03-31 10:14:01 +02:00
Zaiming (Stone) Shi 4cf3cf7134 Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-03-24 16:05:28 +01:00
Zaiming (Stone) Shi 3944888a19 chore: update-appup.sh always rebuild baseline
Reasons
* OTP version might be different in developer's env and build env
* For some tags, we do not build release. e.g. rel-v4.4.X
2022-03-24 11:23:47 +01:00
Zaiming (Stone) Shi 4c4604d397 build: add debian11 2022-03-23 07:56:20 +01:00
Zaiming (Stone) Shi 8415abb05a Merge remote-tracking branch 'origin/main-v4.4' into main-v4.4 2022-03-22 21:01:15 +01:00
Zaiming (Stone) Shi 6ea8d2f270 Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-03-22 20:54:22 +01:00
Zaiming (Stone) Shi ed9266b6c0 ci: update to latest builder image 2022-03-22 12:05:55 +01:00
DDDHuang ece789b58e fix(ci): update jmeter to 5.4.3 2022-03-20 13:07:43 +08:00
Zaiming (Stone) Shi 87a2155fb5 Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-03-05 10:40:03 +01:00
Zaiming (Stone) Shi 7ba3d32bac ci: remove git-token file since EE dashboard is opensource now 2022-03-05 09:44:12 +01:00
zhanghongtong a27ff13ceb ci(release): update container image 2022-03-04 21:08:29 +08:00
zhanghongtong cb969b5493 Merge branch 'main-v4.4' of https://github.com/emqx/emqx into merge-4.3-to-4.4 2022-03-04 20:51:38 +08:00
Rory Z d0b5b262fe
Merge pull request #7115 from Rory-Z/ci/update-build
ci(cross build): splitting cross builds and upload assets
2022-03-04 09:20:15 +08:00
JianBo He c5a6b47390 build(ci): fix package name 2022-03-03 11:57:17 +08:00
JianBo He f0be91b7fd Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-03-03 11:13:45 +08:00
Zaiming (Stone) Shi 8029670741 ci: add appup update check to ci 2022-03-01 17:04:09 +01:00
Zaiming (Stone) Shi fe597cd3f9 ci: delete ci step which creates sha256sum
the latest build commands create sha256 sum right after the build
e.g. command `make emqx-zip` creates two files:
- emqx-<version>.zip
- emqx-<version>.zip.sha256
2022-02-28 18:55:05 +01:00
Zaiming (Stone) Shi c157a16907 Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-02-26 01:05:06 +01:00
zhanghongtong b6e57b1789 ci(cross build): splitting cross builds and upload assets 2022-02-23 15:27:32 +08:00
Zaiming (Stone) Shi 43c900bb5a chore: rename more descriptive EQM X to EMQX 2022-02-22 11:16:38 +01:00
JianBo He 521bdd20b4 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-02-22 11:43:46 +08:00
Zaiming (Stone) Shi 3c22878d54 ci: update windows ci to use erlef action and add windows to slim build 2022-02-21 15:09:32 +01:00
Zaiming (Stone) Shi 3a5a2047e9 build: fix windows build 2022-02-21 00:53:56 +01:00
Ilya Averyanov 557c52dd8a chore(codestyle): remove Elvis 2022-02-18 20:35:19 +03:00
zhanghongtong ee7acdfc33 ci(cross build): fix build raspbian failed on armhf 2022-02-17 15:52:36 +08:00
Rory Z 545abe2d52
Merge pull request #7006 from Rory-Z/ci/update-target-event
ci(build_packages): add target event
2022-02-17 09:33:17 +08:00
zhanghongtong 091398d863 build(relup): add new script for download relup base packages 2022-02-15 17:57:31 +08:00
zhanghongtong 88769bc23b ci(build_packages): cancel repeating actions 2022-02-15 10:15:25 +08:00
zhanghongtong c1f77da3b9 ci(build_packages): add target event 2022-02-15 10:11:34 +08:00
JianBo He a88dd4aaa5 Merge tag 'v4.3.12' into main-v4.4 2022-02-14 19:37:59 +08:00
Zaiming (Stone) Shi f1b10ec2b0
Merge pull request #6927 from Rory-Z/ci/push-multiarch-image-for-aws
ci(build_packages): push muilt arch image for aws ecr
2022-02-14 12:26:56 +01:00
Zaiming (Stone) Shi 9f897a650a build: rename distro from 'rhel' to 'el' 2022-02-14 09:28:29 +01:00
zhanghongtong 7a45ad8900 chore: fix a few typos 2022-02-13 20:50:35 +08:00
zhanghongtong e9238c6ca3 ci: use exclude instead of include for build matrix 2022-02-13 12:51:53 +08:00
Zaiming (Stone) Shi dfb591cac7 ci: use exclude instead of include for build matrix
include is unconditional, as a result, it brins in emqx profile
to enterprise repo
2022-02-12 14:32:54 +01:00
Zaiming (Stone) Shi 5171d3811c ci: revert to openssl digest for sha256 sum on mac 2022-02-12 12:24:48 +01:00
Zaiming (Stone) Shi 857e9aee52 ci: fix sha256sum in windows
for some reason Get-FileHash (or maybe later piped tools) produced
non-text content
2022-02-12 10:48:28 +01:00
Zaiming (Stone) Shi 257f6cc589 ci: fix action typo repository -> registry 2022-02-11 21:24:40 +01:00
Zaiming (Stone) Shi 28508e23ec ci: dump logs when failed to stop 2022-02-11 15:20:15 +01:00
zhanghongtong fd9b787e9d ci(build_packages): push muilt arch image for aws ecr
done #6870
2022-02-10 09:38:23 +08:00
zhanghongtong ec0843633c chore: change step name to match the actual commands 2022-02-10 09:36:16 +08:00
zhanghongtong c316cc464f ci(build_packages): push muilt arch image for aws ecr 2022-02-10 09:34:15 +08:00
Zaiming (Stone) Shi fd75756d5c ci: update to emqx-builder 4.4-5 (rockylinux) 2022-02-09 22:49:08 +01:00
Zaiming (Stone) Shi 4f6876b6e9 ci: package slim-build on rockylinux 2022-02-09 22:16:39 +01:00
Zaiming (Stone) Shi d863609f43 build: use rockylinux and 'rhel' for package names 2022-02-09 22:13:00 +01:00
Ilya Averyanov c1d2be3bff Merge branch 'main-v4.3' into rebar3-vs-make-4.4
* main-v4.3:
  chore(ci): use make apps/emqx_auth_ldap-ct instead of rebar command
2022-02-08 14:48:19 +03:00
Ilya Averyanov 1480efde19 chore(ci): use make apps/emqx_auth_ldap-ct instead of rebar command 2022-02-07 21:55:30 +03:00
Shawn 791b22f151
Merge branch 'main-v4.4' into copy_of_main-v4.3 2022-01-27 18:46:49 +08:00
Zaiming (Stone) Shi e5d196569c ci: find relup base version using script scripts/relup-base-vsns.sh 2022-01-26 18:26:43 +01:00
Zaiming (Stone) Shi 99712d3521 ci: debug windows build 2022-01-26 12:08:32 +01:00
Shawn 301d6bf794 fix(ci): add some debug print for downloading rebar3 2022-01-26 18:55:17 +08:00
Zaiming (Stone) Shi 16a5eb4493 Merge remote-tracking branch 'origin/main-v4.3' into merge-v4.3-to-v4.4 2022-01-25 22:29:01 +01:00
Zaiming (Stone) Shi 95f950ae00 ci: fix relup base version match pattern 2022-01-25 19:04:55 +01:00
JianBo He e7b6ba509b Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-01-24 09:29:20 +08:00
JimMoen cb6f7cb496 ci: fix a typo in fvt_tests 2022-01-21 19:53:49 +08:00
William Yang afa4c7d341 ci(mac): cache otp install only
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-18 11:49:53 +01:00
William Yang deaea12aca ci(mac): cache otp install only
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-18 11:19:32 +01:00
Shawn 1e3429986a fix(ci): download previous zip packages failed 2022-01-18 10:19:02 +08:00
JianBo He b297388c20 Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4 2022-01-11 10:03:28 +08:00
Zaiming (Stone) Shi 558db58b5d
Merge pull request #6643 from Rory-Z/ci/do-not-static-check-for-4.4
ci(static checks): do not run static check
2022-01-05 17:25:39 +01:00
Zaiming (Stone) Shi c761b1aa3c
Merge pull request #6644 from Rory-Z/ci/do-not-static-check-for-4.3
ci(static checks): do not run static check
2022-01-05 17:25:16 +01:00
zhanghongtong ced2a4a117 ci(static checks): do not run static check 2022-01-05 11:13:26 +08:00
zhanghongtong cf57b77f03 ci(static checks): do not run static check 2022-01-05 11:09:45 +08:00
Rory Z c672d8e7a4
Merge pull request #6627 from Rory-Z/chore/use-enterprise-dockerfile
ci(build_packages): if it's enterprise, use Dockerfile.enterprise
2022-01-05 10:37:23 +08:00
zhanghongtong 0b12a7e3a2 ci(build_packages): only push emqx broker to aws ecr 2022-01-05 10:12:27 +08:00
zhanghongtong 6a5c37dab7 ci(its): fix error 2022-01-04 21:03:46 +08:00
Rory Z afc0fcd0b6
Merge pull request #6628 from Rory-Z/chore/ignore-ldap-error
chore(cts): ignore ldap error
2022-01-04 18:21:56 +08:00
zhanghongtong 387af5295c chore(cts): ignore ldap error 2022-01-04 17:56:58 +08:00
Rory Z 7759d94d6b
Merge pull request #6524 from Rory-Z/ci/fix-upload-error
ci(build_packages): fix upload error for mac
2022-01-04 17:32:37 +08:00
zhanghongtong 8e88f8b9f9 ci(build_packages): if it's enterprise, use Dockerfile.enterprise
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2022-01-04 16:45:16 +08:00
zhanghongtong 514634e541 ci(build_packages): if it's enterprise, use Dockerfile.enterprise 2022-01-04 16:32:32 +08:00
zhanghongtong 1627ef78e7 ci(build_packages): update docker build
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2022-01-04 14:27:39 +08:00
zhanghongtong 02d347d4ea ci(build_packages): delete needless steps 2022-01-04 10:49:00 +08:00
Zaiming (Stone) Shi feecaa6c98 build: ci tests.sh test specific package 2021-12-31 15:35:31 +01:00
zhanghongtong 499c1ab2f4 ci(build_packages): fix upload error for mac 2021-12-23 00:02:42 +08:00
zhanghongtong 1136b16281 ci(build_packages): fix docker tag error 2021-12-22 21:11:19 +08:00
zhanghongtong 67f4bba694 ci(build_packages): delete needless packages 2021-12-22 20:26:06 +08:00
zhanghongtong 5fbd999ef8 ci(cts): fix env error 2021-12-22 16:48:42 +08:00
zhanghongtong a560174ad9 ci(cts): use makefile target instead of the rebar command 2021-12-22 16:46:58 +08:00
zhanghongtong 15f40889c6 ci(cts): fix env error 2021-12-22 16:01:58 +08:00
Shawn e15eadde72 fix(test): revert the changes on ldap ct 2021-12-22 12:00:45 +08:00
zhanghongtong f5ec6b730c ci(cts): fix spell error 2021-12-22 10:22:56 +08:00
zhanghongtong c1480ab52c ci(cts): use makefile target instead of the rebar command 2021-12-22 09:40:09 +08:00
zhanghongtong f78be5a4be ci(release): only push emqx broker image to aws ecr 2021-12-20 10:25:23 +08:00