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
Thales Macedo Garitezi
fca0d2bfd8
fix(ci): split elixir package building into own step
...
Since the job step may run out of execution time, by separating the
Elixir build from the traditional one may prevent timeouts.
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
a91880780a
chore(elixir): change image/package versioning convention
...
We now go from "most specific" to "most general" versions: Elixir ->
OTP -> OS.
2022-01-26 16:59:48 -03:00
Thales Macedo Garitezi
6dd11665bb
ci(mix): build emqx packages with elixir
2022-01-26 16:59:48 -03:00
Zaiming (Stone) Shi
d44c6eedfd
ci: find relup base version using a script
2022-01-26 18:29:55 +01:00
Zaiming (Stone) Shi
b44b090d9e
ci: get package version per profile
2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
5d6136fddb
ci: test both ce and ee upgrade
2022-01-26 14:25:59 +01:00
William Yang
bf376afb5a
ci: speedup all test jobs with build cache
2022-01-14 10:07:46 +01:00
Zaiming (Stone) Shi
38c0b7766c
ci: fix emqx build profile to s3 dir mapping
2022-01-13 22:39:40 +01:00
Zaiming (Stone) Shi
ecd7ea0a2f
ci: change to build and test with .tar.gz instead of .zip packages
2022-01-13 18:54:01 +01:00
William Yang
fa59141d6d
Merge pull request #6741 from qzhuyan/ci/william/mac-cache-otp-install
...
ci(mac): cache otp install only
2022-01-13 14:55:08 +01:00
William Yang
30d119d3a9
ci(mac): cache otp install only
...
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-13 11:41:45 +01:00
William Yang
1306946eb1
ci(cross-build-package): revert build cache for docker img
...
- The docker img use os: alpine, it is unliked to hit a cache.
- The build cache method casue the tag get overwritten among multi
arch builds
2022-01-13 11:26:34 +01:00
William Yang
56859a7fb0
Merge pull request #6716 from qzhuyan/ci/william/build-cache-for-cross-build-packages
...
build cache for cross build packages
2022-01-12 15:22:05 +01:00
William Yang
e388ad1b21
ci(build-cache): add scripts/get-dep-refs.sh
2022-01-12 11:58:50 +01:00
William Yang
5312aa4a93
ci(cross-build-package): docker build with cache
2022-01-11 17:05:45 +01:00
William Yang
7520620a08
ci(cross_build_packages): use cache
2022-01-11 11:42:19 +01:00
Zaiming (Stone) Shi
8a92b9dafa
docs: update Windows build instructions
2022-01-10 12:15:23 +01:00
Zaiming (Stone) Shi
77652b9858
ci: refactor package build & test jobs
2022-01-04 17:28:53 +01:00
tigercl
aceb4f1930
Merge pull request #6273 from Rory-Z/ci/add-push-ecr-for-5.0
...
ci: add new steps for push ecr image when release
2021-12-20 10:27:53 +08:00
zhouzb
caf1784a90
build: update otp version
2021-12-02 15:25:11 +08:00
Zaiming Shi
e2d7ff2b0f
build: rename emqx-ee to emqx-enterprise
2021-11-29 14:53:47 +01:00
zhanghongtong
6a9bbc726e
ci: add new steps for push ecr image when release
2021-11-23 17:55:56 +08:00
Zaiming Shi
188f1b52c7
ci: rename action matrix dimention name opt_vsn to opt
2021-11-22 08:23:40 +01:00
Zaiming Shi
80aab3ae3f
ci: parameterise cross-package build job with branch name
2021-11-22 00:10:44 +01:00
Zaiming Shi
a705bc1fc7
build: change package name scheme
...
`${PROFILE}-${PKG_VSN}-otp${OTP_VSN}-${SYSTEM}-${ARCH}.zip`
2021-11-20 20:44:48 +01:00
zhanghongtong
4fb303e4aa
ci: change emqx-ci-helper version for build workflows
2021-10-28 09:22:53 +08:00
zhanghongtong
f817ba0075
chore(CI): rename image
2021-10-22 13:40:01 +08:00
zhanghongtong
7732796331
chore(CI): change otp version for docker compose file
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-22 13:40:01 +08:00
zhanghongtong
46a794e38b
chore(CI): use concurrency to cancel in-progress workflows
2021-10-22 13:40:01 +08:00
zhanghongtong
4d27d371eb
chore(CI): change otp version for workflows
2021-10-22 13:40:01 +08:00
zhanghongtong
d334b27e56
chore(CI): better build docker image
2021-10-20 18:24:08 +08:00
zhanghongtong
bd00c7d3c7
chore(CI): do not update latest tag for docker hub when pre-release
2021-10-11 09:29:51 +08:00
zhanghongtong
48599324de
chore(CI): fix push docker error for build packages workflows'
2021-09-29 20:43:05 +08:00
zhanghongtong
f091858a27
chore(CI): add macos 11 for build workflows
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-26 12:33:59 +08:00
zhanghongtong
1e8948e091
chore(CI): use ghcr
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-16 14:33:59 +08:00
DDDHuang
86231f795d
refactor: close managment http 8081 ( #5564 )
2021-08-27 13:46:39 +08:00
zhanghongtong
a2bafd1a18
feat(authz): support authorization config file part 2
2021-08-25 10:15:00 +08:00
zhanghongtong
c90fc9578e
chore(CI): using docker official actions for build packages workflow
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-13 15:28:00 +08:00
zhanghongtong
d1faf93bbf
chore(CI): rename artifact for build packages workflows
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-13 10:30:42 +08:00
Zaiming Shi
bf94051d56
chore: update otp version in CI
2021-08-10 15:56:22 +02:00
x1001100011
0fe3083cd7
build: add erlang 24.0.1 for ci
2021-08-09 11:12:25 +02:00
zhanghongtong
cf20fc6db7
chore(CI): easier build packages
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 22:20:54 +08:00
zhanghongtong
b69059d442
build: easier build docker
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 09:31:02 +08:00
DDDHuang
d04e1c6f54
refactor: clients api; status api; adapter minirest v1
...
The serious influence:
authn:
api
authz:
api; api test suit
dashboard:
all closed
lwm2m:
api;
modules:
api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
api
retainer:
api; api test suit
rule_engine:
api: api test suit
telemetry:
api
2021-07-12 10:05:51 +08:00
DDDHuang
c11a8c6db6
refactor: clients api; status api; adapter minirest v1
...
The serious influence:
authn:
api
authz:
api; api test suit
dashboard:
all closed
lwm2m:
api;
modules:
api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
api
retainer:
api; api test suit
rule_engine:
api: api test suit
telemetry:
api
2021-07-09 18:09:07 +08:00
William Yang
939f3855d5
ci(build-packages): docker fail fast: false
2021-07-07 13:41:47 +02:00
William Yang
9d760ff5bd
ci(build-packages): rm rebar.lock in prepare phase
2021-07-07 13:41:47 +02:00
William Yang
606e48560c
ci: build-package set fail-fast to false
...
To get better overall vision
2021-07-06 10:18:14 +02:00
zhanghongtong
b2801299cb
chore(CI): cancel build of 32-bit docker
2021-07-06 09:25:56 +08:00
zhanghongtong
2f5ab6a974
chore(CI): fix macos build error
2021-07-05 13:28:56 +08:00
Turtle
918a26e921
feat(conf): merge all conf to emqx.conf
2021-07-02 17:01:16 +08:00
zhanghongtong
d7da6b2379
chore(CI): delete needless link when build packages
2021-06-28 11:42:55 +08:00
zhanghongtong
1ecd0a54b9
chore(CI): add DIAGNOSTIC=1 when build windows
2021-06-28 11:42:55 +08:00
zhanghongtong
3604593b86
chore(CI): use emqx otp in mac by kerl build
2021-06-10 14:28:57 +08:00
Zaiming Shi
e01222ef21
build: build macos package on correct OTP release
2021-06-05 19:53:56 +02:00
zhanghongtong
8f936e3839
chore(CI): remove raspbian9 in build packages workflows
2021-06-05 23:28:28 +08:00
zhanghongtong
7d0324fb1b
chore(CI): fix download packages error in build packages
2021-06-05 18:57:00 +08:00
zhanghongtong
d5059a2a37
chore(CI): fix download packages error in build packages
2021-06-05 17:49:27 +08:00
tigercl
12bab3716b
Merge pull request #4936 from Rory-Z/chore/change-trigger
...
chore(CI): update events that trigger workflows
2021-06-05 14:54:41 +08:00
zhanghongtong
d825535d04
chore(CI): update events that trigger workflows
2021-06-05 14:09:12 +08:00
zhanghongtong
2052521715
chore(CI): fix relup error in enterprise
2021-06-05 01:44:53 +08:00
zhanghongtong
2711dc6219
chore(CI): fix appup workflows
2021-06-05 00:59:23 +08:00
zhanghongtong
6c4f297192
chore(CI): update build packages workflows for appup
2021-06-04 21:32:00 +08:00
zhanghongtong
a7d3dced5e
chore(ci): ensure rebar3 in actions
2021-05-27 21:50:03 +08:00
Zaiming Shi
0424200978
build: ensure rebar3 in PATH for build_packages action
2021-05-27 12:42:21 +02:00
zhanghongtong
9c244679dc
chore(CI): relup test support any commit
2021-05-13 19:05:34 +08:00
zhanghongtong
29bbc0802b
chore(CI): use cache for mac
2021-05-09 10:58:00 +08:00
zhanghongtong
934d3c405d
chore(CI): update build workflows
2021-05-08 13:57:02 +08:00
Zaiming Shi
05324dfd7c
build(ci): download old versions
2021-05-07 21:25:10 +02:00
Zaiming Shi
cd53568f36
build: pin otp 23.2.7.2-emqx-2
2021-05-06 21:05:39 +02:00
zhanghongtong
e44bd431b9
chore(CI): when uplpad release asset, distinguish between enterprise and opensource repos
2021-05-05 15:18:34 +08:00
Zaiming Shi
cacb56a25c
build: pin erl23.2.7.2-emqx-1
2021-04-27 21:23:40 +02:00
zhanghongtong
5154a00252
chore(CI): fix packages version error for windows
2021-04-24 15:10:34 +02:00
Zaiming Shi
5c49d5e49d
chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1
2021-04-17 22:15:34 +02:00
zhanghongtong
35a69403f7
chore(CI): fix download errror for build workflows
2021-03-29 11:03:42 +08:00
zhanghongtong
b9c913d18f
chore(CI): fix windows build error
2021-03-23 20:32:23 +08:00
Zaiming Shi
b6894ae4c2
chore(build): remove debug flag
2021-03-22 08:15:15 +01:00
Zaiming Shi
aa802d129c
chore(ci): Delete bcrypt in windows
...
The dependency is downloaded in ubuntu, but copied to windows
so we need a explicit deletion
2021-03-22 08:15:15 +01:00