Commit Graph

249 Commits

Author SHA1 Message Date
Ivan Dyachkov 0a70f676a9 ci: release packages for raspbian 2023-03-04 10:58:12 +01:00
Ivan Dyachkov 7c4e5d429a ci: build packages for macos12 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 9065cb7429 ci: do not run scheduled workflows in forks 2023-02-27 23:16:30 +01:00
Ivan Dyachkov 7e09451530 ci: start building el9 (rocky linux 9) packages
also upgrade runners to ubuntu22.04 where possible
2023-02-27 23:16:30 +01:00
Andrew Mayorov c7f535abc7
chore: bump OTP-24 image version to 24.3.4.2-2 2023-02-17 11:16:26 +03:00
Ivan Dyachkov 43bf297b31 ci: do not upload packages to s3 and packagecloud on schedule event 2023-02-09 11:17:59 +01:00
Ivan Dyachkov 9492b40a37 ci: automatically push packages to packagecloud.io 2023-01-25 19:29:02 +01:00
Ivan Dyachkov e68ee4c2ff ci: build ubuntu 22.04 packages 2023-01-23 13:30:00 +01:00
Ivan Dyachkov 0560145771 ci: back to use upstream setup-beam action 2023-01-16 18:07:25 +01:00
Andrew Mayorov 9aeb5a15a0
ci: reenable OTP-25 package builds targeting amzn2 2022-12-28 12:10:42 +03:00
Zaiming (Stone) Shi 29a0899ed2
Merge pull request #9621 from emqx/release-50
merge release-50 back to master
2022-12-28 10:04:13 +01:00
Ivan Dyachkov b48941e307 ci: send notification to Slack when scheduled bulid failed 2022-12-27 11:44:04 +01:00
Zaiming (Stone) Shi 25e6ccc82f ci: build elixir package on OTP 24 for Amazon Linux 2 for now 2022-12-27 11:24:10 +01:00
Zaiming (Stone) Shi db28de649e ci: fix build matrix 2022-12-27 10:51:08 +01:00
Zaiming (Stone) Shi 7ec7ab785d ci: fix builder for elixir 2022-12-27 09:14:25 +01:00
Ivan Dyachkov 0599bd7cfc ci: use our own setup-beam fork
https://github.com/erlef/setup-beam/issues/167
2022-12-22 09:15:57 +01:00
Andrew Mayorov 2e1cdd039e
ci: include OTP-25 in some workflows
* Use OTP-25 exclusively for Elixir builds
* Include OTP-25 in slim package builds
* Include OTP-25 in test workflow matrices
2022-12-16 13:45:04 +03:00
Ivan Dyachkov 3013b982cc ci: build amzn2 package
also
- upgrade emqx-builder to 5.0.24
- use amzn2 instead of el8 by default
- cross-cover emqx and emqx-enterprise in slim packages
2022-12-13 09:04:45 +01:00
Zaiming (Stone) Shi 1c2fc4b6c3 Merge remote-tracking branch 'origin/release-50' into 1206-chore-merge-ee50-to-release-50 2022-12-06 16:35:56 +01:00
Ivan Dyachkov 5c40b1dffd ci: build macos release packages for apple silicon (arm64) 2022-11-25 13:44:28 +01:00
Zaiming (Stone) Shi c559334e69 ci: fix windows build 2022-11-20 09:13:58 +01:00
Zaiming (Stone) Shi c3777e4920 ci: avoid using 'include' for elixir builds
prior to this change the elixir builds matrix dimensions were 'included'
cusing it to build for enterprise eidtion

use exclude instead.

also removed otp from the artifact upload name, leave only profile,
so there is no need to 'include' with a '-windows' suffix for
windows package uploads
2022-11-20 09:06:54 +01:00
Zaiming (Stone) Shi 03d3d1d65a ci: exclude raspbian all together
the 'exclude' matrix prior to this change had raspbian all
excluded anyway.
2022-11-20 08:50:11 +01:00
Zaiming (Stone) Shi c878c20499 ci: exclude enterprise tag for windows builds 2022-11-20 08:49:05 +01:00
Zaiming (Stone) Shi 5dd343f558 ci: release only the default packages 2022-11-17 21:56:40 +01:00
Zaiming (Stone) Shi d9573a5f43 Merge remote-tracking branch 'origin/master' into release-v50 2022-11-09 18:24:11 +01:00
Zaiming (Stone) Shi 7f2fb0ea57 ci: fix artifacts upload for linux build 2022-11-09 13:02:50 +01:00
Zaiming (Stone) Shi 493b91782d ci: fix upload artifacts path 2022-11-09 11:54:24 +01:00
firest 6ef7123bb9 chore: bump OTP version 2022-11-09 09:53:03 +08:00
Traphalet f920ff341b ci(actions): update git actions to latest versions 2022-10-28 15:53:26 +03:00
Ivan Dyachkov fe80dccf9b build: extract macos packaging into reusable action 2022-09-19 19:25:27 +02:00
Ivan Dyachkov 7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
firest 0f8e80afb8 chore: fix ci workflows error 2022-08-09 11:22:53 +08:00
Thales Macedo Garitezi e45422b220 ci(mac): drop macos 10.15
Github is dropping support for macos 10.15 in its CI at 2022-08-30.
2022-07-21 11:59:03 -03:00
Zaiming (Stone) Shi afbbd33496 ci: fix cron triggered cross-build 2022-07-02 19:49:37 +02:00
Zaiming (Stone) Shi 550441a131 build: release default package names 2022-07-01 07:46:20 +02:00
Zaiming (Stone) Shi ea399e11d5 ci: release elixir build on el8 instead of el7 2022-07-01 07:43:03 +02:00
Zaiming (Stone) Shi bdb370bf4e ci: ensure git safe dir for cross-build prepare stage 2022-07-01 07:43:03 +02:00
Rory Z 270aeb01d8 ci: fix build error 2022-07-01 11:51:50 +08:00
Rory Z ee66e872a3 ci: fix build error 2022-07-01 11:33:22 +08:00
Zhongwen Deng b3ec3c9dfb chore: reformat mix.exs 2022-06-30 21:41:16 +08:00
Zaiming (Stone) Shi d3f8ebd10f ci: fix relup test workflow and upgrade builder to 5.0-17
builder 5.0-17 has emqtt-bench and lux included
so we do not need to rebuild the software for each ci job
2022-06-27 12:06:13 +02:00
Zaiming (Stone) Shi 797964a3f7 ci: add profile as input for build_packages workflow 2022-06-18 00:57:54 +02:00
Zaiming (Stone) Shi 536b056b01 ci: build only one profile at a time 2022-06-18 00:49:06 +02:00
Zaiming (Stone) Shi c1fdfcc2d7 ci: make possilbe to manually build specific profile 2022-06-17 23:32:12 +02:00
Zaiming (Stone) Shi ee5e402bab ci: fix workflow yaml syntax 2022-06-17 22:16:15 +02:00
Zaiming (Stone) Shi 28c6f70aa3 ci: push docker images at git tag event 2022-06-17 20:06:40 +02:00
Zaiming (Stone) Shi 7715feb3e4 ci: ensure macos github runner installs coreutils 2022-06-16 07:53:20 +02:00
Zaiming (Stone) Shi c8170f6a50 ci: disable quicer build cache fro cross-build jobs 2022-06-16 01:00:11 +02:00
Zaiming (Stone) Shi 2d61de777b ci: upload artifacts for all builds (not just tags) 2022-06-15 14:30:05 +02:00
Rory Z d5704c2c48 build(docker): change docker base image to debian, and add new tag for alpine image 2022-06-07 06:15:15 +02:00
Zaiming (Stone) Shi fc4d9e4dcd ci: use emqx-builder 5.0-16
Fixed openssl compatibility issue
2022-06-06 10:54:26 +02:00
Zaiming (Stone) Shi ebe4d7c3fb refactor: stop releasing edge edition
Prior to EMQX 5.0, the edge edition's main difference comaring
to standard edition are:
* Less number of plugins in the release (smaller package size)
* Smaller number is vm.args (for lower memory usage)

Starting from 5.0 most of the plugins are included as features,
the tuned vm.args arguments does not justify a special release edition.

Also as nanomq is getting mature,
EMQ's recommendtation for MQTT broker in edge is https://nanomq.io/
2022-05-26 20:05:46 +02:00
Shawn eea9bd90b4 fix: remove the extra level of 'emqx' dir from .tar.gz 2022-05-25 02:00:01 +08:00
ieQu1 02eaaace20
Merge pull request #7965 from ieQu1/ci-avoid-duplicate-git-conf
ci: Avoid adding duplicate entries to git config
2022-05-16 18:59:29 +02:00
ieQu1 12860bf87b ci: Avoid adding duplicate entries to git config 2022-05-16 12:54:48 +02:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
Shawn 48db7ceb5f fix: set AUTO_INSTALL_BUILD_DEPS for CI 2022-05-07 22:47:20 +08:00
Shawn d80b7c720b chore: check dependenies before building on Mac OSX 2022-05-07 22:16:44 +08:00
Kjell Winblad 74c33cd4e5 feat(rule_engine): add jq function to the rule engine
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].

[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.

[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00
Zaiming (Stone) Shi ad7272b162 ci: get OS from builder image name
cross build is running in container
can not run docker in dokcer
2022-04-28 10:48:02 +02:00
Zaiming (Stone) Shi b49df4599a build: use latest builder images (alpine 3.15.1)
OpenSSL-1.1.1n
2022-03-25 07:38:39 +01:00
Zaiming (Stone) Shi d22769a2de ci: build enterprise for e tags 2022-03-21 15:29:28 +01:00
zhanghongtong 5d3d4cf85c ci: fix login error for aws ecr 2022-03-21 11:35:39 +08:00
zhanghongtong 2f7f021197 ci(cross build): fix push aws ecr error when single arch image 2022-03-15 11:34:03 +08:00
zhanghongtong 20e2c41975 ci(cross build): add more if conditions 2022-03-15 11:29:55 +08:00
zhanghongtong d3f05d35a8 ci(cross build): fix login error for aws ecr 2022-03-14 15:26:20 +08:00
Zaiming (Stone) Shi 49ad66b4bd ci: no need for rocksdb cache anymore 2022-03-11 14:54:00 +01:00
Zhongwen Deng b3a623897d fix: nl_at_eof warning 2022-03-08 15:01:56 +08:00
Rory Z 5f80ac54c2
Merge pull request #7116 from Rory-Z/ci/update-cross-build
ci(cross build): splitting cross builds and upload assets
2022-03-04 09:19:56 +08:00
Zaiming (Stone) Shi e6495f4300 ci: upgrade emqx-builder to 5.0-8:1.13.3-24.2.1-1 2022-03-02 21:57:26 +01:00
Zaiming (Stone) Shi d1cf1cca67 ci: add debian11 2022-03-02 21:56:10 +01:00
Zaiming (Stone) Shi b68cb96bd2 refactor: make pkg-vsn.sh able to report both short and long version 2022-02-26 01:38:10 +01:00
Zaiming (Stone) Shi fa91c7491f build: rockylinux 2022-02-25 09:09:30 +01:00
Thales Macedo Garitezi 8cac5f6b39
chore(ci): update emqx-builder image
Uses Elixir 1.13.3 and OTP 24.2.1-1.
2022-02-23 15:00:07 -03:00
zhanghongtong 5435a0978b ci(cross build): splitting cross builds and upload assets 2022-02-23 16:15:53 +08:00
Zaiming (Stone) Shi a4e48b197c build: create sha256 sum right after package is built 2022-02-22 22:33:33 +01:00
Zaiming (Stone) Shi 6dedf4875a ci(windows): build windows package on otp 24 2022-02-22 22:33:27 +01:00
Zaiming (Stone) Shi ee544c8298
Merge pull request #7028 from Rory-Z/build/add-download-relup
build(relup): add new script for download relup base packages
2022-02-17 06:28:20 +01:00
zhanghongtong 093e7c3282 build(relup): add new script for download relup base packages 2022-02-16 18:23:02 +01:00
zhanghongtong 3875d5c0e2 ci(build_packages): fix the "if" for push aws ecr image 2022-02-08 16:41:16 +08:00
zhanghongtong b6e3f66622 ci(build_packages): tag and push aws ecr image when after push docker image 2022-02-07 17:54:30 +08:00
zhanghongtong 420591d09a ci(build_packages): push muilt arch image for aws ecr 2022-02-07 16:09:09 +08:00
William Yang c9561478ac ci(build-cache): elixir build cache 2022-02-02 12:33:35 +01:00
William Yang a2223836b9
Merge pull request #6908 from qzhuyan/ci/william/remove-centos8-support
ci: remove centos8 support
2022-02-01 16:11:25 +01:00
William Yang 5c36143186 ci: remove centos8 support
due to centos8 EOL
2022-02-01 15:22:41 +01:00
William Yang 978abe1798 ci: fix jobs triggers 2022-02-01 13:04:52 +01:00
William Yang d2a7e549a2 ci(docker): update for the elixir parts 2022-01-31 16:22:43 +01:00
William Yang c00ca8e083 ci(docker): build cache for elixir 2022-01-31 16:14:24 +01:00
William Yang 9a5c5a7776 ci: fix include 2022-01-31 10:33:36 +01:00
William Yang 5206824743 ci: push docker image on my own branch 2022-01-28 19:37:01 +01:00
William Yang 177d42cad4 ci(docker): scripts/docker-create-push-manifests.sh 2022-01-28 19:37:01 +01:00
William Yang 06cf419f02 ci: build arm64 in aws self-hosted 2022-01-28 19:36:59 +01:00
Thales Macedo Garitezi 506dad169a
chore(elixir_otp): bump emqx-builder images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi e157064e24
fix(ci): use correct condition to build docker images 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi a974221ffa
chore(mix): split elixir docker image build into separate step 2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi 9c68f4bd11
fix(tgz): replace zip with tgz after rebase 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi 1240c40364
chore(ci): build only a few zips with elixir, build docker image with
elixir
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi 3ec7d9ae24
chore(ci): use new tagged image with elixir 2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi f66462ca6b
chore(ci): cache rocksdb+quicer for elixir packages 2022-01-26 16:59:49 -03:00