Commit Graph

78 Commits

Author SHA1 Message Date
Ivan Dyachkov bdb4798d62 ci: simplify build_and_push_docker_images workflow 2023-01-12 09:03:55 +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 f16513794c docs: update docker readme 2022-12-09 15:39:48 +01:00
Ivan Dyachkov 6ced692ce6 docs: fix minor issues in docker readme 2022-11-29 20:29:53 +01:00
Zaiming (Stone) Shi abb941d161 docs: remove port 8081
port 8081 is the management API in 4.x
in 5.0 api port is 18083 (same as for serving the dashboard)
2022-10-05 17:15:19 +02:00
Ivan Dyachkov 0c782963c7 chore: don't keep tar.gz in the docker image 2022-09-29 15:38:28 +02:00
Shawn cd0114b3dc fix: ensure PROFILE=emqx when running make emqx-elixir 2022-08-14 17:57:11 +08:00
Rory Z 7b270db8d9 chore: update docker entry point, support dns cluster in k8s 2022-07-22 10:18:30 +08:00
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