Commit Graph

120 Commits

Author SHA1 Message Date
Andreas Lindhé 354c145897 docs(docker): Fix typos in Docker README
Capitalize:

    * EMQX
    * Linux
    * MQTT
    * TCP
    * Redis

    💡 git show --color-words='\w+'

Fix typos:

* EMQ --> EMQX
* Properly mark variables and filenames as code

    💡 git show --word-diff-regex='.'

Miscellaneous:

    * Rephrase to fix grammar mistakes.
    * Remove redundant blank line

    💡 git show --color-words='\w+'

Fix `markdownlint` warnings:

    * MD012/no-multiple-blanks Multiple consecutive blank lines
    * MD025/single-title/single-h1 Multiple top-level headings in the same document
    * MD034/no-bare-urls Bare URL used
2022-07-15 14:42:13 +02:00
Thales Macedo Garitezi 54181c49e9 fix(elixir): set locale for docker images (docker)
Elixir wants to run under UTF-8 locales.  Since we changed the base
runner image to Debian, we have to set those variables for it to pick
them up.
2022-07-04 11:22:06 -03:00
Zhongwen Deng 92019e4d4c chore: don't copy i18n.conf 2022-07-01 09:33:35 +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 9b572f341b
Merge pull request #8181 from zmstone/0611-fix-docker-port-expose
fix(docker):  no need to expose port 6369 and 6370
2022-06-11 20:27:03 +01:00
Zaiming (Stone) Shi e93576c748 fix(docker): no need to expose port 6369 and 6370 2022-06-11 18:46:40 +02:00
Zaiming (Stone) Shi eaf071c4cf chore: delete unused code 2022-06-11 14:51:11 +02:00
Zaiming (Stone) Shi a9ca4e60fe fix: run emqx in docker with 'emqx' as node name by default
Prior to this commit (also 4.x), the docker entrypoint script
sets default node name to $(hostname), which is typically a hash
like '6ec088117e14' and the erlang distribution port (ekka_epmd)
and gen_rpc port becomes non-deterministic.

After this commit, docker nodes start by default as name `emqx`,
so that the ports are static unless name is specifically set by
user. (4370 for erlang distribution and 5370 for gen_rpc)
2022-06-09 07:23:33 +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
Swilder-M e20c36f426 chore(readme): modify img and docs link 2022-05-19 11:30:48 +08:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +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 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 0a5d1b0f52 chore: delete epmd related ports and settings 2022-03-23 22:16:10 +01:00
Zaiming (Stone) Shi 0f93c23936
Merge pull request #7186 from zmstone/structured-build-info
build: more structured build info
2022-03-02 23:58:08 +01: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 4e64010a3b build: more structured build info 2022-03-02 21:22:03 +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 093e7c3282 build(relup): add new script for download relup base packages 2022-02-16 18:23:02 +01:00
Zaiming (Stone) Shi 2e94880bb6 docs: More EMQ X -> EMQX rename in descriptive strings 2022-02-15 22:39:11 +01:00
Zaiming (Stone) Shi 667d66eb1e docs(README): EMQ X -> EMQX 2022-02-15 16:19:26 +01:00
Shawn 803a4b7020 fix(README): remove extra architectures
Remove `arm32v7`, `i386`, `s390x` from the supported architecture list.

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-02-09 18:46:49 +08:00
Shawn 8207090419 fix: format the code to remove extra spaces 2022-02-09 18:46:49 +08:00
Thales Macedo Garitezi a597e92576
chore(mix): use MIX_ENV to define build profile and edition 2022-01-28 17:24:35 -03:00
Thales Macedo Garitezi bd0d331b64
Merge pull request #6636 from emqx/elixir-packages-mkII
ci(mix): build emqx packages with elixir
2022-01-27 11:10:30 -03:00
Kian-Meng Ang fc92e4c8bf docs: fix typos 2022-01-27 12:29:38 +01:00
Thales Macedo Garitezi 506dad169a
chore(elixir_otp): bump emqx-builder images 2022-01-26 16:59:50 -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 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 bc498a8041
ci(mix): add fvt tests and docker images with elixir 2022-01-26 16:59:48 -03:00
Zaiming (Stone) Shi 68eb13d478 fix: portable shebang 2021-12-27 15:45:12 +01: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
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 f817ba0075 chore(CI): rename image 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 1e8948e091 chore(CI): use ghcr
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-16 14:33:59 +08:00
Shawn 092f29fecd refactor(CI): update the ENVs for new listener,zone configs 2021-08-26 09:11:30 +08:00
zhanghongtong 83630982bc build(docker): delete etc path in volumes on Dockerfile 2021-08-04 09:31:02 +08:00
zhanghongtong b69059d442 build: easier build docker
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-04 09:31:02 +08:00
Zaiming Shi 8d687e50fd chore: delete EMQX_NAME and EMQX_HOST env variables 2021-07-31 12:02:38 +02:00
Shawn c9cf8b66e7 fix(docker): cannot set log_level using os env 2021-07-17 15:25:18 +08:00
Shawn 72d3b2db1b fix(docker): update the env names in scripts 2021-07-17 14:25:07 +08:00
Shawn 0eb3be7f84 fix(docker): update docker entrypoint.sh 2021-07-17 13:46:37 +08:00
Rory Z b93ec0a83a chore(CI): fix github workflows error (#1) 2021-07-02 17:01:16 +08:00
Rory Z 1f7291380b chore: delete internal acl code 2021-06-28 11:44:01 +08:00
zhanghongtong 9da51d4b1c build: delete needless auth plugins 2021-06-28 11:44:01 +08:00
zhanghongtong ce324a190b docs(docker): fix env name error 2021-06-28 11:42:55 +08:00
zhanghongtong d7da6b2379 chore(CI): delete needless link when build packages 2021-06-28 11:42:55 +08:00
Zaiming Shi 70b6e04802 docs(docer/README): update env override prefix var name 2021-06-15 12:35:08 +02:00
z8674558 50f4e0617b fix(docker-entrypoint): do not mv loaded_plugins file, copy it by cat 2021-05-10 20:54:33 +09:00
Zaiming Shi cd53568f36 build: pin otp 23.2.7.2-emqx-2 2021-05-06 21:05:39 +02:00
Zaiming Shi cacb56a25c build: pin erl23.2.7.2-emqx-1 2021-04-27 21:23:40 +02:00
Zaiming Shi 4bc349b596 chore: move docker env var from Dockerfile to entrypoints 2021-04-26 11:08:23 +02:00
Zaiming Shi 6c403061db chore(docker): manual port setting for gen_rpc when start in docker 2021-04-26 15:38:56 +08:00
Zaiming Shi 5c49d5e49d chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-17 22:15:34 +02:00
Zaiming Shi 1ee0432301 chore(build): bump to OTP-23.2.7 2021-03-18 09:04:08 +08:00
zhanghongtong 059d9fcaeb build(dashboard): get dashboard script support enterprise 2021-03-04 19:50:10 +08:00
z8674558 74b7ea34d9 feat(bin): let cuttlefish read env var 2021-02-19 01:09:06 +09:00
Yudai Kiyofuji aadd1ba11a
add shellcheck to ci (#4126)
* chore(shell): disable some shellcheck

* refactor(shell): fix shellcheck

* test(ci): add shellcheck
2021-02-04 16:51:48 +09:00
Zaiming Shi 9140eafd94 chore(docker): Start emqx in foreground mode in docker container 2021-01-29 15:30:32 +08:00
zhanghongtong 3a0f6a68be chore(docker): fix some error 2021-01-28 21:23:41 +08:00
Zaiming Shi 469afbd8bb chore(docker): update to use alpine 3.12
3.12 is our builder image base
2021-01-28 20:32:03 +08:00
Zaiming Shi 5d5617a911 chore(docker): Update port export discriptions 2021-01-28 20:32:03 +08:00
zhanghongtong fc3ebf41fa fix(docker): fix docker entryponit script
remove useless environmental variables

update the key of the environment variable

fix issue #4011
2021-01-27 18:01:50 +08:00
zhanghongtong 068c351936 chore(docker): controls the timeout of the container through environmental variables 2021-01-27 09:54:38 +08:00
Zaiming Shi 197196624e chore(CI): Put OTP 23 on trial 2021-01-25 11:44:00 +01:00
Rory Z c0f03ca132
test(CI): add actions for build emqx packages (#3915) 2020-12-15 13:34:11 +08:00