Thales Macedo Garitezi
99378355ea
ci: bump builder image -> 5.1-3
2023-07-18 09:00:29 -03:00
Ivan Dyachkov
a43bf5e4fa
ci: release Amazon Linux 2023 packages
2023-07-10 16:21:56 +02:00
zhongwencool
85d787f561
Merge pull request #11017 from id/0612-ci-fix-matrix-dimensions-in-build-packages
...
ci: fix matrix dimensions in build_packages
2023-06-12 17:51:36 +08:00
Ivan Dyachkov
7a78df1660
ci: fix matrix dimensions in build_packages
2023-06-12 09:03:30 +02:00
Thales Macedo Garitezi
683b4d2f0f
ci: upgrade setup-beam -> v1.15.4
2023-06-09 10:39:02 -03:00
Zaiming (Stone) Shi
9c1f77d733
ci: upgrade to otp 25.3.2-1 and elixir 1.14.5
2023-06-02 18:01:09 +02:00
Zaiming (Stone) Shi
b5e1bc4cc8
ci: check ping output in windows package start/stop test
2023-05-23 14:10:19 +02:00
Ivan Dyachkov
a264827b78
ci: emqx-builder 5.0-35
2023-05-15 08:14:22 +02:00
Ivan Dyachkov
b3a989970d
ci: move package upload to packagecloud.io to release workflow
...
Fixes #10693
2023-05-14 15:19:46 +02:00
Ivan Dyachkov
b688ec6ef8
ci: ensure git safe dir in build_packages
2023-05-08 14:54:08 +02:00
Zaiming (Stone) Shi
429d193af7
ci: github action boolean in env check 'true' string
2023-05-05 23:58:24 +02:00
Zaiming (Stone) Shi
a7f8e33321
ci: no need to prepare source zip
...
source.zip was need in v4 enterprise because the rebar3 deps
fetch had to be done in the github runner host, but not inside
the runner docker containers.
now that all dependencies are opensource, there is no need for
this step any more.
2023-05-05 22:57:16 +02:00
Zaiming (Stone) Shi
22815d4cec
ci(buildx): use a special builder value to indicate host build
2023-05-05 22:20:34 +02:00
Zaiming (Stone) Shi
e739e3cadb
ci: ensure == compare is not empty on the left
2023-05-05 21:49:15 +02:00
Zaiming (Stone) Shi
1765c429c0
ci: use cd instead of pushd
2023-05-05 21:38:47 +02:00
Zaiming (Stone) Shi
ccb289974a
ci: in 'prepare' step, make clean-all before fetch deps
2023-05-05 21:02:48 +02:00
Ivan Dyachkov
69d1a34461
ci: move scheduled builds to a separate workflow
...
so that we trigger the scheduled builds on both master and release-50
2023-05-04 19:15:27 +02:00
Ivan Dyachkov
3b5ac8321d
ci: bump emqx-builder to 5.0-34 to fix el9 build
2023-04-17 21:02:07 +02:00
Serge Tupchii
761847b74a
ci: update emqx-builders with OTP 24.3.4.2-3 and 25.1.2-3
...
These OTP versions implement mnesia_hook:unregister_hook/1
2023-03-23 11:59:43 +02:00
Ivan Dyachkov
d13d54fb81
ci: emqx-builder 5.0-32
2023-03-15 19:08:51 +01:00
Ivan Dyachkov
7f71ccbf25
ci: use aws-actions/configure-aws-credentials@v2
...
to address EOL of Node.js 12
2023-03-15 14:22:19 +01:00
Ivan Dyachkov
d337814c08
ci: tmp fix for build packages
...
- do not build raspbian9 and raspbian10 packages
- install krb5-devel in el9 (to be fixed in builder)
2023-03-14 19:55:03 +01:00
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