Commit Graph

301 Commits

Author SHA1 Message Date
Traphalet a9e2051a69 chore(actions): update git actions versions 2022-12-08 11:34:46 +02:00
Thales Macedo Garitezi a94f3464f5 ci(fix): set container image with OTP 23
35850967ef/README.md?plain=1#L55
2022-12-02 16:49:13 -03:00
Ivan Dyachkov 2e58152c32 ci: bump otp version to 23.3.4.18-1 2022-11-27 17:47:22 +01:00
Zaiming (Stone) Shi 1c1e158874 ci: build slim package on centos 8
centos 7 has some git compatibility issues
2022-11-27 17:42:42 +01:00
Zaiming (Stone) Shi 8b37baad3a ci: upgrade build-env image to erl23.3.4.18-1 2022-11-27 17:34:25 +01:00
Zaiming (Stone) Shi ad024871e1 ci: fix artifact path for macos 2022-11-27 13:27:29 +01:00
Zaiming (Stone) Shi 2b22ff0710 ci: ensure github action workspace is clear 2022-11-14 20:11:50 +01:00
Zaiming (Stone) Shi 949916fc1c ci: use self-hosted for all Erlang tests
prepare, proper, eunit, ct and cover
2022-11-14 19:57:36 +01:00
Zaiming (Stone) Shi a48c75594e ci: ensure github checkout@v1 and checkout@v2 fetch full history
for release builds, alwasy fetch full history otherwise
the old tags will not be found resulting in no relup generated
2022-11-14 08:49:03 +01:00
Zaiming (Stone) Shi d5de5ac05c
Revert "fix: remove outdated cert store from packages" 2022-11-11 07:04:28 +01:00
Traphalet c319e91758 fix: remove outdated cert store from packages 2022-11-08 18:24:59 +02:00
Traphalet 42158f79e0 fix: env variable reference in upload 2022-11-07 20:51:12 +02:00
Zaiming (Stone) Shi 8f0ef274a8 ci: docker prune images before and after test 2022-11-07 13:02:22 +01:00
Zaiming (Stone) Shi 90ff3a71f5 ci: mongo-replicaset and mongo-sharded are ee only 2022-11-06 20:36:22 +01:00
Zaiming (Stone) Shi 8ff8a8b55d ci: split fast (regular) and docker-compose (docker) ct 2022-11-06 19:39:06 +01:00
Zaiming (Stone) Shi 7dfa83f3c6
Merge pull request #9223 from emqx/av/parallelCTruns
ci(test): test parallel CT runs on self-hosted runners
2022-11-04 12:11:54 +01:00
Zaiming (Stone) Shi bd39b9b627 ci: fix artifact upload path 2022-11-04 09:56:19 +01:00
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 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
JimMoen 844ebf5ed6
chore: fix ci typo 2022-10-28 20:34:45 +08: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
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
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 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
Zaiming (Stone) Shi 159173d261 ci: test zip package with space in its root 2022-09-27 10:02:37 +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
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
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
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
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
Thales Macedo Garitezi c65fad3014 ci: enable dialyzer checks (4.3) 2022-09-09 10:51:58 -03:00
Thales Macedo Garitezi f95d9ca653 ci: check repo type directly in step 2022-08-31 17:04:45 -03: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