Commit Graph

256 Commits

Author SHA1 Message Date
Ivan Dyachkov
da3835c83f ci: fix sha256 task in build packages 2024-03-04 19:29:28 +01:00
Ivan Dyachkov
d360661143 ci: make profile required field when triggering build packages manually 2024-02-21 12:57:06 +01:00
Ivan Dyachkov
9017d6afc3 ci: use buildx in build_packages 2024-02-15 16:37:21 +01:00
Ivan Dyachkov
56d0de8453 ci: bump actions versions 2024-02-15 16:37:20 +01:00
Ivan Dyachkov
a68cc8fde2 ci: build binaries for each arch of docker image separately
to speed up the build process, we build the binaries for multi-arch
docker image on the instances with corresponding architecture first,
then assemble the final docker image
2024-02-14 12:49:54 +01:00
Ivan Dyachkov
54fda58698 ci: use v3 artifacts actions in build packages 2024-02-02 08:49:25 +01:00
Ivan Dyachkov
92ef848b30 ci: fix publish artifacts 2024-02-02 08:48:56 +01:00
Ivan Dyachkov
0a0bf3123b ci: bump actions versions 2024-01-17 15:18:03 +01:00
Ivan Dyachkov
4c9078d05f ci: pin more dependencies 2024-01-11 22:08:38 +01:00
Ivan Dyachkov
beb70265a6 ci: downgrade actions/checkout and actions/upload-artifact version in build_packages
Starting from v4.0.0 actions/checkout has been using node20 runtime.
On Amazon Linux 2, EL7 and Ubuntu 18.04 GLIBC it's too old for node to run:
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
2024-01-11 18:23:14 +01:00
Ivan Dyachkov
f65ab9b48c ci: fix actions/upload-artifact v4 compatibility 2024-01-11 16:52:42 +01:00
Ivan Dyachkov
e1944739e9 ci: restrict token permissions and pin deps 2024-01-11 11:34:44 +01:00
Zaiming (Stone) Shi
ca60ef86ce ci: upgrade to otp 26.2.1-2 2024-01-11 09:15:06 +01:00
Serge Tupchii
c77cd690b8 ci: upgrade to OTP-26.1.2-3 (mnesia:match_delete/2 function added) 2024-01-10 16:23:54 +02:00
Zaiming (Stone) Shi
e45ed3d97d ci: upgrade to otp 26 2023-12-14 22:22:01 +01:00
Ivan Dyachkov
f1f62d3af1 ci: stop building packages for macos-11 2023-11-22 09:48:08 +01:00
Zaiming (Stone) Shi
55d1b07a41 ci: remove windows from CI
Starting from v5.4.0, we will stop release windows packages.
The windows build scripts are still around, will be deleted
in follow-up PRs
2023-11-21 19:36:38 +01:00
Ivan Dyachkov
4495054714 ci: optimize runners usage
- always use github runners for lightweight jobs
- prefer self-hosted runners in private forks
- prefer self-hosted runners for workflows with large matrix
2023-11-02 16:13:31 +01:00
Ivan Dyachkov
8e7edaf745 ci: limit retention on all artifacts 2023-11-02 16:13:31 +01:00
Ivan Dyachkov
41dba71901 chore: emqx-builder 5.2-3 2023-10-20 16:26:53 +02:00
Ivan Dyachkov
fb6b02c1ea ci: explicitly specify architecture in runner labels 2023-10-17 18:57:46 +02:00
Ivan Dyachkov
9a881290b9 ci: use ephemeral self hosted runners 2023-10-05 13:33:51 +02:00
Zaiming (Stone) Shi
b7587fe48e ci: add -y to apt update 2023-09-29 13:31:46 +02:00
Serge Tupchii
bac0f7107c chore: bump OTP to 25.3.2-2 and EMQX builder to 5.1-4 2023-08-23 19:35:36 +03:00
Ivan Dyachkov
d6476481c9 ci(packages): run publish_artifacts on github hosted runner to get sudo 2023-08-10 07:58:57 +02:00
Ivan Dyachkov
c35ad653f3 ci: process both string and boolean values of inputs.publish 2023-08-09 09:33:17 +02:00
Ivan Dyachkov
92d4f6cb0b ci: pass secrets to docker and packages workflows 2023-08-09 09:22:55 +02:00
Thales Macedo Garitezi
1ca202fef7 ci: fix build package script
Since the runner changed from `ubuntu-22.04` to self hosted runner, `sudo` is no longer
passwordless.
2023-08-08 15:49:34 -03:00
Ivan Dyachkov
ec75fa32cf ci: use git ref for workflow concurrency detection 2023-08-06 14:16:56 +02:00
Ivan Dyachkov
a32b8fd21f ci: use single entry point for push event 2023-08-06 14:16:56 +02:00
Ivan Dyachkov
362235021c ci: refactor workflows to use single entry point on pull request trigger 2023-08-06 14:16:56 +02:00
Ivan Dyachkov
2594998fd0 ci: self-hosted runners for build-packages 2023-07-18 17:12:20 +02:00
Ivan Dyachkov
2b5bd9f183 ci: separate steps to build and test packages 2023-07-18 17:12:18 +02:00
Ivan Dyachkov
cfcdc094b5 ci: always upload artefacts on build_packages 2023-07-18 16:15:10 +02:00
Ivan Dyachkov
f541fc3e3d feat: build debian12 packages 2023-07-18 16:15:10 +02:00
Thales Macedo Garitezi
99378355ea ci: bump builder image -> 5.1-3 2023-07-18 09:00:29 -03:00
Ivan Dyachkov
a43bf5e4fa ci: release Amazon Linux 2023 packages 2023-07-10 16:21:56 +02:00
zhongwencool
85d787f561
Merge pull request #11017 from id/0612-ci-fix-matrix-dimensions-in-build-packages
ci: fix matrix dimensions in build_packages
2023-06-12 17:51:36 +08:00
Ivan Dyachkov
7a78df1660 ci: fix matrix dimensions in build_packages 2023-06-12 09:03:30 +02:00
Thales Macedo Garitezi
683b4d2f0f ci: upgrade setup-beam -> v1.15.4 2023-06-09 10:39:02 -03:00
Zaiming (Stone) Shi
9c1f77d733 ci: upgrade to otp 25.3.2-1 and elixir 1.14.5 2023-06-02 18:01:09 +02:00
Zaiming (Stone) Shi
b5e1bc4cc8 ci: check ping output in windows package start/stop test 2023-05-23 14:10:19 +02:00
Ivan Dyachkov
a264827b78 ci: emqx-builder 5.0-35 2023-05-15 08:14:22 +02:00
Ivan Dyachkov
b3a989970d ci: move package upload to packagecloud.io to release workflow
Fixes #10693
2023-05-14 15:19:46 +02:00
Ivan Dyachkov
b688ec6ef8 ci: ensure git safe dir in build_packages 2023-05-08 14:54:08 +02:00
Zaiming (Stone) Shi
429d193af7 ci: github action boolean in env check 'true' string 2023-05-05 23:58:24 +02:00
Zaiming (Stone) Shi
a7f8e33321 ci: no need to prepare source zip
source.zip was need in v4 enterprise because the rebar3 deps
fetch had to be done in the github runner host, but not inside
the runner docker containers.

now that all dependencies are opensource, there is no need for
this step any more.
2023-05-05 22:57:16 +02:00
Zaiming (Stone) Shi
22815d4cec ci(buildx): use a special builder value to indicate host build 2023-05-05 22:20:34 +02:00
Zaiming (Stone) Shi
e739e3cadb ci: ensure == compare is not empty on the left 2023-05-05 21:49:15 +02:00
Zaiming (Stone) Shi
1765c429c0 ci: use cd instead of pushd 2023-05-05 21:38:47 +02:00