Commit Graph

262 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
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
Rory Z bb7575f5d6 ci: fix push helm repo error 2022-08-01 10:59:50 +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
Thales Macedo Garitezi 84c6a27758 ci: run xref checks in CI 2022-07-01 13:19:41 -03:00
Thales Macedo Garitezi f0cbfff866 ci: fix appup artifact upload patterns 2022-06-16 14:37:51 -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 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 0e9c446409 ci: ensure otp 23 in run_automate_tests.yaml 2022-06-02 11:14:39 +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 4655d55192 build: fix 'fatal: unsafe repository ...' on ubuntu20.04 2022-05-26 12:50:39 +08:00