Commit Graph

57 Commits

Author SHA1 Message Date
Ivan Dyachkov 2e58152c32 ci: bump otp version to 23.3.4.18-1 2022-11-27 17:47:22 +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 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 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 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 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
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
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 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
Thales Macedo Garitezi f95d9ca653 ci: check repo type directly in step 2022-08-31 17:04:45 -03:00
William Yang f245b34c34 ci: run test cases on self-hosted 2022-08-26 11:54:41 +02:00
Zaiming (Stone) Shi 10cabddb07 ci: update OTP version 2022-08-17 23:43:07 +02:00
Zaiming (Stone) Shi ac09b90ab6 ci: ensure git safe directory for test case run 2022-06-09 07:30:33 +02:00
zhanghongtong ced2a4a117 ci(static checks): do not run static check 2022-01-05 11:13:26 +08:00
Zaiming Shi 1cb6cdbd76 build: upgrade to otp sed 23.2.7.2-emqx-3
There was a typo fix in ssl app for ecdsa_secp512r1_sha512
to ecdsa_secp521r1_sha512.

Hot-beam upgrade is supported when upgrading from OTP 23.2.7.2-emqx-2
just a 'ssl_cipher' module reload.
2021-11-20 23:28:12 +01:00
zhanghongtong a8aabd5f74 revert: chore(CI): update events that trigger workflows
This reverts commit 002cbb6d8b
2021-06-25 20:13:35 +08:00
zhanghongtong 002cbb6d8b chore(CI): update events that trigger workflows 2021-06-24 17:44:30 +08:00
zhanghongtong d825535d04 chore(CI): update events that trigger workflows 2021-06-05 14:09:12 +08:00
JianBo He 3a89b1f00b
chore(action): fix syntax error (#4885) 2021-05-31 15:08:52 +08:00
zhanghongtong 18036fdf3b chore(CI): show rebar3.crushdump when actions failed 2021-05-17 15:09:12 +08:00
Zaiming Shi cd53568f36 build: pin otp 23.2.7.2-emqx-2 2021-05-06 21:05:39 +02:00
Zaiming Shi cacb56a25c build: pin erl23.2.7.2-emqx-1 2021-04-27 21:23:40 +02:00
k32 5fe1e30ad9 chore(ci): Don't fail builds when coveralls is misbehaving 2021-04-26 14:27:22 +02:00
Zaiming Shi 5c49d5e49d chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-17 22:15:34 +02:00
JianBo He 9e8c379ab4 test(ci): add proper testing back 2021-04-14 19:38:56 +08:00
Zaiming Shi df5dc78dff chore(ci): add coveralls finished github action step 2021-04-12 07:00:29 +02:00
Zaiming Shi 08305f8ddf chore(cover): pass host env to container for cover data upload 2021-04-12 07:00:29 +02:00
zhanghongtong 1e249cfd73 chore(CI): target workflows event support enteprise tags 2021-04-08 18:11:59 +08:00
zhanghongtong e3c2461e54 chore(CI): update test case workflows for enterprise repos 2021-03-31 19:44:38 +08:00
zhanghongtong ac9a229c37 chore(CI): update docker compose file 2021-03-30 18:02:37 +08:00
zhanghongtong 5ea897f0f6 chore(CI): check client exited 2021-03-23 09:42:33 +08:00
zhanghongtong be4faa6d7c chore(CI): app test workflows support enterprose repo 2021-03-20 09:31:32 +08:00
Zaiming Shi ddec66fe35 chore(build): remove plugin regression for now
We do not have Elixir in build environment
2021-03-19 12:22:43 +01:00
Zaiming Shi 1ee0432301 chore(build): bump to OTP-23.2.7 2021-03-18 09:04:08 +08:00
Zaiming Shi de6359b5fd chore(ci): find and run plugin tests 2021-03-07 09:49:11 +01:00
z8674558 80125a9606 feat(rebar.config.erl): allow community plugins 2021-03-05 23:19:34 +09:00
zhanghongtong 9f0c88cda9 chore(CI): update workflows
change target update repos event in build packages workflows

merge dialyzer test to run test case workflows
2021-03-04 19:29:37 +08:00
zhanghongtong ee776c5099 chore(CI): update events that trigger workflows 2021-03-03 20:55:45 +08:00
Zaiming Shi 7afeadd6fc chore(ci): run eunit test in github action 2021-02-26 20:50:07 +01:00
z8674558 2b9a702b70 test(ci): give parameters thru env variable, not sed 2021-02-19 01:09:20 +09:00
JianBo He 52c747ca6b chore(cover): add coverall back 2021-02-04 14:22:17 +08:00
zhanghongtong 9e03d6fea1 chore(auth): configuration format of unified authentication plug-in 2021-01-15 20:25:09 +08:00
bignullnull 981482d707
fix(test): fix test cases (#4012)
* fix(test): fix test cases
2021-01-15 09:48:57 +08:00