Rory Z
b3355ff035
chore(helm): rename emqx-ee helm chart to emqx-enterprise
2022-09-13 17:43:00 +08:00
Rory Z
cbe2173547
chore(helm): add image.tag for helm chart
2022-09-13 15:31:14 +08:00
Rory Z
874414793f
chore: add emqx enterprise helm chart
2022-09-13 14:06:39 +08:00
Zaiming (Stone) Shi
befc4acced
Merge remote-tracking branch 'origin/master' into merge-master-to-ee50-a
2022-09-06 20:31:38 +02:00
zhouzb
dceb93dc2a
chore: bump helm chart version to 5.0.7
2022-08-30 09:33:52 +08:00
Shawn
b3162fe5ff
fix: conflicts between master and ee5.0
2022-08-14 22:24:09 +08:00
Shawn
cd0114b3dc
fix: ensure PROFILE=emqx when running make emqx-elixir
2022-08-14 17:57:11 +08:00
JimMoen
2843d33f7a
chore: refine md form format
2022-08-11 16:59:18 +08:00
firest
966b508c6f
chore: fix status test error
2022-08-09 11:22:53 +08:00
lukas
c56f84b997
feat(helm): add ssl support for helm chart
2022-07-31 17:32:19 +02: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
Zaiming (Stone) Shi
7dc06d3533
fix(plugins): ensure plugins dir is created for deb and rpm
2022-07-01 12:46:27 +02: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
a2a4c813e7
Merge pull request #8246 from Rory-Z/feat/helm-support-dns-cluster
...
feat(helm): support dns cluster
2022-06-16 14:10:06 +01:00
Rory Z
780bda2803
feat(helm): support dns cluster
2022-06-16 18:48:27 +08:00
Rory Z
addbba3b52
Merge pull request #8237 from Rory-Z/master
...
chore(helm): add pod annotation
2022-06-16 17:56:00 +08:00
Rory Z
2c8f35081b
chore(helm): add pod annotation
2022-06-16 14:08:54 +08:00
Zaiming (Stone) Shi
05782c4e4e
refactor: delete k8s.app_name config
2022-06-16 00:11:41 +02:00
Rory Z
ad37198580
chore(helm): delete preStop command
2022-06-15 10:37:48 +08: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
174ea5291a
Merge pull request #8147 from Rory-Z/master
...
fix: fix helm install failed when enable ingress
2022-06-09 13:54:51 +01: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
c360486d87
fix: fix helm install failed when enable ingress
2022-06-07 14:49:17 +08: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
JianBo He
4567552fe8
Merge pull request #7715 from Rory-Z/feat/helm-ingress-pathType
...
feat(helm): the pathType of ingress can be made configurable via values
2022-06-01 15:46:43 +08:00
Zaiming (Stone) Shi
bb79b0b5b7
Merge pull request #7211 from Rory-Z/fix/helm-upgrade-error
...
fix(helm): delete needless labels for helm upgrade
2022-06-01 05:48:20 +01:00
Rory Z
9821596ca8
feat(helm): the pathType of ingress can be made configurable via values
2022-06-01 09:53:43 +08:00
zhanghongtong
54b0454444
build(helm): add preStop command for container
...
update probe for container
2022-06-01 09:52:55 +08:00
zhanghongtong
e2f63cdfce
fix(helm): delete needless labels for helm upgrade
2022-06-01 09:51:35 +08: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
JianBo He
b5132e6afb
chore: remove tailing space
2022-05-16 09:40:35 +08:00
wuxingzhong
b120b0d521
fix: use storageClassName instead of annotation
2022-05-16 09:40:07 +08:00
Zhongwen Deng
ec625363cf
fix: emqx can't start with systemctl
2022-05-15 17:13:56 +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
865331c084
fix(bin/emqx): ensure abs path /bin/bash to start emqx in systemd
2022-04-29 10:08:28 +02:00
Zaiming (Stone) Shi
842c661cef
Merge pull request #7643 from Rory-Z/master
...
feat(helm): add service monitor for prometheus
2022-04-22 06:08:24 +01:00
Zaiming (Stone) Shi
e7033558f3
fix(emqx.spec): bad dependency list for el7 and el8
2022-04-19 22:25:59 +02:00
Zaiming (Stone) Shi
5d10071319
chore(rpm/deb): delete init.d stuff
2022-04-19 22:25:59 +02:00
Rory Z
8cbb0041d4
docs(helm): add metrics part for README
2022-04-18 11:36:48 +08:00
Rory Z
5f5b3618e2
chore(helm): update api path to v5
2022-04-18 11:28:04 +08:00
Gabriele Montano
4df2b74cb8
fix: fix networking api version, add service monitor for prometheus
2022-04-18 10:23:09 +08: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
a216f1bf18
chore: emqx.service shard for deb and rpm
2022-03-11 13:34:54 +01:00
Zaiming (Stone) Shi
122e75c0b4
feat(systemd): start EMQX under systemd in foreground mode
2022-03-11 13:34:54 +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
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
2d3859a79a
build: get full version from pkg-full-vsn.sh
...
this is due to the mapping of :
centos7 -> el7
and rockylinux8 -> el8
with this fix, there is no need to repeat such mapping
in many differennt places
2022-02-25 11:33:01 +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
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
0152adfceb
chore(helm): fix spell errors
2022-02-17 09:49:39 +08: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
Thales Macedo Garitezi
6dd11665bb
ci(mix): build emqx packages with elixir
2022-01-26 16:59:48 -03:00
Zaiming (Stone) Shi
d9946ffa5b
chore: Update EMQ X description in RPM and DEB packages
2022-01-13 18:54:01 +01:00
Zaiming (Stone) Shi
68eb13d478
fix: portable shebang
2021-12-27 15:45:12 +01:00
Spycsh
c1491b8cce
Merge pull request #6369 from Spycsh/master
...
fix: fix apiVersion for networking.k8s.io/v1
2021-12-10 12:23:31 +01:00
Spycsh
a40c50f2e8
fix: fix apiVersion for networking.k8s.io/v1
2021-12-09 21:24:40 +01:00
William Yang
afd07591bd
build(deb): fix postrm for checking systemd
2021-12-07 13:27:46 +01:00
William Yang
75eafcd630
build(deb): deb pkg enable/disable emqx system
2021-12-07 10:57:38 +01:00
William Yang
0c0d55115b
build(deb): remove System V init
2021-12-02 22:05:32 +01:00
William Yang
bf72b9f297
build: rpm and deb use the same systemd service file
2021-12-02 22:05:32 +01:00
William Yang
0f796c886a
build(deb): drop systemV init
2021-12-02 22:05:32 +01:00
William Yang
99858adb9c
fix(systemd-start): /usr/bin/emqx is bash not sh
2021-12-02 22:05:32 +01:00
William Yang
5428278802
fix(systemd): add restart on failure
2021-12-02 22:05:32 +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
Zaiming Shi
56e2a9741f
style: ensure newline at EOF for all files
2021-11-04 14:40:14 +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
Paulus Lucas
a99e54a6a2
feat(helm): add envFromSecret ( #5778 )
...
* (feature): Adding EnvFrom a specified file
* (update): Update values.yaml with envFrom
* (doc) : update readme with envFromSecret
2021-09-23 11:11:45 +08:00
zhanghongtong
1e8948e091
chore(CI): use ghcr
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-16 14:33:59 +08:00
Alexander Babel
ef0bdf641a
feat(helm): add support for networking.k8s.io/v1
2021-09-13 09:35:23 +08:00
William Yang
0dd09b06f1
build: dep openssl11 is limited to amd64 centos7
2021-09-07 09:49:09 +08:00
William Yang
cdc3ae9faf
Merge pull request #5636 from qzhuyan/fix/william/issue-5254-headless-svc-make-dist-port-ready
...
fix(helm-chart): force headless svc ready while pod is not ready
2021-09-03 13:18:27 +02:00
William Yang
cd43bb42a7
fix(helm-chart): force headless svc ready while pod is not ready
...
fixs: #5254
The dist port behind headless svc should to be accessible during emqx
cluster boot.
Endpoints of headless SVC is not in 'ready' state that prevents nodes to talk to
each other, this issue only happens when K8s host node is restarted and
all emqx nodes are deployed on the same host.
2021-09-02 18:46:58 +02:00
William Yang
7a98289d4a
chore: centos7 add openssl11 dep in rpm spec
2021-09-01 13:35:56 +02:00
William Yang
3fd2447f10
fix(helm-chart): make podManagementPolicy configurable
2021-08-27 09:07:56 +02:00
William Yang
ab9d6b9b7a
fix(helm-chart): start/stop pods in parallel
2021-08-27 09:07:56 +02:00
DDDHuang
86231f795d
refactor: close managment http 8081 ( #5564 )
2021-08-27 13:46:39 +08:00
Shawn
092f29fecd
refactor(CI): update the ENVs for new listener,zone configs
2021-08-26 09:11:30 +08:00
Parham Alvani
d3722ea1aa
feat: Add Chart Icon
2021-08-18 09:31:39 +08:00
Mohammad Yosefpor
4bd2240c1a
fix: apply suggestions
2021-08-13 15:48:41 +08:00
Mohammad Yosefpor
391bcdcf7f
fix: running on Openshift cluster
2021-08-13 15:48:41 +08:00
Parham Alvani
4f72d2d0c5
fix: Correct Issues
2021-08-12 15:28:03 +08:00
Parham Alvani
43f0ef40e4
feat: Expose Internal MQTT Service
2021-08-12 15:28:03 +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
zhanghongtong
b2b8386685
build(helm): delete loaded_plugins loaded_modules and acl
2021-07-16 23:17:51 +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
ᗪєνιη ᗷυнʟ
bcf2256dac
feat(helm): add externalIPs to chart ( #5201 )
...
* fix(helm): add externalIPs to chart
* Update values.yaml
* Update service.yaml
* Update README.md
* Update Chart.yaml
* do not update helm version
2021-07-10 10:33:36 +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
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
Nicklas Frahm
6b8910e26c
feat(helm): Add flag to force pod recreation as part of helm upgrade ( #4898 )
...
* feat(helm): Add flag to force pod recreation as part of helm upgrade
* feat(helm): Recreate pods when configuration changes
* fix(helm): Remove warnings by using v1 of RBAC API for clusters >= 1.17
* chore(CI): Increment version number
* fix(CI): Bump version
* chore(CI): Undo version bump
2021-06-01 19:27:49 +08: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
zhanghongtong
b9c913d18f
chore(CI): fix windows build error
2021-03-23 20:32:23 +08:00
zhanghongtong
622edcd536
chore(CI): rename arch package name
2021-03-23 19:49:54 +08:00
zhanghongtong
fc0dea75e4
feat(helm): allow custom securityContext
2021-03-19 15:17:17 +08:00
Rory Z
862e484944
chore(CI): build workflow support enterprise repo ( #4363 )
2021-03-18 16:30:48 +08:00
Zaiming Shi
1ee0432301
chore(build): bump to OTP-23.2.7
2021-03-18 09:04:08 +08:00
deen13
cac0ee7f84
fix(helm): Move pullSecrets up to pod level
...
Previously the pullSecrets was defined on container level which is not supported by kubernetes.
2021-03-17 21:55:35 +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
Zaiming Shi
99c9374a9c
chore(ci): delete usage of EMQX_DEPS_DEFAULT_VSN
...
EMQX_DEPS_DEFAULT_VSN is the old package version number
used in emqx-rel project.
We no longer use it in emqx.git umbrella project
2021-02-12 14:50:01 +01: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
Zaiming Shi
d13a33463f
chore(bin/emqx): set program name
2021-01-29 09:42:35 +08:00
Zaiming Shi
cf23d9efe9
chore(bin/emqx): Do not rely on beam.smp program name
2021-01-29 09:42:35 +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
zhanghongtong
17ee5b0af5
build(helm): add loaded-plugins and loaded-modules to helm configmap
...
turn off telemetry in CI
2021-01-23 12:21:16 +08:00
Jorge Luna
2e4ffa1f4c
feat(helm_chart): TLS support for dashboard ( #3935 )
...
* Add TLS support to dashboard
2020-12-28 15:10:42 +08:00
Rory Z
c0f03ca132
test(CI): add actions for build emqx packages ( #3915 )
2020-12-15 13:34:11 +08:00