Commit Graph

968 Commits

Author SHA1 Message Date
dependabot[bot] 762b0c45dc
chore(deps): bump the actions group with 4 updates
Bumps the actions group with 4 updates: [actions/download-artifact](https://github.com/actions/download-artifact), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action), [actions/cache](https://github.com/actions/cache) and [erlef/setup-beam](https://github.com/erlef/setup-beam).


Updates `actions/download-artifact` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](eaceaf801f...c850b930e6)

Updates `docker/setup-buildx-action` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](f95db51fdd...0d103c3126)

Updates `actions/cache` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](13aacd865c...ab5e6d0c87)

Updates `erlef/setup-beam` from 1.17.2 to 1.17.5
- [Release notes](https://github.com/erlef/setup-beam/releases)
- [Commits](8b9cac4c04...2f0cc07b4b)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: erlef/setup-beam
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 03:52:50 +00:00
zmstone 9cbeb3720a Merge remote-tracking branch 'origin/release-55' into sync-5.5.1 2024-03-06 17:55:14 +01:00
Ivan Dyachkov d9c982d850 ci: do not push emqx-enterprise docker images to public.ecr.aws 2024-03-05 12:04:32 +01:00
Ivan Dyachkov 9c0ab450a0 ci(docker): use correct tag for smoke test 2024-03-05 11:55:05 +01:00
Ivan Dyachkov 0c9ecb4211 ci: build binaries for each arch of docker image separately
to speed up the build process, we build the binaries for multi-arch
docker image on the instances with corresponding architecture first,
then assemble the final docker image
2024-03-05 11:55:01 +01:00
Thales Macedo Garitezi 394c242671 ci: don't attempt to push to `public.ecr.aws/emqx/emqx-enterprise`
This repository doesn't currently exist.
2024-03-05 08:41:44 +01:00
Ivan Dyachkov 2e0e9f1c14 ci: fix sha256 task in build packages 2024-03-05 08:41:44 +01:00
Thales Macedo Garitezi 8fbb883ba8
Merge pull request #12644 from thalesmg/prepare-560-alpha1-r56-20240304
fix docker repository enumeration and prepare `e5.6.0-alpha.2`
2024-03-04 17:20:52 -03:00
Thales Macedo Garitezi 04774c8b70 ci: don't attempt to push to `public.ecr.aws/emqx/emqx-enterprise`
This repository doesn't currently exist.
2024-03-04 15:37:58 -03:00
Ivan Dyachkov da3835c83f ci: fix sha256 task in build packages 2024-03-04 19:29:28 +01:00
Ivan Dyachkov a20478fff0 chore: update scripts and workflows for 5.6.x 2024-03-01 09:01:34 +01:00
Ivan Dyachkov d360661143 ci: make profile required field when triggering build packages manually 2024-02-21 12:57:06 +01:00
Thales Macedo Garitezi fad73b5ad1 ci: disable scorecard check on non-`master` branches
https://github.com/emqx/emqx/actions/runs/7960101073/job/21728381092#step:4:269

```
2024/02/19 13:11:45 creating scorecard entrypoint: validating options: only default branch is supported
refs/heads/release-55 not supported with push event.
Only the default branch master is supported.
```
2024-02-19 10:18:16 -03:00
dependabot[bot] 342784b237
chore(deps): bump the actions group with 1 update
Updates the requirements on [github/codeql-action](https://github.com/github/codeql-action) to permit the latest version.

Updates `github/codeql-action` to 7e187e1c529d80bac7b87a16e7a792427f65cf02
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7e187e1c52)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 16:33:50 +00:00
Ivan Dyachkov 9017d6afc3 ci: use buildx in build_packages 2024-02-15 16:37:21 +01:00
Ivan Dyachkov 56d0de8453 ci: bump actions versions 2024-02-15 16:37:20 +01:00
Ivan Dyachkov dbd8173635 ci(docker): use correct tag for smoke test 2024-02-14 16:54:03 +01:00
Ivan Dyachkov a68cc8fde2 ci: build binaries for each arch of docker image separately
to speed up the build process, we build the binaries for multi-arch
docker image on the instances with corresponding architecture first,
then assemble the final docker image
2024-02-14 12:49:54 +01:00
Ivan Dyachkov 4a4f96d4b5 ci: scorecard workflow can only run on master branch 2024-02-02 08:51:51 +01:00
Ivan Dyachkov 54fda58698 ci: use v3 artifacts actions in build packages 2024-02-02 08:49:25 +01:00
Ivan Dyachkov 1501f5b89d ci: fix otp version 2024-02-02 08:48:56 +01:00
Ivan Dyachkov ee305f2dd0 ci: use OTP 25.3.2-2 for building docker
due to segfault on 26 https://github.com/erlang/otp/issues/8051
2024-02-02 08:48:56 +01:00
Ivan Dyachkov 92ef848b30 ci: fix publish artifacts 2024-02-02 08:48:56 +01:00
Ivan Dyachkov a2e3414805 ci: use v3 artifacts actions in build packages 2024-02-01 18:30:59 +01:00
Ivan Dyachkov 227195df42 ci: fix otp version 2024-01-31 18:02:31 +01:00
Ivan Dyachkov 04cdbe0dc3 ci: use OTP 25.3.2-2 for building docker
due to segfault on 26 https://github.com/erlang/otp/issues/8051
2024-01-31 17:06:51 +01:00
Ivan Dyachkov 1e26408812 ci: fix publish artifacts 2024-01-30 20:38:46 +01:00
Ivan Dyachkov 8c978ccbf3
Merge pull request #12346 from id/0117-ci-bump-actions-versions
ci: bump actions versions
2024-01-19 10:32:02 +01:00
Ivan Dyachkov 0a0bf3123b ci: bump actions versions 2024-01-17 15:18:03 +01:00
yanzhiemq ac6ce3b72c
ci: run scheduled packages build of release-55 2024-01-15 09:26:23 +08:00
Zaiming (Stone) Shi 34681ec7a2 chore: update scripts and ci from old release-xx branch to release-55 2024-01-12 14:15:34 +01:00
Ivan Dyachkov 775edd9f5c ci: explicitly use --require-hashes for pip install 2024-01-12 11:29:22 +01:00
Ivan Dyachkov 479ceb8596
Merge pull request #12309 from id/0111-ci-pin-more-dependencies
ci: pin more dependencies by sha
2024-01-12 10:51:20 +01:00
Ivan Dyachkov 4c9078d05f ci: pin more dependencies 2024-01-11 22:08:38 +01:00
Thales Macedo Garitezi efde3ae490 ci: fix elixir version in cron build job 2024-01-11 16:16:28 -03:00
Ivan Dyachkov beb70265a6 ci: downgrade actions/checkout and actions/upload-artifact version in build_packages
Starting from v4.0.0 actions/checkout has been using node20 runtime.
On Amazon Linux 2, EL7 and Ubuntu 18.04 GLIBC it's too old for node to run:
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
2024-01-11 18:23:14 +01:00
Ivan Dyachkov f65ab9b48c ci: fix actions/upload-artifact v4 compatibility 2024-01-11 16:52:42 +01:00
Ivan Dyachkov 06b7d8c293 ci: run CodeQL on release-54 as well as on master 2024-01-11 11:34:46 +01:00
Ivan Dyachkov e1944739e9 ci: restrict token permissions and pin deps 2024-01-11 11:34:44 +01:00
Zaiming (Stone) Shi ca60ef86ce ci: upgrade to otp 26.2.1-2 2024-01-11 09:15:06 +01:00
Serge Tupchii c77cd690b8 ci: upgrade to OTP-26.1.2-3 (mnesia:match_delete/2 function added) 2024-01-10 16:23:54 +02:00
Thales Macedo Garitezi e6557386bb
fix(ci): bad interpolation and tag
Co-authored-by: Ivan Dyachkov <dev@dyachkov.org>
2024-01-09 13:49:20 -03:00
Thales Macedo Garitezi 602d2ec88a
fix: remove unnecessary interpolation
Co-authored-by: Ivan Dyachkov <dev@dyachkov.org>
2024-01-09 09:09:11 -03:00
Thales Macedo Garitezi 6ce84d606c ci: add arm64 package to slim packages workflow 2024-01-08 17:52:05 -03:00
Thales Macedo Garitezi 662f950b4d ci: bump ubuntu version for slim packages 2024-01-08 10:39:01 -03:00
Ivan Dyachkov 2d9bbd00ce ci: use OTP 25 in scheduled workflow to build packages for release-54 2023-12-18 14:11:30 +01:00
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
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 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 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 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
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