Commit Graph

337 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 35131457c0 Merge remote-tracking branch 'origin/dev/v4.4.9' into main-v4.4 2022-09-19 09:49:13 +02:00
Zaiming (Stone) Shi 68d28fdcdd build(update-appup.sh): fix usage info 2022-09-18 11:32:34 +02:00
Thales Macedo Garitezi 68dadf4ea8 chore: fix xref errors 2022-09-16 09:31:14 -03:00
Zaiming (Stone) Shi 3c852098d7 Merge tag 'v4.3.20' into main-v4.3 2022-09-16 12:54:00 +02:00
Ivan Dyachkov ed34108644 build: sign macos binaries 2022-09-16 10:21:56 +02:00
Thales Macedo Garitezi d3c291c4d0 Merge remote-tracking branch 'origin/main-v4.3' into merge-v43-into-v44-h 2022-09-15 10:13:47 -03:00
Zaiming (Stone) Shi f2f14573d3
Merge pull request #8865 from qzhuyan/ci/william/add-xref-escript
Ci/william/add xref escript
2022-09-15 14:16:32 +02:00
Zaiming (Stone) Shi eba6d33b49 Merge tag 'v4.3.20-alpha.2' into dev/v4.4.9 2022-09-15 09:42:04 +02:00
Zaiming (Stone) Shi ab21801449 ci: exclude v4.3.13 for centos8 2022-09-15 09:07:20 +02:00
Zaiming (Stone) Shi 2fbb79f84f build: do not skip downloading relup base package
do not skip downloading only because of curl error
for known missing base packages, we should list them in the script
2022-09-15 09:07:20 +02:00
Zaiming (Stone) Shi 20ddd4557f refactor: no need for the --system flag for buildx.sh 2022-09-14 20:54:25 +02:00
Zaiming (Stone) Shi 30a02c74dc build: allow passing ssh agent to docker run in buildx.sh 2022-09-14 20:54:25 +02:00
Zaiming (Stone) Shi 05129bd919 refactor: rename check scripts to start with 'check-' 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi 4ff34e3188 ci: ensure chart version is in sync with the release version 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi c005cff7a6 chore: syn scripts from ee back to ce 2022-09-14 15:40:21 +02:00
Zaiming (Stone) Shi 0606a55a03 chore: print warning messages to standard_error 2022-09-14 12:48:13 +02:00
Zaiming (Stone) Shi 1013f221e0 Merge remote-tracking branch 'origin/dev/v4.3.20' into dev/v4.4.9 2022-09-12 09:25:07 +02:00
Thales Macedo Garitezi 9e122f38b9 ci(fix): fix check for appup coverage
Before:

```elixir
iex(14)> :re.run('4.3.10', "4\\.3\\.[0-4]", [{:capture, :first, :list}])
{:match, ['4.3.1']}
```
2022-09-09 13:21:05 -03:00
William Yang 432eae6e55 ci(xref): support emqx-ee profile 2022-09-07 10:22:46 +02:00
William Yang 9dd5e26ddf ci(xref): handle no_such_module 2022-09-02 10:27:31 +02:00
William Yang fef088220c ci(xref): handle non-existing apps/modules 2022-09-02 10:06:09 +02:00
William Yang 8b6b9a0d20 ci(xref): excl release related modules 2022-09-01 11:52:09 +02:00
William Yang aee1350b1d ci(xref): remove reqplayq 2022-09-01 08:54:55 +02:00
William Yang eed5a24e40 ci(xref): don't check observer 2022-09-01 08:47:28 +02:00
William Yang 5d91deb83e ci: add escript xref check
Check all the released modules
2022-08-29 14:33:48 +02:00
Thales Macedo Garitezi 5aa8ff86ff fix: windows relup is not supported 2022-08-25 13:10:51 -03:00
Thales Macedo Garitezi f40fcdd036 ci: pass down `$SYSTEM` for relup base versions escript
`relup-base-versions.escript` needs to know the system the package is
being built for to correctly enumerate the base versions for relup.
2022-08-25 10:23:52 -03:00
Thales Macedo Garitezi c30ba73af1 refactor: store entries as multiple tuples 2022-08-23 17:55:14 -03:00
Thales Macedo Garitezi 81b0844f03 fix: compare parsed versions 2022-08-23 17:49:31 -03:00
Thales Macedo Garitezi c52286a20a refactor: store db as list and rename file to `relup-paths.eterm` 2022-08-23 12:46:07 -03:00
Thales Macedo Garitezi 54a6674b08 style: fix indentation 2022-08-22 17:33:24 -03:00
Thales Macedo Garitezi 6f40405242 ci: add relup version db 2022-08-22 17:22:37 -03:00
zhongwencool 7a72e85555 Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-08-19 23:09:31 +08:00
zhongwencool 8f40d7befd chore: bump dashboard to v4.4.5/v4.4.15 2022-08-19 16:56:20 +08:00
zhongwencool 50f1d241dc chore: bump dashboard to v4.3.10/v4.3.24 2022-08-19 16:54:23 +08:00
zhongwencool 940ceb570d Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-08-19 10:53:48 +08:00
Ilya Averyanov 9064b5acb8 chore(ci): make apps-version-check.sh accept new apps 2022-08-12 17:44:26 +03:00
Zaiming (Stone) Shi e7f8e00aa4 ci: remove -S option for env 2022-08-10 09:01:39 +02:00
Zaiming (Stone) Shi eca211373f Merge remote-tracking branch 'origin/dev/v4.3.18' into dev/v4.4.7 2022-08-08 16:39:09 +02:00
Thales Macedo Garitezi c533f58ee5 fix: rm non-portable `env` option
On some systems, like `centos7`, `env` does not have a `-S` option.
2022-08-03 17:47:11 -03:00
Zaiming (Stone) Shi ef1b7e97bf ci: use lux from emqx-builder/4.4-19:24.1.5-3-ubuntu20.04 2022-08-03 15:33:16 +02:00
Zaiming (Stone) Shi f47d952d82 Merge main-4.3 to 0803-sync-v4.3-to-v4.4 2022-08-03 13:41:11 +02:00
Zaiming (Stone) Shi ddd6f066e4 chore: run escript in compile mode 2022-08-03 10:41:45 +02:00
Zaiming (Stone) Shi e74a97013e build: fix relup app overwrite escript
the rel file name is always emqx.rel, has nothing to do with profile
2022-08-03 10:01:20 +02:00
Zaiming (Stone) Shi a162196719
Merge pull request #8511 from qzhuyan/ci/william/4.3-new-otp-23.3
[WIP] ci: [4.3 only] release with OTP 23.3
2022-08-02 13:28:41 +01:00
William Yang 8835296c7a ci(rel): intro. rel_otp_apps.eterm 2022-08-02 09:59:33 +02:00
William Yang b17078b93f fix(otp23.3): OTP app overwrites support emqx-edge 2022-08-02 09:59:33 +02:00
zhouzb d2dda69729 chore: update dashboard vsn 2022-07-30 12:29:36 +08:00
zhouzb 499e794a59
Merge pull request #8614 from emqx/main-v4.3
Sync 4.3 to 4.4
2022-07-30 12:25:15 +08:00
zhouzb 3a62935205 chore: update dashboard vsn 2022-07-30 12:18:55 +08:00
William Yang 3655ea050c build(relup): overwrite OTP vers of upgrade bases 2022-07-23 00:46:47 +02:00
Shawn 2ab2c39fdc chore: update emqx-builder to 4.4-18 2022-07-20 15:21:00 +08:00
zhongwencool 9512b31703
Merge branch 'main-v4.4' into sync-4.3-to-4.4 2022-07-19 16:06:52 +08:00
zhouzb b400ccdeb4 chore(relup): download relup base version packages from s3 2022-07-19 15:09:04 +08:00
zhongwencool 3248cb92e8 Merge branch 'main-v4.3' into sync-4.3-to-4.4 2022-07-19 11:02:11 +08:00
JimMoen 1180eca04d chore: update dashboard version 2022-07-18 14:11:02 +08:00
JimMoen 2366794c2f chore: update dashboard version 2022-07-18 14:09:27 +08:00
zhouzb d2774935df chore(relup): fix bad url 2022-07-12 14:50:59 +08:00
zhouzb fe56985eec chore(relup): download relup base version packages from s3 2022-07-12 14:30:50 +08:00
Zaiming (Stone) Shi 0e4626aab3 ci: app version check script should also check include dir 2022-07-02 11:35:47 +02:00
Thales Macedo Garitezi 03649cc3f3 chore: copy `.tool-versions` when calculating appups
This can make it simpler to ensure the same OTP version that builds
the current checkout will match the one that builds the appup base,
since one may change the version locally.
2022-07-01 13:05:29 -03:00
Shawn a365c40765 chore: update dashboard version 2022-06-28 10:39:37 +08:00
Xinyu Liu 6a9b68f9ef
Merge pull request #8334 from emqx/main-v4.3
merge main-v4.3 into main-v4.4
2022-06-28 10:36:42 +08:00
Shawn 343770ce52 chore: update dashboard version 2022-06-28 10:29:01 +08:00
Thales Macedo Garitezi b93a0743ac Merge branch 'main-v4.3' into 'main-v4.4' 2022-06-15 10:48:02 -03:00
Zaiming (Stone) Shi 3a17fb2522
Merge pull request #8204 from zmstone/0612-build-exclude-sub-build-dirs
build: add strict-semver version bump check for apps
2022-06-13 19:33:06 +01:00
Zaiming (Stone) Shi 100aeda83b build: add strict-semver version bump check for apps 2022-06-13 17:46:06 +02:00
Zaiming (Stone) Shi 215286760a build: ignore _build sub-dir in release dir 2022-06-12 21:07:13 +02:00
Thales Macedo Garitezi 6a5c896f56
ci(relup): fix: follow URL redirects when checking for package existence 2022-06-09 11:51:02 -03:00
JianBo He 25be198d2a Merge tag 'v4.3.15-rc.4' into merge-main-v4.3-into-v4.4 2022-05-31 22:07:57 +08:00
DDDHuang a96984d280 feat: dashboard v4.4.11 for ee 4.4.4 2022-05-30 11:34:55 +08:00
DDDHuang e1150e36a2 feat: dashboard v4.3.20 for ee 4.3.10 2022-05-30 11:30:23 +08:00
JianBo He 39518f5e27 Merge tag 'v4.4.3' into merge-main-v4.3-into-v4.4 2022-05-27 18:08:08 +08:00
Zaiming (Stone) Shi dbe4ff7b02 Merge tag 'v4.4.2' into rebuild-v4.4.3 2022-05-27 10:15:02 +02:00
JianBo He b0c00df867 Merge remote-tracking branch 'stone/0525-ci-pin-builder-4.4-12' into merge-main-v4.3-into-v4.4 2022-05-27 11:16:01 +08:00
Zaiming (Stone) Shi 3029e2b243 ci: For 4.4, release package on OTP 24 only 2022-05-27 03:16:57 +02:00
Zaiming (Stone) Shi 94092bc52e ci: ensure _build dir is owned by root
so the git command can run without safe.directory config for
cloned dependencies
2022-05-27 00:59:31 +02:00
Zaiming (Stone) Shi a403c9ff91 ci: pin emqx-buider 4.4-12
Centos/Rockylinux had troulbe booting because OpenSSL version
was too new (1.1.1n).

builder 4.4-12 has
* Centos7: only one version (1.1.1k) OpenSSL installed
* Centos8: go back to use default OpenSSL (1.1.1k)
2022-05-26 19:33:04 +02:00
Zaiming (Stone) Shi 29622558c5 ci: pin emqx-buider 4.4-12
Centos/Rockylinux had troulbe booting because OpenSSL version
was too new (1.1.1n).

builder 4.4-12 has
* Centos7: only one version (1.1.1k) OpenSSL installed
* Centos8: go back to use default OpenSSL (1.1.1k)
2022-05-26 18:04:01 +02:00
JianBo He c5349cef64 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-05-26 11:18:15 +08:00
Zaiming (Stone) Shi 1bebbd6ee5 fix(emqx_os_mon): ensure alarm is deactivated on unsupported platforms 2022-05-25 16:21:53 +02:00
Zaiming (Stone) Shi 0400638f71 feat(update_appup.escript): allow skipped versions
Say app current version is 1.1.2, and the compare baes is
version 1.1.1, but there is a 1.1.2 in appup.

We may skip updating appup instructions for 1.1.2
as it's never used, (at least not in EMQX)
2022-05-25 15:36:12 +02:00
Shawn 433d74254e chore: dashboard v4.4.10 2022-05-23 23:24:32 +08:00
Xinyu Liu 211fee3035
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-05-23 23:19:19 +08:00
Shawn 41331c5c1a chore: release 4.3.15-rc.1 2022-05-23 22:26:20 +08:00
Zaiming (Stone) Shi 4b0fe016f3 build(macos): do not depend on gsed 2022-05-07 08:35:46 +02:00
Zaiming (Stone) Shi ea7f845d9f Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-04-29 20:21:44 +02:00
Thales Macedo Garitezi 0cfeca9d90
fix(update_appup): clean untracked nested git directories
Since the script copies the current workdir into the temporary
directory for the previous build, when we latter try to clean the
directory, `git clean -fdx` refuses to clean the folders of some
dependencies:

```
+ git clean -fdx
Skipping repository _build/default/lib/lc
```

So, if the branch contains a dependency with changed version, it'll
not be picked up by the script, as both versions will be identical and
hence have no `.appup` difference.
2022-04-28 11:09:25 -03:00
Zaiming (Stone) Shi 4330edd674 fix(appup): bump to 4.4.4-beta.1
also fix emqx appup instructions
2022-04-23 11:50:07 +02:00
Zaiming (Stone) Shi 42aa0e5d0a chore: add debug output to update-appup.sh 2022-04-23 10:43:58 +02:00
JimMoen 09a100fc2d chore: apps version check ignore comments in erl/hrl file 2022-04-16 12:10:52 +08:00
JimMoen 8f13a96788 chore: ignore comments and blank lines when app version checking 2022-04-14 11:23:25 +08:00
JianBo He f8080ed71b Merge tag 'v4.3.14-rc.2' into merge-main-v4.3-into-v4.4 2022-04-12 13:47:11 +08:00
Zaiming (Stone) Shi d205cb6fc0 build: make centos6 happy 2022-04-08 14:26:03 +02:00
JianBo He 7461484b9e Merge tag 'v4.3.14-rc.1' into merge-main-v4.3-into-v4.4
Version v4.3.14-rc.1
2022-04-08 19:29:30 +08:00
JimMoen 3c67947c82 chore: update dashboard for 4.4 2022-04-08 14:26:35 +08:00
JimMoen 7f5abdfd5b chore: update dashboard version 2022-04-08 14:22:53 +08:00
Zaiming (Stone) Shi f3a7c75871 Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.4.3 2022-04-06 13:24:37 +02:00
Zaiming (Stone) Shi d6d232a7dd chore: make get-distro.sh aware of windows 2022-04-04 14:35:11 +02:00
Zaiming (Stone) Shi a54813dd69 fix(appup): re-generate appup from 4.3.13 2022-04-02 23:00:41 +02:00