Commit Graph

698 Commits

Author SHA1 Message Date
Ivan Dyachkov
8d138d2525 ci: build slim packages on macos arm64 2022-11-20 15:56:16 +01:00
Zaiming (Stone) Shi
c559334e69 ci: fix windows build 2022-11-20 09:13:58 +01:00
Zaiming (Stone) Shi
c3777e4920 ci: avoid using 'include' for elixir builds
prior to this change the elixir builds matrix dimensions were 'included'
cusing it to build for enterprise eidtion

use exclude instead.

also removed otp from the artifact upload name, leave only profile,
so there is no need to 'include' with a '-windows' suffix for
windows package uploads
2022-11-20 09:06:54 +01:00
Zaiming (Stone) Shi
03d3d1d65a ci: exclude raspbian all together
the 'exclude' matrix prior to this change had raspbian all
excluded anyway.
2022-11-20 08:50:11 +01:00
Zaiming (Stone) Shi
c878c20499 ci: exclude enterprise tag for windows builds 2022-11-20 08:49:05 +01:00
Zaiming (Stone) Shi
f0f34be1a4 Merge remote-tracking branch 'zmstone/1117-release-only-default-otp' into dev/ee5.0 2022-11-19 14:07:58 +01:00
Zaiming (Stone) Shi
e4a4956c19 ci: fix find-apps.sh default printout 2022-11-18 21:18:14 +01:00
Zaiming (Stone) Shi
83fe35b148 Merge remote-tracking branch 'origin/dev/ee5.0' into 1116-sync-v5.0.10-to-ee50 2022-11-18 19:23:31 +01:00
Zaiming (Stone) Shi
aeac9bf43f ci: refactor, find-app.sh produced matrix 2022-11-18 19:22:02 +01:00
Zaiming (Stone) Shi
3d75a1db3b ci: refactor run_test_cases to prepare ce and ee source zips 2022-11-18 13:17:31 +01:00
Zaiming (Stone) Shi
36404a52ab ci: add DIAGNOSTIC=1 to inspect rebar3 error 2022-11-18 12:59:27 +01:00
Zaiming (Stone) Shi
95f3df9a10 ci: ensure docker-compose up erlang container with root when test Kafka 2022-11-18 00:12:48 +01:00
Zaiming (Stone) Shi
5dd343f558 ci: release only the default packages 2022-11-17 21:56:40 +01:00
Zaiming (Stone) Shi
7c8ed59edd ci: add back the profile matrix for elixir_release build 2022-11-16 18:30:49 +01:00
Zaiming (Stone) Shi
09455edae8 Merge tag 'v5.0.10' into dev/ee5.0 2022-11-16 16:20:30 +01:00
Ivan Dyachkov
70c52f43cc ci: enable manual trigger on release workflow 2022-11-16 14:28:47 +01:00
Ivan Dyachkov
d54597e0d4 ci: fix version for push-helm-action 2022-11-16 12:44:18 +01:00
Zaiming (Stone) Shi
155d4a9818 ci: fix yaml syntax 2022-11-09 19:11:48 +01:00
Zaiming (Stone) Shi
d9573a5f43 Merge remote-tracking branch 'origin/master' into release-v50 2022-11-09 18:24:11 +01:00
Zaiming (Stone) Shi
7f2fb0ea57 ci: fix artifacts upload for linux build 2022-11-09 13:02:50 +01:00
Zaiming (Stone) Shi
493b91782d ci: fix upload artifacts path 2022-11-09 11:54:24 +01:00
firest
6ef7123bb9 chore: bump OTP version 2022-11-09 09:53:03 +08:00
Thales Macedo Garitezi
04588148b7 test(influxdb): increase influxdb bridge/connector coverage (ee5.0) 2022-11-07 15:15:49 -03:00
Zaiming (Stone) Shi
a3794c1de0
Merge pull request #9304 from emqx/av-5.x-update-remaining-action-to-latest-version
chore(actions): update version for leftover action
2022-11-04 20:16:01 +01:00
Ivan Dyachkov
c4e731fbd2
Merge pull request #9300 from id/ci-fix-helm-chart-upload-on-release
ci: fix helm chart upload on releases
2022-11-04 16:59:09 +01:00
Traphalet
1d18c51d4a chore(actions): update version for leftover action 2022-11-04 10:29:34 +02:00
Ivan Dyachkov
7401cec712 ci: fix helm chart upload on releases
emqx/push-helm-action requires access to charts in the source tree,
but we do not run checkout in the main job
2022-11-03 13:04:59 -07:00
Ivan Dyachkov
7ff7fb5a23 ci: bump login action version 2022-11-01 16:23:26 +01:00
Ivan Dyachkov
881a91a788 ci: build elixir images for ce only 2022-11-01 15:57:23 +01:00
Traphalet
f920ff341b ci(actions): update git actions to latest versions 2022-10-28 15:53:26 +03:00
Shawn
4135910b42 chore: merge master into dev/ee5.0 2022-09-26 09:52:33 +08:00
Ivan Dyachkov
fe80dccf9b build: extract macos packaging into reusable action 2022-09-19 19:25:27 +02:00
zhouzb
25b29de821
Merge pull request #8921 from Rory-Z/ci/fix-helm-push-error
ci(helm): fix helm push error
2022-09-14 09:21:31 +08:00
Ivan Dyachkov
cb5be71165
Merge pull request #8897 from emqx/build-sign-macos-binaries
build: sign binary files in macos package
2022-09-13 16:31:32 +02:00
Zaiming (Stone) Shi
4534966e36 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-09-13 12:16:54 +02:00
Rory Z
b3355ff035 chore(helm): rename emqx-ee helm chart to emqx-enterprise 2022-09-13 17:43:00 +08:00
Zaiming (Stone) Shi
d4e8a5377c ci: run spellcheck 0.4.0 2022-09-13 09:45:37 +02: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
Ivan Dyachkov
7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
Rory Z
a58529edec ci(helm): fix helm push error 2022-09-08 09:32:59 +08:00
Rory Z
c40b95de35 ci(docker): add edition for docker image labels 2022-09-07 10:42:54 +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
Zaiming (Stone) Shi
f785da075b ci: only start required docker for integration tests 2022-09-06 19:25:53 +02:00
Thales Macedo Garitezi
3d4afd65df feat: add mongodb bridge (e5.0) 2022-09-01 14:47:14 -03:00
Zaiming (Stone) Shi
5a3fb4a011 Merge remote-tracking branch 'origin/master' into dev/ee5.0 2022-08-31 17:11:15 +02:00
Shawn
edb2e7574f fix: don't update manifest if not an exact tag 2022-08-25 11:46:27 +08:00
Shawn
d854ceb91a fix: exclude 'emqx-enterprise' when publish docker images 2022-08-25 09:11:22 +08:00
JianBo He
995115d56f
Merge pull request #8601 from Rory-Z/master
ci: use action to update helm repo
2022-08-23 09:05:19 +08:00
Xinyu Liu
5f7dc431b4
Merge pull request #8718 from emqx/master
merge master into dev/ee5.0
2022-08-15 08:58:20 +08:00
Zaiming (Stone) Shi
150465a600 ci: run eunit and proper tests per build profile 2022-08-14 19:07:40 +02:00
Shawn
b3162fe5ff fix: conflicts between master and ee5.0 2022-08-14 22:24:09 +08:00
Zaiming (Stone) Shi
d63d6b5f27 ci: do not run opensource edition test for lib-ee apps 2022-08-13 21:04:48 +02:00
Zaiming (Stone) Shi
4949fb222e ci(test): do not fail coverdata uppload if no file found
the optional make <app>-ct action should not fail the
following upload action
2022-08-13 19:09:41 +02:00
Zaiming (Stone) Shi
fbb97b16be ci: test all apps with dual profile
no need to test emqx-enterprise profile if the
EMQX_RELEASE_EDITION compilation flag is not used though
2022-08-12 16:21:22 +02:00
Rory Z
54298183fb ci: do not push enterprise image to aws ecr 2022-08-12 09:50:50 +08:00
JimMoen
d51ca2672a fix: spellcheck and update checker repo version 2022-08-09 11:50:05 +08:00
firest
0f8e80afb8 chore: fix ci workflows error 2022-08-09 11:22:53 +08:00
Rory Z
a831ab40b1 ci: use action to update helm repo 2022-07-29 10:26:37 +08:00
zhouzb
ccc734c6ee
Merge pull request #8382 from zmstone/0701-upload-rpm-and-deb-from-slim-builds
ci: upload deb and rpm packages from slim build jobs too
2022-07-26 09:34:20 +08:00
Rory Z
96a45205c4
Merge pull request #8541 from Rory-Z/master
chore: update docker entry point, support dns cluster in k8s
2022-07-25 09:42:37 +08:00
Rory Z
7b270db8d9 chore: update docker entry point, support dns cluster in k8s 2022-07-22 10:18:30 +08:00
Thales Macedo Garitezi
e45422b220 ci(mac): drop macos 10.15
Github is dropping support for macos 10.15 in its CI at 2022-08-30.
2022-07-21 11:59:03 -03:00
JimMoen
ab17fd80e7 ci: common test add redis-sentinel 2022-07-13 10:37:16 +08:00
Zaiming (Stone) Shi
97731c61ec
Merge pull request #8430 from zmstone/0706-publish-5.0-docker-images-to-ecr
ci: publish 5.0 images to ecr
2022-07-06 14:42:30 +01:00
Zaiming (Stone) Shi
1c48be07c7 ci: publish 5.0 images to ecr 2022-07-06 13:53:56 +02:00
Thales Macedo Garitezi
8296e004a0 refactor(ci): use more generic script 2022-07-05 09:01:00 -03:00
Thales Macedo Garitezi
b56be77ee7 fix(docker): avoid tagging elixir image as latest 2022-07-04 17:02:52 -03:00
Zaiming (Stone) Shi
e0f8b83b1d ci: fix GitHub action syntax .github/workflows/run_relup_tests.yaml 2022-07-03 12:06:34 +02:00
Zaiming (Stone) Shi
6072d49b2c ci: ignore relup test if no old version is found 2022-07-02 19:57:31 +02:00
Zaiming (Stone) Shi
afbbd33496 ci: fix cron triggered cross-build 2022-07-02 19:49:37 +02: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
1d8fbc7c50
Merge pull request #8373 from HJianBo/fix-make-coverall
Test: fix make coverall
2022-07-02 07:24:39 +01:00
Zaiming (Stone) Shi
8383e592cd
ci: delete empty var 2022-07-02 08:23:58 +02:00
Thales Macedo Garitezi
4bf2fad52a ci(release): fix release step script 2022-07-01 14:10:59 -03:00
Zaiming (Stone) Shi
9db86e7c39 ci: upload deb and rpm packages from slim build jobs too 2022-07-01 14:45:59 +02:00
JianBo He
e464c3890e chore: get coverall logs 2022-07-01 13:52:07 +08:00
Zaiming (Stone) Shi
550441a131 build: release default package names 2022-07-01 07:46:20 +02:00
Zaiming (Stone) Shi
ea399e11d5 ci: release elixir build on el8 instead of el7 2022-07-01 07:43:03 +02:00
Zaiming (Stone) Shi
114d784d1a refactor: move scripts/relup-base-vsns.sh to sub-dir 2022-07-01 07:43:03 +02:00
Zaiming (Stone) Shi
bdb370bf4e ci: ensure git safe dir for cross-build prepare stage 2022-07-01 07:43:03 +02:00
Rory Z
270aeb01d8 ci: fix build error 2022-07-01 11:51:50 +08:00
Rory Z
ee66e872a3 ci: fix build error 2022-07-01 11:33:22 +08:00
JianBo He
094ed05897
Merge pull request #8351 from HJianBo/compatible-password-field
Authn: backword compatibility for 4.x authn data
2022-07-01 11:10:59 +08:00
JianBo He
3696c3d333 chore: print coverall fails log 2022-07-01 09:51:37 +08:00
Zhongwen Deng
b3ec3c9dfb chore: reformat mix.exs 2022-06-30 21:41:16 +08:00
Zaiming (Stone) Shi
84d2fde987
ci: fix relup log upload path (in case of failure)
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-06-29 14:41:16 +02:00
Zaiming (Stone) Shi
2af6290040 ci: fix work dir 2022-06-29 09:50:30 +02:00
Zaiming (Stone) Shi
e16fdef6bf ci: upload less data in build artifacts 2022-06-29 08:00:55 +02:00
Zaiming (Stone) Shi
8b7fc490ae refactor: run relup test nodes in individual docker containers
When running EMQX in lux shell inside a docker container
the node won't boot due to load_failed for redbug modules
reason is still unknown
2022-06-29 07:10:45 +02:00
Zaiming (Stone) Shi
184b337e84 chore: add a script to run relup lux test locally 2022-06-28 10:54:07 +02:00
Zaiming (Stone) Shi
f7a2112a5a ci: define package name instead of globing 2022-06-27 22:22:35 +02:00
Zaiming (Stone) Shi
5c7298eb41 ci: fix wrong upload dir in case of relup test falure 2022-06-27 20:06:49 +02:00
Zaiming (Stone) Shi
4ecff7bd32 ci: fix base package download url 2022-06-27 19:42:43 +02:00
Zaiming (Stone) Shi
46e5127b15 ci: fix type in ci job output 2022-06-27 15:49:27 +02:00
Zaiming (Stone) Shi
129915a199 ci: fix build output name 2022-06-27 15:20:34 +02:00
Zaiming (Stone) Shi
1ba3ae9a44 chore: build emqx packages in one go 2022-06-27 15:11:17 +02: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
0d6c4e0996 Merge remote-tracking branch 'xinyu/fix_relup_testcases' into 0623-fix-relup 2022-06-24 06:00:16 +02:00
Zaiming (Stone) Shi
6aeb73821f ci: relup test upload packages after falure 2022-06-23 23:11:51 +02:00
Zaiming (Stone) Shi
bcefec1935 ci: fix relup test 2022-06-23 21:59:43 +02:00
Shawn
9ec88198cb fix: remove one_more_emqx.sh from the relup.lux 2022-06-23 09:14:57 +08:00
Shawn
5d81f159d6 fix(CI): syntax errors in run_relup_tests.yaml 2022-06-22 14:53:34 +08:00
Shawn
08207c086c fix: update integration testcases for relup 2022-06-22 11:56:57 +08:00
Rory Z
7980aa316e ci: fix spell error 2022-06-18 10:03:34 +08:00
Rory Z
e986a6f2b4 ci: fix docker multi arch push error 2022-06-18 09:57:25 +08:00
Rory Z
e7ffe10966 ci: fix docker push error 2022-06-18 08:52:44 +08:00
Zaiming (Stone) Shi
420bc17c05 ci: delete arm from manifset merge job 2022-06-18 02:15:57 +02:00
Zaiming (Stone) Shi
8deff722e4 ci: no ecr registry for now 2022-06-18 01:56:01 +02:00
Zaiming (Stone) Shi
aa7148fbc6 ci: adjust matrix dimensions order 2022-06-18 01:50:27 +02:00
Zaiming (Stone) Shi
9d6b81ccf4 ci: fix bad matrix dimensions for elixir docker image build 2022-06-18 01:34:53 +02:00
Zaiming (Stone) Shi
2b4085fe4d ci: use prepare step generated value to decide 'latest' docker tag 2022-06-18 01:21:00 +02:00
Zaiming (Stone) Shi
140216a67b ci: always need to login docker registry before push 2022-06-18 01:05:53 +02:00
Zaiming (Stone) Shi
797964a3f7 ci: add profile as input for build_packages workflow 2022-06-18 00:57:54 +02:00
Zaiming (Stone) Shi
536b056b01 ci: build only one profile at a time 2022-06-18 00:49:06 +02:00
Zaiming (Stone) Shi
12b96702f4 ci: use raw value for docker tags
resolve docker tag from git tag
2022-06-18 00:28:36 +02:00
Zaiming (Stone) Shi
fb54617dba ci: fix profile resolution 2022-06-17 23:41:37 +02:00
Zaiming (Stone) Shi
c1fdfcc2d7 ci: make possilbe to manually build specific profile 2022-06-17 23:32:12 +02:00
Zaiming (Stone) Shi
d1b2ea80d2 ci: fix github workflow syntax 2022-06-17 22:25:04 +02:00
Zaiming (Stone) Shi
61b984c031 ci: fix github workflow syntax 2022-06-17 22:24:08 +02:00
Zaiming (Stone) Shi
56de8af04f ci: fix github workflow syntax 2022-06-17 22:23:20 +02:00
Zaiming (Stone) Shi
ee5e402bab ci: fix workflow yaml syntax 2022-06-17 22:16:15 +02:00
Zaiming (Stone) Shi
28c6f70aa3 ci: push docker images at git tag event 2022-06-17 20:06:40 +02:00
Zaiming (Stone) Shi
ec8f3834b7 ci: upload windows package 2022-06-17 13:57:51 +02:00
Zaiming (Stone) Shi
72cbe5c831
Merge pull request #8244 from zmstone/0616-pin-quic-0.0.12-make-user-of-build-cache
0616 pin quic 0.0.12 make use of build cache
2022-06-16 14:10:19 +01: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
Zaiming (Stone) Shi
b3182609c3 ci: delete dpes cache from github work-flows 2022-06-16 13:07:27 +02:00
Rory Z
780bda2803 feat(helm): support dns cluster 2022-06-16 18:48:27 +08:00
Zaiming (Stone) Shi
ddf5d5c6a6
ci: add codeball review
Experimental!
2022-06-16 11:12:12 +02:00
Zaiming (Stone) Shi
7715feb3e4 ci: ensure macos github runner installs coreutils 2022-06-16 07:53:20 +02:00
Zaiming (Stone) Shi
c8170f6a50 ci: disable quicer build cache fro cross-build jobs 2022-06-16 01:00:11 +02:00
Zaiming (Stone) Shi
2d61de777b ci: upload artifacts for all builds (not just tags) 2022-06-15 14:30:05 +02:00
William Yang
d49a75ae28 chore: don't build quic on MacOS 2022-06-13 13:09:20 +02:00
Shawn
f18eab402a fix(CI): don't use any authz sources when testing 2022-06-10 14:21:20 +08:00
Zaiming (Stone) Shi
7b559193d1
Merge pull request #8054 from Rory-Z/ci/change-base-image
build(docker): change docker base image to debian
2022-06-07 10:25:08 +01: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
Zhongwen Deng
cd91b4b582 fix: dialyzer never match warning 2022-06-07 10:47:40 +08:00
Zaiming (Stone) Shi
fc4d9e4dcd ci: use emqx-builder 5.0-16
Fixed openssl compatibility issue
2022-06-06 10:54:26 +02:00
Ilya Averyanov
a6911517aa fix(ci): set explicit version for system-wide Erlang 2022-06-02 15:08:20 +03:00
Ilya Averyanov
0893a36dec fix(authn): removed explicit chain creation for security reasons 2022-06-02 14:03:19 +03:00
ieQu1
83e5ec9b2d chore(ci): Bump emqx-schema-validate to 0.3.3 2022-05-31 18:00:33 +02:00
Zaiming (Stone) Shi
d249c2c22e
Merge pull request #8056 from thalesmg/move-db-config
chore(config): move db configs under cluster/node keys
2022-05-28 08:09:15 +01:00
Thales Macedo Garitezi
d93977ccd3
ci(elixir): use MIX_ENV profiles for machine boot checks
With the change to using `MIX_ENV` for choosing a profile, the CI
check became out of date.
2022-05-27 09:07:46 -03:00
Zaiming (Stone) Shi
ebe4d7c3fb refactor: stop releasing edge edition
Prior to EMQX 5.0, the edge edition's main difference comaring
to standard edition are:
* Less number of plugins in the release (smaller package size)
* Smaller number is vm.args (for lower memory usage)

Starting from 5.0 most of the plugins are included as features,
the tuned vm.args arguments does not justify a special release edition.

Also as nanomq is getting mature,
EMQ's recommendtation for MQTT broker in edge is https://nanomq.io/
2022-05-26 20:05:46 +02:00
Thales Macedo Garitezi
e8d37a26da
fix(ci): run workaround before starting
line-break check was failing before:

```
Run ./scripts/check-nl-at-eof.sh
  ./scripts/check-nl-at-eof.sh
  shell: sh -e {0}
fatal: unsafe repository ('/__w/emqx/emqx' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/emqx/emqx
```
2022-05-26 14:02:22 -03:00
Shawn
eea9bd90b4 fix: remove the extra level of 'emqx' dir from .tar.gz 2022-05-25 02:00:01 +08:00
JianBo He
aae5e55e21 ci: upload all cover files 2022-05-19 14:13:53 +08:00
ieQu1
02eaaace20
Merge pull request #7965 from ieQu1/ci-avoid-duplicate-git-conf
ci: Avoid adding duplicate entries to git config
2022-05-16 18:59:29 +02:00
ieQu1
12860bf87b ci: Avoid adding duplicate entries to git config 2022-05-16 12:54:48 +02:00
Shawn
5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00