Commit Graph

431 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 0a8f3d4e16 Merge remote-tracking branch 'origin/main-v4.3' into sync-v44-a 2022-10-24 16:28:11 -03:00
JimMoen 075228aadc
chore: fix local actions path 2022-10-24 14:15:20 +08:00
JimMoen b0ee2fdd3c chore: workflow steps with path 2022-10-18 17:58:55 +08:00
JimMoen bac7b61cfd Merge branch 'release-v44' into 1018-sync-release-v44-back-to-main 2022-10-18 10:44:27 +08:00
Zaiming (Stone) Shi 1ba2c01f25 Merge remote-tracking branch 'origin/release-v43' into main-v4.3 2022-10-15 14:58:22 +02:00
JianBo He 85aa120b06 Merge branch 'release-v43' into release-v44 2022-10-11 10:24:22 +08:00
Thales Macedo Garitezi e72e1567a1 ci(test): stop containers at the beginning of the run
An attempt to prevent updated container definitions clashing in CI GH
runners between different branches.

A self-hosted runner only runs a single job at a time.

If a container is already running there, an updated docker compose
file might fail to recreate that container, failing the run.
2022-10-10 14:12:25 -03:00
Zaiming (Stone) Shi fef42b0d17 Merge remote-tracking branch 'origin/main-v4.3' into 1005-sync-v44-upstreams 2022-10-05 13:40:35 +02:00
Zaiming (Stone) Shi 28b1a4e6f1 Merge remote-tracking branch 'origin/release-v44' into 1005-sync-v44-upstreams 2022-10-05 13:02:00 +02:00
Ivan Dyachkov 5c2edaec73 build: fix profile detection when building packages 2022-09-28 18:20:01 +02:00
Thales Macedo Garitezi 954e276124 Merge remote-tracking branch 'origin/release-v43' into merge-rv43-into-rv44-a 2022-09-28 09:46:03 -03:00
Zaiming (Stone) Shi 159173d261 ci: test zip package with space in its root 2022-09-27 10:02:37 +02:00
Ivan Dyachkov 77a45f86cc Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-09-26 20:19:23 +02:00
Ivan Dyachkov 63817418d1
Merge pull request #9037 from emqx/build-refactor-reusable-steps-into-actions
build: refactor reusable steps into actions
2022-09-26 08:40:57 +02:00
Thales Macedo Garitezi dbf3a3cee7
Merge pull request #8994 from thalesmg/mongo-coverage-43
test: increase mongo integration test coverage (4.3)
2022-09-23 13:23:22 -03:00
Ivan Dyachkov b74632b5ba build: refactor reusable steps into actions 2022-09-23 15:46:22 +02:00
Zaiming (Stone) Shi 0fec2b874e Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-09-21 12:59:44 +02:00
Thales Macedo Garitezi 86028dae5a ci(coveralls): fix glob pattern to run coveralls after merge 2022-09-20 14:24:53 -03:00
Thales Macedo Garitezi d3304d49b5 test: increase mongo integration test coverage (4.3) 2022-09-20 14:15:32 -03:00
Ivan Dyachkov 2aaa7195f2 chore: port signing of macos binaries functionality from main-v4.3 2022-09-20 17:33:42 +02:00
Zaiming (Stone) Shi bbeeafa315 Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-h 2022-09-19 20:47:45 +02:00
Thales Macedo Garitezi 485fb5d4f0
Merge pull request #8966 from thalesmg/coveralls-test-report
ci: enable running test cases and cover for main-v4.x
2022-09-19 10:11:32 -03:00
Zaiming (Stone) Shi 51e70df440 Merge remote-tracking branch 'origin/main-v4.3' into 0919-sync-v44 2022-09-19 09:54:00 +02:00
Zaiming (Stone) Shi 130e02a7af Merge remote-tracking branch 'thales/merge-v43-into-v44-h' into 0919-sync-v44 2022-09-19 09:50:45 +02:00
Thales Macedo Garitezi b7fe87d761 ci: enable running test cases and cover for main-v4.x
An attempt to make Coveralls bot to identify and report coverage
changes in `main-v4.{3,4}`-based PRs.

Currently, `master`-based PRs get their reports correctly.  When one
checks such a report, e.g.: https://coveralls.io/builds/52535695 , it
identifies if coverage increased or decreased relative to the base
branch.

`main-v4.x`-based PRs, however, always seem to report as "first
builds", so it doesn't report if coverage increased or
decreased. E.g.: https://coveralls.io/builds/52541065 .

The reason _could be_ that, currently, `main-v4.x` branches do not
build themselves.  That is, PRs run the test + cover analysis, as
usual, but once they're merged, tests (and thus coverage analysis) do
not run.  And that _could be_ why the tool can't see if coverage
increased or decreased with such PR.
2022-09-16 14:18:03 -03:00
Ivan Dyachkov ed34108644 build: sign macos binaries 2022-09-16 10:21:56 +02:00
Thales Macedo Garitezi d3c291c4d0 Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-h 2022-09-15 10:13:47 -03:00
Zaiming (Stone) Shi 20ddd4557f refactor: no need for the --system flag for buildx.sh 2022-09-14 20:54:25 +02:00
Zaiming (Stone) Shi 05129bd919 refactor: rename check scripts to start with 'check-' 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi 4ff34e3188 ci: ensure chart version is in sync with the release version 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi d4fa8567c2 ci: fix relup paths check use a different file for enterprise 2022-09-14 12:40:14 +02:00
Thales Macedo Garitezi c65fad3014 ci: enable dialyzer checks (4.3) 2022-09-09 10:51:58 -03:00
Thales Macedo Garitezi 87cc57096f Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-f 2022-09-01 15:44:08 -03:00
Thales Macedo Garitezi f95d9ca653 ci: check repo type directly in step 2022-08-31 17:04:45 -03:00
Thales Macedo Garitezi d1ac851bd9 chore: fix dialyzer errors (v4.4) 2022-08-31 16:24:34 -03:00
Thales Macedo Garitezi e05605bef0 Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-e 2022-08-30 16:38:14 -03:00
zhouzb 440f7ce007
Merge branch 'main-v4.4' into sync-v4.3.19 2022-08-30 23:36:41 +08:00
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