k32
a60d230f28
ci(spellcheck): Use a different action
2022-02-21 14:32:49 +01:00
Zaiming (Stone) Shi
1aa9abdb4d
chore: relocate tests.sh
2022-02-21 12:22:53 +01:00
Ilya Averyanov
2aeb1bc0e8
Merge pull request #7059 from savonarola/elixir-stylecheck
...
chore(codestyle): add formatting check for Elixir code
2022-02-21 11:43:14 +03:00
Ilya Averyanov
634d861b90
chore(codestyle): add formatting check for Elixir code
2022-02-18 19:43:48 +03:00
k32
1c62c6e60b
docs: Add documentation for the sysmon roots
2022-02-18 16:26:18 +01:00
k32
ef0da4fc70
ci: Spellcheck documentation in the CI
2022-02-18 13:32:33 +01: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
Rory Z
70ce5cbab3
Merge pull request #6929 from Rory-Z/ci/push-multiarch-image-for-aws-ecr-5.0
...
ci(build_packages): push muilt arch image for aws ecr
2022-02-17 11:45:30 +08:00
zhanghongtong
093e7c3282
build(relup): add new script for download relup base packages
2022-02-16 18:23:02 +01:00
zhanghongtong
3875d5c0e2
ci(build_packages): fix the "if" for push aws ecr image
2022-02-08 16:41:16 +08:00
Ilya Averyanov
17599432d1
feat(license): add license application
2022-02-07 19:05:47 +03:00
zhanghongtong
b6e3f66622
ci(build_packages): tag and push aws ecr image when after push docker image
2022-02-07 17:54:30 +08:00
zhanghongtong
420591d09a
ci(build_packages): push muilt arch image for aws ecr
2022-02-07 16:09:09 +08:00
Thales Macedo Garitezi
a37ee6aa05
fix(flaky_test): improve helm test preparation check
2022-02-03 09:44:10 -03:00
William Yang
c9561478ac
ci(build-cache): elixir build cache
2022-02-02 12:33:35 +01:00
Zaiming (Stone) Shi
8f5f58500c
chore(stale_bot): exempt 'Enhancement' label
2022-02-01 16:55:11 +01:00
William Yang
a2223836b9
Merge pull request #6908 from qzhuyan/ci/william/remove-centos8-support
...
ci: remove centos8 support
2022-02-01 16:11:25 +01:00
William Yang
5c36143186
ci: remove centos8 support
...
due to centos8 EOL
2022-02-01 15:22:41 +01:00
William Yang
978abe1798
ci: fix jobs triggers
2022-02-01 13:04:52 +01:00
William Yang
fd23581dc0
Merge pull request #6880 from qzhuyan/ci/william/aws-arm64-runner
...
ci: use aws arm64 runner in cross build jobs
2022-02-01 09:05:58 +01:00
William Yang
d2a7e549a2
ci(docker): update for the elixir parts
2022-01-31 16:22:43 +01:00
William Yang
c00ca8e083
ci(docker): build cache for elixir
2022-01-31 16:14:24 +01:00
Thales Macedo Garitezi
6165ed010a
fix(ci): fix branch wildcard syntax
2022-01-31 10:50:20 -03:00
Thales Macedo Garitezi
d4a16fc94a
Merge pull request #6887 from emqx/mix-use-mix_env
...
chore(mix): use MIX_ENV to define build profile and edition
Instead of reading some environment variables to define the build profile for the Elixir build, we use the MIX_ENV value to emulate Rebar3's profiles. Also, that makes the build output directory more similar to EMQ X's current scheme.
2022-01-31 10:38:00 -03:00
William Yang
9a5c5a7776
ci: fix include
2022-01-31 10:33:36 +01:00
Thales Macedo Garitezi
a597e92576
chore(mix): use MIX_ENV to define build profile and edition
2022-01-28 17:24:35 -03:00
William Yang
5206824743
ci: push docker image on my own branch
2022-01-28 19:37:01 +01:00
William Yang
177d42cad4
ci(docker): scripts/docker-create-push-manifests.sh
2022-01-28 19:37:01 +01:00
William Yang
06cf419f02
ci: build arm64 in aws self-hosted
2022-01-28 19:36:59 +01:00
William Yang
528817d620
ci: enable ci tests on pushes.
...
- Secure tests on master branch after merge.
- Improve build cache hit rates
Due to security reason, github only allow reuse cache from
- same branch
- base branch
- default branch
Branch Feature-A could not reuse the cache from Feature-B
- Developers could run the workflow in their own forked repo
before make the PR, this could relieve the runners on upstream repo
2022-01-28 18:33:53 +01: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
Zaiming (Stone) Shi
97c0f92fcf
ci: pin emqx-fvt ref 1.0.4-dev2
2022-01-26 23:32:21 +01:00
Thales Macedo Garitezi
a88af8fcbc
ci(cache): use cache for elixir in fvt workflow
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
506dad169a
chore(elixir_otp): bump emqx-builder images
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
e157064e24
fix(ci): use correct condition to build docker images
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
06e31830fb
fix(ci): use tgz and elixir package name
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
aa1a1a7bb1
chore(ci): update CI container images
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
a974221ffa
chore(mix): split elixir docker image build into separate step
2022-01-26 16:59:50 -03:00
Thales Macedo Garitezi
9c68f4bd11
fix(tgz): replace zip with tgz after rebase
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
1240c40364
chore(ci): build only a few zips with elixir, build docker image with
...
elixir
2022-01-26 16:59:49 -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
f66462ca6b
chore(ci): cache rocksdb+quicer for elixir packages
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
59f0d5f537
chore(mix): use flag instead of elixirpkg to denote package type
...
Also, add Makefile target to build zip files with Elixir.
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
fca0d2bfd8
fix(ci): split elixir package building into own step
...
Since the job step may run out of execution time, by separating the
Elixir build from the traditional one may prevent timeouts.
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
ba6d4e4a19
fix(ci): raspbian arch is arm, not arm64
2022-01-26 16:59:49 -03:00
Thales Macedo Garitezi
e874ec2b36
chore(images): use new image in more CI workflows
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
f24b3f416e
ci(mix): build slim packages 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
d44c6eedfd
ci: find relup base version using a script
2022-01-26 18:29:55 +01:00
Zaiming (Stone) Shi
b44b090d9e
ci: get package version per profile
2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
5d6136fddb
ci: test both ce and ee upgrade
2022-01-26 14:25:59 +01:00
Zaiming (Stone) Shi
391e480824
build: parameterise package version
...
so that community and enterprise edition can be built from the
same branch
2022-01-26 14:25:59 +01:00
JimMoen
31edd49f76
fix(topic_metrics): `POST` `PUT` need response
2022-01-20 10:15:06 +08:00
William Yang
a67c463e8c
ci: fix typo
2022-01-18 09:47:25 +01:00
William Yang
b347769721
ci: fix indentation in yaml
2022-01-18 09:37:28 +01:00
William Yang
451324300b
ci: speed up run_test_case jobs with cache
2022-01-17 08:33:15 +01:00
William Yang
bf376afb5a
ci: speedup all test jobs with build cache
2022-01-14 10:07:46 +01:00
Zaiming (Stone) Shi
38c0b7766c
ci: fix emqx build profile to s3 dir mapping
2022-01-13 22:39:40 +01:00
Zaiming (Stone) Shi
5263f59f0e
ci: rename artifact id in api tests flow
2022-01-13 20:28:21 +01:00
Zaiming (Stone) Shi
2faa3fb4cd
ci: build test package from latest builder image
2022-01-13 18:54:01 +01:00
Zaiming (Stone) Shi
ecd7ea0a2f
ci: change to build and test with .tar.gz instead of .zip packages
2022-01-13 18:54:01 +01:00
William Yang
fa59141d6d
Merge pull request #6741 from qzhuyan/ci/william/mac-cache-otp-install
...
ci(mac): cache otp install only
2022-01-13 14:55:08 +01:00
William Yang
30d119d3a9
ci(mac): cache otp install only
...
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-13 11:41:45 +01:00
William Yang
1306946eb1
ci(cross-build-package): revert build cache for docker img
...
- The docker img use os: alpine, it is unliked to hit a cache.
- The build cache method casue the tag get overwritten among multi
arch builds
2022-01-13 11:26:34 +01:00
William Yang
56859a7fb0
Merge pull request #6716 from qzhuyan/ci/william/build-cache-for-cross-build-packages
...
build cache for cross build packages
2022-01-12 15:22:05 +01:00
William Yang
e388ad1b21
ci(build-cache): add scripts/get-dep-refs.sh
2022-01-12 11:58:50 +01:00
xiangfangyang-tech
62c1f21eff
Merge pull request #6710 from xiangfangyang-tech/autotest_broker_test
...
chore(autotest): add autotest broker test git-action script
2022-01-12 17:05:37 +08:00
xiangfangyang-tech
c398b75292
chore(autotest): add git action script for automate tests
2022-01-12 10:26:59 +08:00
William Yang
5312aa4a93
ci(cross-build-package): docker build with cache
2022-01-11 17:05:45 +01:00
Zaiming (Stone) Shi
32ac720064
ci: exclude edge + rlog test
2022-01-11 15:13:49 +01:00
k32
6a1ada8623
Merge pull request #6691 from k32/bpapi-run-check
...
test(bpapi): Run static checks in CI
2022-01-11 13:25:06 +01:00
William Yang
7520620a08
ci(cross_build_packages): use cache
2022-01-11 11:42:19 +01:00
k32
12e61c4bd3
test(dialyzer): Disable separate static checks workflow
2022-01-11 11:26:35 +01:00
k32
5ef3f37c26
test(bpapi): Only run static checks on ubuntu
2022-01-11 11:26:35 +01:00
k32
26f4b2495b
test(bpapi): Run verification in CI
2022-01-11 11:26:35 +01:00
William Yang
06abc0d552
Merge pull request #6688 from qzhuyan/ci/william/build-cache-slim-packages
...
Ci/william/build cache slim packages
2022-01-11 10:58:31 +01:00
William Yang
e54b1e0581
ci(build_slim_packages): reenable mac build
2022-01-11 09:58:04 +01:00
William Yang
11daef4ab3
ci: use build cache for build_slim_packages
2022-01-11 09:58:01 +01:00
Zaiming (Stone) Shi
8a92b9dafa
docs: update Windows build instructions
2022-01-10 12:15:23 +01:00
Thales Macedo Garitezi
9059f2005a
fix(elixir): put Patch in version and add missing deps
...
Elixir requires that we use version of the form `Major.Minor.Patch`.
Also, Mix requires dependecies to be declared in `rebar.config` so it
can include the header files correctly.
2022-01-06 10:54:45 -03:00
JimMoen
9a115b99a4
Merge remote-tracking branch 'emqx/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-06 14:08:45 +08:00
zhanghongtong
46eeeb36cc
ci(static checks): timed trigger static check
2022-01-05 17:29:45 +01:00
JimMoen
7ae3c93892
chore(test): update api test script version
2022-01-05 14:37:25 +08:00
Zaiming (Stone) Shi
eae2e3ad0c
Merge remote-tracking branch 'origin/master' into merge-5.0-beta.3-to-master
2022-01-04 21:11:30 +01:00
Zaiming (Stone) Shi
5df382f054
Merge pull request #6598 from zmstone/ci-port-changes-from-4.4
...
[5.0] CI port changes from 4.4
2022-01-04 18:52:25 +01:00
Zaiming (Stone) Shi
05ccedd8ec
Merge remote-tracking branch 'origin/master' into merge-5.0-beta.3-to-master
2022-01-04 17:32:50 +01:00
Zaiming (Stone) Shi
77652b9858
ci: refactor package build & test jobs
2022-01-04 17:28:53 +01:00
Thales Macedo Garitezi
93cdf318c7
fix(ci): setup mix before running check
2022-01-04 13:28:03 -03:00
Zaiming (Stone) Shi
8ba059bcd7
Merge pull request #6631 from emqx/rm-mix-lock
...
ci(mix): rm mix.lock from repo
2022-01-04 17:26:30 +01:00
Zaiming (Stone) Shi
55a94256c7
ci: build mac package only when labeled with 'mac'
2022-01-04 16:50:00 +01:00
Thales Macedo Garitezi
d78e9429f3
ci(mix): rm mix.lock from repo
...
While Mix is not the main build tool, we remove the commited
`mix.lock` file to reduce friction when updating dependencies, since
it requires remembering to run `mix deps.get` to update the
`mix.lock`, used by a CI check in
`scripts/check-elixir-deps-discrepancies.exs`. We change said script
to produce the required file on the fly.
2022-01-04 12:10:58 -03:00
Zaiming (Stone) Shi
503bf54c77
test(authz): fix meck calls
...
f
2022-01-04 13:54:25 +01:00
xiangfangyang-tech
14f8f5d5d1
chore(autotest): add git-action script
2022-01-04 15:19:06 +08:00
xiangfangyang-tech
8060a962f1
chore(autotest): add git-action script
2022-01-04 15:12:23 +08:00
Thales Macedo Garitezi
f947bf6f98
ci(stale): increase number of operations per run
...
Since we currently have lots of issues, this may help with reaching
the 2nd page of issues.
2022-01-03 13:25:10 -03:00
Thales Macedo Garitezi
1454374b25
ci(stale): avoid spending operations on pull requests
...
We are interested in using stale actions only for issues, and
currently there's no clear/clean way of making it not enumerate pull
requests. As a workaround, we attempt to minimize the number of
operations spent on pull requests by making it run only on pull
requests which have an inexistent tag, thus skipping all PRs.
2022-01-03 13:11:33 -03:00
Zaiming (Stone) Shi
719800914a
Merge branch 'ci-run-dialyzer-on-slef-hosted' into merge-5.0-beta.3-to-master
2022-01-03 16:23:11 +01:00
Zaiming (Stone) Shi
b98a00c35d
ci: run dialyzer check on self-hosted runner
2022-01-03 16:07:14 +01:00