Commit Graph

464 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi b7a04c50ff ci: upload all cover data to the same artifact name
all concurrent jobs produces different coverdata file names
so there is clashing
2022-11-03 21:49:18 +01:00
Zaiming (Stone) Shi 31a65ca480 ci: make sure detect-profile works in source dir 2022-11-03 20:47:40 +01:00
Ivan Dyachkov 4579782b62 ci: fix packages build for ee releases
- build otp manually instead of kerl
- bump versions on some actions
- fix deprecated way of setting step output in some cases
2022-11-03 20:45:41 +01:00
Zaiming (Stone) Shi c6efd902f8 ci: make sure detect-profile works in source dir 2022-11-03 14:36:37 +01:00
Thales Macedo Garitezi af4141bef4 chore(oscp_crl): port OCSP and CRL features to CE repo (re4.4) 2022-11-03 10:10:16 -03:00
Zaiming (Stone) Shi a779a58ff9 ci: no need to make cover after per app ct run 2022-11-02 20:06:26 +01:00
Zaiming (Stone) Shi 18486a7e13 ci: run emqx-ct-pipeline without docker dependencies 2022-11-02 19:20:39 +01:00
Traphalet 25b6a1c158 ci(test): test parallel CT runs on self-hosted runners 2022-11-02 19:20:39 +01:00
Zaiming (Stone) Shi f0b350ba4f Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-01 13:51:06 +01:00
William Yang 23569198cf ci(relup-test): merge two jobs 2022-10-31 15:44:24 +01:00
William Yang d33b00bfc7 ci(relup_test): Get OTP base vsn from relup-paths.eterm 2022-10-31 15:27:49 +01:00
JimMoen 844ebf5ed6
chore: fix ci typo 2022-10-28 20:34:45 +08:00
firest 5242a6d393 chore: bump otp version 2022-10-28 16:38:59 +08:00
Thales Macedo Garitezi 0a8f3d4e16 Merge remote-tracking branch 'origin/main-v4.3' into sync-v44-a 2022-10-24 16:28:11 -03:00
Ivan Dyachkov d0a4f75bf2
Merge pull request #9214 from emqx/chore-update-codeowners-paths
chore: add leading slash for paths in codeowners
2022-10-24 13:16:18 +02:00
Ivan Dyachkov 78fc9ff64e chore: add leading slash for paths in codeowners 2022-10-24 11:28:39 +02:00
JimMoen 34d73960e7
ci: fix macos erlang-otp cache hitting 2022-10-24 16:58:19 +08:00
JimMoen 075228aadc
chore: fix local actions path 2022-10-24 14:15:20 +08:00
Zaiming (Stone) Shi 5f8453570a
Merge pull request #9168 from JimMoen/1018-fix-ci-path-error
chore: workflow steps with path
2022-10-18 13:21:06 +02: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 f15845fb00 chore: add code-owners 2022-10-17 22:43:50 +02: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
Zaiming (Stone) Shi 07f0f0a5f8 Merge remote-tracking branch 'origin/release-v43' into 0921-build-merge-release-br-back-to-main-asap 2022-09-29 10:56:45 +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