JianBo He
f0be91b7fd
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-03-03 11:13:45 +08:00
William Yang
0c2ba9fe50
fix(helm): fix configmap.env template
...
fix : #7070
2022-02-26 21:30:32 +01:00
Zaiming (Stone) Shi
c157a16907
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-02-26 01:05:06 +01:00
Zaiming (Stone) Shi
b4836a01fd
fix(docker): allow config changes in docker rebuild
2022-02-22 12:42:13 +01:00
JianBo He
521bdd20b4
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-02-22 11:43:46 +08:00
Zaiming (Stone) Shi
3a5a2047e9
build: fix windows build
2022-02-21 00:53:56 +01:00
Rory Z
149fe7bcdf
Merge pull request #7010 from Rory-Z/build/add-new-script
...
build(relup): add new script for download relup base packages
2022-02-16 15:57:25 +08:00
Zaiming (Stone) Shi
d2840a8aa1
docs: change EMQ X to EMQX in more descriptive info
2022-02-15 22:18:25 +01:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
zhanghongtong
091398d863
build(relup): add new script for download relup base packages
2022-02-15 17:57:31 +08:00
Zaiming (Stone) Shi
fd75756d5c
ci: update to emqx-builder 4.4-5 (rockylinux)
2022-02-09 22:49:08 +01:00
zhanghongtong
cc56ad272f
fix(helm): remove the default environment variables from the template
2022-02-08 14:06:39 +08:00
zhanghongtong
352635f227
fix(helm): fix deploy error
2022-02-08 10:40:16 +08:00
zhongwencool
617402ed09
Merge branch 'main-v4.4' into sync-v4.3-to-v4.4
2022-02-08 09:59:21 +08:00
Fernando Almeida
b91dc1c13d
fix(helm-chart): revised software name to match conventioned name
...
fix(helm-chart): added missing new-line from resource templates
2022-01-26 09:01:25 +00:00
Fernando Almeida
73c452c64d
fix(helm-chart): replace envFromSecret with more broad extraEnvFrom
...
fix(helm-chart): refactored Stateful set for readability.
fix(helm-chart): added missing extra* variables to StatefulSet and README.
fix(helm-chart): added sensible defaults for extra* settings.
2022-01-25 23:43:35 +00:00
Fernando Almeida
86887e8559
fix(helm-chart): fix indentation bug in env configmap
2022-01-25 23:43:35 +00:00
Fernando Almeida
36b5982630
feat(helm-chart): fix value in WSS example
2022-01-25 23:43:35 +00:00
Fernando Almeida
43624d6407
feat(helm-chart): revised emqx env ConfigMap to allow specifying settings also using the namespaced dot notation
...
feat(helm-chart): updated README to include description of previous change and fix value in WSS example
2022-01-25 23:43:35 +00:00
Fernando Almeida
a24e765351
feat(helm-chart): added support for shared ingress annotations
...
feat(helm-chart): revised README to include image.tag setting
2022-01-25 23:43:35 +00:00
Fernando Almeida
6bb2fa666d
feat(helm-chart): added explicit example for enable Websocket SSL.
2022-01-25 23:43:35 +00:00
Fernando Almeida
6a5dc485e2
feat(helm-chart): split configs into multiple files for readability
...
feat(helm-chart): added conditional volumes in StatefulSet
feat(helm-chart): revised checksum logic to include all config
2022-01-25 23:43:35 +00:00
Fernando Almeida
ec902871cf
feat(helm-chart): split ingress into separate files for readability
...
feat(helm-chart): fix ingress to allow custom user path as need (eg. mgmt)
feat(helm-chart): revised README to include missing contents
2022-01-25 23:43:35 +00:00
JianBo He
b297388c20
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-11 10:03:28 +08:00
Rory Z
ba7b93083e
Merge pull request #6614 from Rory-Z/chore/fix-spelling-errors
...
chore(helm): fix spell errors
2022-01-04 17:59:04 +08:00
zhanghongtong
93abd69db1
chore(helm): fix spell errors
2022-01-04 16:19:20 +08:00
zhanghongtong
90a2ebfb02
build(docker): update docker build
2022-01-04 11:16:35 +08:00
zhanghongtong
9662eebae8
chore(helm): fix spell errors
2022-01-04 10:08:02 +08:00
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01:00
zhanghongtong
baf8d7d91c
ci: bump otp version to 24.1.5-3
2021-12-14 10:45:08 +08:00
JimMoen
d76159d543
Merge remote-tracking branch 'emqx/main-v4.3' into sync-from-v4.3
2021-12-13 18:46:23 +08:00
tigercl
f1c707e4de
Merge pull request #6368 from Spycsh/main-v4.3
...
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-10 18:07:11 +08:00
Spycsh
5c497975a6
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-09 21:41:55 +01:00
William Yang
f72002949b
Merge pull request #6403 from qzhuyan/backport/william/4.3/systemd-restart-on-failure
...
Backport/william/4.3/systemd restart on failure
2021-12-09 08:38:39 +01:00
William Yang
bcbb0822cf
build(deb): fix postrm for checking systemd
2021-12-07 13:30:08 +01:00
William Yang
517aa39542
build(deb): deb pkg enable/disable emqx system
2021-12-07 12:48:51 +01:00
William Yang
be8284666a
build(deb): remove System V init
2021-12-07 12:43:07 +01:00
William Yang
16e39ffee7
build: rpm and deb use the same systemd service file
2021-12-07 12:42:59 +01:00
William Yang
79f1b8651a
build(deb): drop systemV init
2021-12-07 12:42:49 +01:00
William Yang
51f1a48983
fix(systemd-start): /usr/bin/emqx is bash not sh
2021-12-07 12:42:44 +01:00
William Yang
eba8c08853
fix(systemd): add restart on failure
2021-12-07 12:42:32 +01:00
zhanghongtong
e7c765aaa3
chore(helm): support cluster discovery by dns
2021-12-07 16:23:19 +08:00
Zaiming Shi
c4b0008ebd
build: delete arch suffix from alpine build-env image tag
2021-11-23 17:06:46 +01:00
Zaiming (Stone) Shi
2514f474b0
Sync v4.3 to v4.4 ( #6262 )
...
* fix(http): fix duplicate http headers
* chore(appup): add appup.src
* fix(appup): fix multiply defined module in appup
* chore(appup): fix wrong version
* chore(ekka): Bump version to 0.8.1.5
* fix(update_appup): Fix warnings, add support for external repos
* build: use find command's -delete option
* ci: do not sync master branch
* build: ensure openssl11
* build: copy only libcrypto and libtinfo
* fix(trace): handler_id now always return atom
Co-authored-by: zhouzb <zhouzb@emqx.io>
Co-authored-by: k32 <10274441+k32@users.noreply.github.com>
2021-11-23 09:33:20 +08:00
Zaiming Shi
1cb6cdbd76
build: upgrade to otp sed 23.2.7.2-emqx-3
...
There was a typo fix in ssl app for ecdsa_secp512r1_sha512
to ecdsa_secp521r1_sha512.
Hot-beam upgrade is supported when upgrading from OTP 23.2.7.2-emqx-2
just a 'ssl_cipher' module reload.
2021-11-20 23:28:12 +01:00
Zaiming Shi
0b3037a571
build: ensure openssl11
2021-11-19 12:39:59 +01:00
Zaiming (Stone) Shi
f30e21b4d6
Merge pull request #6188 from zmstone/feat-add-flexible-docker-build
...
feat(docker): add flexible docker build
2021-11-17 09:24:14 +01:00
Zaiming Shi
35164951e2
feat(docker): add flexible docker build
...
The defulat docker build (e.g. make emqx-docker) is based on alpine
image and it builds EMQ X from source code.
This is not flexible enough when we want to quickly run some tests
in a docker container.
The new docker build (e.g. make emqx-docker-testing) by default takes
the built zip package, and extract it in a very primitive base image
such as ubuntu:20.04 and centos:8
2021-11-17 08:31:35 +01:00
Zaiming Shi
a070708e8d
build: Move otp version number to RPM's release part
2021-11-16 19:14:15 +01:00
zhanghongtong
2251159c4f
build: pin otp version to 23.3.4.9-3 and builder version to 4.4-2
2021-11-16 17:56:33 +08:00
Zaiming Shi
3f1fc64a98
build: fix source rpm package name
2021-11-16 01:10:52 +01:00
Zaiming Shi
c97c6aefc9
build: rename zip package and rpm deb packages
2021-11-16 00:59:28 +01:00
Zaiming Shi
a6032d5435
build: update default otp versions
2021-11-15 23:04:31 +01:00
zhanghongtong
cace53a02b
build: update docker build
2021-11-15 14:33:23 +08:00
zhanghongtong
454f609aa6
build: emqx package name scheme include otp version
2021-11-15 10:45:27 +08:00
zhongwencool
835ad52498
feat(trace): http api for trace ( #6052 )
...
* feat(trace): add http trace API
* feat: sub/unsub trace topic
* chore(trace): stream log use _page and _limit
* fix: elvis warning
* fix: mod_trace test failed
* fix: http api meta rename _page/_limit to _page/_limit
* fix: clientid string not working
* fix: add emqx_mod_trace to module
* fix(trace): fixed by review suggestions
2021-11-11 14:54:40 +08:00
Zaiming Shi
42695a2f9a
chore: remove external contributors as maintainers
...
Big thank you to Raymond M Mouthaan and Huang Rui
2021-11-02 18:25:25 +01:00
zhanghongtong
75fac32c12
docs(docker): fix invalid links
2021-10-09 09:16:45 +08:00
Mohammad Yosefpor
1ae3f8c204
fix: Running on Openshift clusters with restricted writable filesystem containers
2021-09-16 18:57:44 +04:30
William Yang
e78967cfc3
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-03 10:10:10 +02:00
Parham Alvani
e5c4277109
fix: Correct Issues
2021-08-12 14:24:12 +08:00
Parham Alvani
45b9f682b2
feat: Expose Internal MQTT Service
2021-08-12 14:24:12 +08:00
William Yang
f3bd1f1c3a
fix(helm-chart): make podManagementPolicy configurable
2021-08-12 11:04:14 +08:00
William Yang
ced8693043
fix(helm-chart): start/stop pods in parallel
2021-08-12 11:04:14 +08:00
zhanghongtong
ed53b859d9
feat(helm): add externalIPs to chart
2021-08-05 10:57:32 +08:00
zhanghongtong
e87838f272
docs(docker): fix env name error
2021-06-24 14:46:34 +08:00
zhanghongtong
f18b9a92bc
chore(CI): delete needless link when build packages
2021-06-23 21:38:30 +08: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