Commit Graph

1003 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi e45ed3d97d ci: upgrade to otp 26 2023-12-14 22:22:01 +01:00
Ivan Dyachkov 4ad7e85045 ci: run scheduled packages build of release-54 2023-12-05 15:07:50 +01:00
Ivan Dyachkov ec10c51073 Merge remote-tracking branch 'upstream/release-53' into 1129-sync-r53 2023-11-30 19:51:12 +01:00
Ivan Dyachkov 19e7ec1f1f ci: use our own fork of upload-assets 2023-11-29 10:43:45 +01:00
Ivan Dyachkov 915f0171b3 ci: fix manual trigger of release workflow 2023-11-28 17:26:44 +01:00
Ivan Dyachkov f463f267cf ci: fix insufficient permissions for github token in release workflow 2023-11-28 16:52:10 +01:00
Ivan Dyachkov c1ef0f71e8 ci: fix access to prerelease field in github object 2023-11-28 10:54:40 +01:00
Zaiming (Stone) Shi 9593f03646 chore: update pr request template 2023-11-27 10:03:58 +01:00
Ivan Dyachkov f1f62d3af1 ci: stop building packages for macos-11 2023-11-22 09:48:08 +01:00
Zaiming (Stone) Shi 55d1b07a41 ci: remove windows from CI
Starting from v5.4.0, we will stop release windows packages.
The windows build scripts are still around, will be deleted
in follow-up PRs
2023-11-21 19:36:38 +01:00
Ivan Dyachkov ba2133abb3 chore: remove github copilot placeholder from pr template
https://githubnext.com/copilot-for-prs-sunset
2023-11-20 09:12:38 +01:00
Ivan Dyachkov e15553f9bd ci: fix pattern for on push branch 2023-11-09 16:45:08 +01:00
Ivan Dyachkov 0c91bec98d chore: merge 'upstream/release-53' 2023-11-08 09:24:38 +01:00
Ivan Dyachkov 4495054714 ci: optimize runners usage
- always use github runners for lightweight jobs
- prefer self-hosted runners in private forks
- prefer self-hosted runners for workflows with large matrix
2023-11-02 16:13:31 +01:00
Ivan Dyachkov 8e7edaf745 ci: limit retention on all artifacts 2023-11-02 16:13:31 +01:00
Ivan Dyachkov a69cfdc8cd ci: do not use github's macos runner in PRs 2023-11-02 16:13:31 +01:00
Ivan Dyachkov b1ab213081 chore: merge 'upstream/release-53' into 1031-sync-r53 2023-10-31 11:06:25 +01:00
William Yang 848f9c8dd6
Merge pull request #11838 from qzhuyan/ci/william/debug-helm-console
ci(helm): enable debug console logging
2023-10-31 11:04:29 +01:00
William Yang c2966f8c00 ci(helm): test urgly workaround 2023-10-30 22:58:33 +01:00
William Yang bf9f0213d8 ci(helm): enable debug console logging 2023-10-30 22:58:22 +01:00
Ivan Dyachkov 58042af1fc chore: add separate section for breaking changes in changelog
also remove support for Chinese language in changelog
2023-10-30 20:48:32 +01:00
Ivan Dyachkov 045875d18d ci: make CI a little faster and less flaky
- use latest ubuntu22.04 emqx-builder image in compose files
- use xl runners for compiling and for emqx app tests
- make helm tests less flaky
2023-10-30 10:32:27 +01:00
Zaiming (Stone) Shi 3aebe4a289 ci: only enable cover-compile by default in CI
so the ad-hoc make apps/appname-ct run can be faster
2023-10-28 00:39:55 +02:00
William Yang f52b4a9e32 fix: gen_rpc tcp client port align with server port 2023-10-25 12:11:35 +02:00
William Yang 6346e0d28a fix(gen_rpc): ssl client port align with server port 2023-10-24 22:33:52 +02:00
William Yang 2a7d73e62c ci: fix helm chart test 2023-10-24 21:19:37 +02:00
William Yang a9b42af8b3
Merge pull request #11796 from qzhuyan/fix/william/gen_rpc-driver
fix(gen_rpc): ensure client/server use same driver
2023-10-23 08:24:17 +02:00
Ivan Dyachkov f94d5757bb Merge remote-tracking branch 'upstream/release-53' into 1021-sync-r53 2023-10-21 08:44:32 +02:00
Ivan Dyachkov 41dba71901 chore: emqx-builder 5.2-3 2023-10-20 16:26:53 +02:00
William Yang 1808ad2373 ci(helm): test gen_rpc transports 2023-10-20 13:28:31 +02:00
Ivan Dyachkov 82bac3e136 Merge remote-tracking branch 'upstream/release-53' into 1018-sync-r53 2023-10-18 08:04:45 +02:00
Ivan Dyachkov 898279099b ci: update remaining docker images in workflows to use public.ecr.aws 2023-10-17 22:36:43 +02:00
Ivan Dyachkov fb6b02c1ea ci: explicitly specify architecture in runner labels 2023-10-17 18:57:46 +02:00
Ivan Dyachkov 220893177d ci: rerun failed checks for up to 3 times 2023-10-14 10:04:55 +02:00
Andrew Mayorov 0144ed9981
Merge pull request #11753 from keynslug/chore/smaller-ci-artifacts
chore(ci): try to reduce CI artifacts footprint
2023-10-13 16:56:47 +07:00
Zaiming (Stone) Shi dd03be29a6
Merge pull request #11751 from zmstone/1011-refactor-move-emqx_license-app-to-apps
1011 refactor move emqx_license app to apps
2023-10-13 06:45:49 +02:00
Andrew Mayorov 08b2b36b87
feat(ci): push some envs through artifact files in workflows
So that we could optimize away the need for the full git history.
2023-10-13 00:40:25 +07:00
Andrew Mayorov 397686fd18
fix(ci-conf): stop requiring git index in conf tests 2023-10-12 18:31:42 +07:00
Andrew Mayorov 419b80d11e
chore(ci): try to reduce CI artifacts footprint
To speed up uploads and downloads in dependent jobs.
2023-10-12 17:56:15 +07:00
Ivan Dyachkov fd15939ae8 chore(ci): limit token scope in workflows 2023-10-12 08:41:50 +02:00
Zaiming (Stone) Shi d753edc0fd chore: remove lib-ee in scripts 2023-10-11 20:12:57 +02:00
Ivan Dyachkov 7212e8acee chore(ci): add ossf scorecard analysis workflow 2023-10-11 09:59:27 +02:00
Zaiming (Stone) Shi 9ab49a7ae3 Merge remote-tracking branch 'origin/master' into 0919-auth-refactor 2023-10-09 14:18:10 +02:00
Ivan Dyachkov 74686ed86b ci: update labels 2023-10-06 08:44:47 +02:00
Ivan Dyachkov 52f6816cb9 ci: explicitly pull postgres image 2023-10-05 15:55:04 +02:00
Ivan Dyachkov 64f866387c ci: compress ct logs before uploading 2023-10-05 14:36:56 +02:00
Ivan Dyachkov d7725c72cf ci: fix node_dump 2023-10-05 13:33:54 +02:00
Ivan Dyachkov 9a881290b9 ci: use ephemeral self hosted runners 2023-10-05 13:33:51 +02:00
Ilya Averyanov 1eb75b43c4 chore(auth): split emqx_authn and emqx_authz apps 2023-10-05 13:41:50 +03:00
Zaiming (Stone) Shi b7587fe48e ci: add -y to apt update 2023-09-29 13:31:46 +02:00
Zaiming (Stone) Shi 878b7b86dc test: run eunit test for 'emqx' app with a node name 2023-09-27 12:59:06 +02:00
JimMoen d9466eef63
chore: fix Dashboard RBAC license and rebar.config 2023-09-22 21:19:45 +08:00
Ivan Dyachkov ec43268eee chore: update scripts and CI to work with 5.3.X 2023-09-21 19:29:00 +02:00
Zaiming (Stone) Shi e794143ae1 Merge remote-tracking branch 'origin/release-52' into 0906-sync-release-52-to-master 2023-09-06 09:08:22 +02:00
Thales Macedo Garitezi 69dfc8e31d
Merge pull request #11505 from thalesmg/docker-eee-r52-20230823
ci(test_docker): export enterprise image with elixir for testing
2023-08-24 12:17:47 -03:00
Thales Macedo Garitezi 0037295c83 ci(test_docker): export enterprise image with elixir for testing 2023-08-24 10:27:25 -03:00
SergeTupchiy 467f60805f
Merge pull request #11499 from SergeTupchiy/EMQX-10390-mnesia-hook-fix-upgrade-otp
chore: bump OTP to 25.3.2-2 and EMQX builder to 5.1-4
2023-08-24 11:13:05 +03:00
Ivan Dyachkov 7adbf319b1 ci: use more sensible name for checks 2023-08-24 08:21:06 +02:00
Serge Tupchii bac0f7107c chore: bump OTP to 25.3.2-2 and EMQX builder to 5.1-4 2023-08-23 19:35:36 +03:00
Ilya Averyanov 92a293a67b chore(ci): pin pytest-retry version 2023-08-23 17:34:15 +03:00
Ilya Averyanov 44b080f5b3 chore(ci): pin pytest-retry version 2023-08-23 17:33:24 +03:00
Thales Macedo Garitezi a6a023eff7 ci: add `integration_test` dir to `emqx` application
This gives us a place where to put tests that exercise multiple umbrella application,
which is more closely related to `emqx`, but in a way that doesn't affect the standalone
app tests.
2023-08-16 11:48:47 -03:00
Ivan Dyachkov 3daff225c0
Merge pull request #11451 from id/0815-ci-do-not-publish-prerelease-artifacts 2023-08-15 21:45:06 +02:00
Thales Macedo Garitezi b416100943 ci: fix output source 2023-08-15 14:40:19 -03:00
Ivan Dyachkov f00553a174 ci(release): do not publish prerelease artifacts to emqx.io, packagecloud and helm repo 2023-08-15 19:34:13 +02:00
Ivan Dyachkov e91d22b0d5 ci(docker): emqx-enterprise repo does not exist in ECR 2023-08-15 19:34:10 +02:00
Thales Macedo Garitezi 4151fe5045 ci(refactor): compute before/after references in parent workflow 2023-08-15 14:33:39 -03:00
Thales Macedo Garitezi 124c5d94e5
ci: fix variable usage
Co-authored-by: Ivan Dyachkov <dev@dyachkov.org>
2023-08-15 14:25:38 -03:00
Thales Macedo Garitezi 8a6bb6f5f3 ci: restore emqx app standalone tests
Those were accidentally removed during a refactoring.

They are needed because we provide the `emqx` application as a standalone dependency for
plugins.
2023-08-15 13:48:39 -03:00
Zaiming (Stone) Shi fa9e9f3348
Merge pull request #11442 from zmstone/0814-sync-release-52-to-master
0814 sync release 52 to master
2023-08-15 16:21:55 +02:00
Ivan Dyachkov 1e6ba2e748 ci: add daily build of emqx-enterprise for debian10 platform 2023-08-14 11:39:55 +02:00
Ivan Dyachkov 7bdefd065f chore: update scripts, workflows and documentation to support release-52 2023-08-11 11:11:58 +02:00
Ivan Dyachkov be9b8e5fa8 ci: upgrade emqx/push-helm-action to v1.1 2023-08-11 08:51:17 +02:00
Ivan Dyachkov 9ad44f1bba ci: do not run tests on tag push 2023-08-10 09:57:53 +02:00
Ivan Dyachkov d6476481c9 ci(packages): run publish_artifacts on github hosted runner to get sudo 2023-08-10 07:58:57 +02:00
Ivan Dyachkov c587a753da fix(docker): use 'make $PROFILE-docker' in CI 2023-08-09 14:45:17 +02:00
Ivan Dyachkov c35ad653f3 ci: process both string and boolean values of inputs.publish 2023-08-09 09:33:17 +02:00
Ivan Dyachkov 34759b64f5 ci(docker): pass PKG_VSN to Dockerfile to avoid calling pkg-vsn.sh 2023-08-09 09:23:08 +02:00
Ivan Dyachkov 92d4f6cb0b ci: pass secrets to docker and packages workflows 2023-08-09 09:22:55 +02:00
Thales Macedo Garitezi acb87403a5 ci: fix path to Dockerfile 2023-08-08 17:44:03 -03:00
Thales Macedo Garitezi 1ca202fef7 ci: fix build package script
Since the runner changed from `ubuntu-22.04` to self hosted runner, `sudo` is no longer
passwordless.
2023-08-08 15:49:34 -03:00
Ivan Dyachkov 0e54db9039 ci: build slim packages on push to branches 2023-08-07 09:42:51 +02:00
Ivan Dyachkov 4767b952dd ci: move sanity checks to the main workflow 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 8545cac33d ci(parse-git-ref): handle more than one tag on the same commit
also add shelltest in CI
2023-08-06 14:16:56 +02:00
Ivan Dyachkov 308d7b872d ci: minor fixes 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 6093f03cb9 ci: make $PROFILE instead of make $PROFILE-compile 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 75834c2d91 ci: don't check elixir code formatting twice
also fix actionlint extraction
2023-08-06 14:16:56 +02:00
Ivan Dyachkov fdf02a7083 ci: restore make test-compile 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 8232d8bc8b ci: download actionlint from github releases 2023-08-06 14:16:56 +02:00
Ivan Dyachkov d100acf701 ci: fail faster in helm tests 2023-08-06 14:16:56 +02:00
Ivan Dyachkov ec75fa32cf ci: use git ref for workflow concurrency detection 2023-08-06 14:16:56 +02:00
Ivan Dyachkov a32b8fd21f ci: use single entry point for push event 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 9699064a08 ci: move windows build from slim_packages to scheduled daily build 2023-08-06 14:16:56 +02:00
Ivan Dyachkov dc8487ef71 ci: delete elixir_release workflow as it is covered by slim_packages 2023-08-06 14:16:56 +02:00
Ivan Dyachkov 362235021c ci: refactor workflows to use single entry point on pull request trigger 2023-08-06 14:16:56 +02:00
Ivan Dyachkov ca89bb91a4 chore: update PR template to add a check box for proper tests 2023-08-01 10:26:59 +02:00
Ivan Dyachkov b7f0f7b32d chore: merge master into release-51 2023-07-19 09:28:05 +02:00
Ivan Dyachkov 2594998fd0 ci: self-hosted runners for build-packages 2023-07-18 17:12:20 +02:00
Ivan Dyachkov 2b5bd9f183 ci: separate steps to build and test packages 2023-07-18 17:12:18 +02:00
Ivan Dyachkov cfcdc094b5 ci: always upload artefacts on build_packages 2023-07-18 16:15:10 +02:00