Commit Graph

26 Commits

Author SHA1 Message Date
Ivan Dyachkov 8e384ddb6b chore: enforce chart version matching release version in emqx_release.hrl 2023-08-11 09:15:27 +02:00
Zaiming (Stone) Shi b5b7d92aeb build: if uname -m prints arm64, we use arm64 (instead of just arm) 2022-12-14 23:17:41 +01:00
Zaiming (Stone) Shi 5dd343f558 ci: release only the default packages 2022-11-17 21:56:40 +01:00
Ivan Dyachkov bc71149d79 chore: respect PKG_VSN in pkg-vsn.sh 2022-10-03 20:02:14 +02:00
Thales Macedo Garitezi a6e45be218 chore(mix): add prefix to pre-release version to please elixir version parser
Since upstream refuses to fix this issue:

https://github.com/elixir-lang/elixir/issues/12000

On rare occasions, our pre-release version, which is the prefix
of the git hash, might consist only of digits.  Even more rarely, it
might start with a `0`.  When that happens, Elixir will refuse to
parse that as a valid pre-release version (it wants it to be an
integer without a leading 0).

To prevent that, we will always prepend a "g" to the pre-release
version, ensuring it's never a valid number.
2022-07-22 09:18:33 -03:00
Zaiming (Stone) Shi 14aa134ed0 ci: no need to download upgrade base packages for opensource edition 2022-07-02 12:13:36 +02:00
Zaiming (Stone) Shi 2cfdaf751e chore: explicitly disable base image downloading for windows
we can technically support relup for windows
but currently there is no such requirement made from any
users, not opensource users, not commercial users either.
2022-07-02 11:44:19 +02:00
Zaiming (Stone) Shi 550441a131 build: release default package names 2022-07-01 07:46:20 +02:00
Zaiming (Stone) Shi 34df802f5e build: make PKG_VSN pre-set for upgrade base download 2022-06-17 20:13:29 +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
ieQu1 12860bf87b ci: Avoid adding duplicate entries to git config 2022-05-16 12:54:48 +02: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 bec0504f3a chore: fix pkg-vsn.sh, delete git tag prefix in the right way 2022-03-21 14:31:24 +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 391e480824 build: parameterise package version
so that community and enterprise edition can be built from the
same branch
2022-01-26 14:25:59 +01:00
Thales Macedo Garitezi b9494662ae
fix(ci): fix shellcheck file pattern
Since we started to use the portable shebang style for our scripts, we
need to update the pattern used to find scripts for Shellcheck to
check.
2022-01-05 11:34:04 -03:00
Zaiming Shi 6edd862dd5 refactor: no more EMQX_ENTERPRISE compile flag
The compile flag was introduced in EQM X 4.3 series
where CE and EE code was diverged large enough which made
non-practicle to determin edition at runtime.

such approach made testing quite challenging as we'll have to
build with different compile flags inorder to run per-edition
test cases

In this commit, we try to retrieve edition info from EMQX's
description text, (put to PT for fast access) at runtime
so we can test ALL editions from a super-set edition (EE).
2021-11-20 20:41:06 +01:00
Zaiming Shi 2c130abfea build: ensure git tag matches release version 2021-11-16 13:12:03 +01:00
Zaiming Shi 1715b87dce chore: move root level src, test, include, priv and etc to apps/emqx 2021-06-07 09:09:28 +02:00
Zaiming Shi 387d7f5913 chore(pkg-vsn.sh): add some comments 2021-05-30 10:27:54 +02:00
zhanghongtong 7e3b7bb0fe chore(CI): fix pkg-vsn error 2021-03-24 00:18:43 +08:00
Zaiming Shi 00a2daba19 chore(build): add more enterprise build support 2021-03-06 10:56:07 +01:00
Zaiming Shi 9b3ab169ce chore(versioning): detach package version from emqx app version 2021-03-04 20:24:58 +01:00
zhanghongtong f0d42bc6f5 build(CI): fix build error on windows in github actions 2021-03-03 19:48:34 +08:00
zhanghongtong d78b2b23c1 chore(build): update pkg version 2021-01-29 19:29:41 +08:00
Zaiming Shi 1236c1934c chore(build): refine packages builds
This commit merge packages.mk into Makefile
with the complex part moved to shell script ./build.
2020-12-16 09:22:47 +01:00