Commit Graph

249 Commits

Author SHA1 Message Date
Ivan Dyachkov 1e26408812 ci: fix publish artifacts 2024-01-30 20:38:46 +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
Zaiming (Stone) Shi ccb289974a ci: in 'prepare' step, make clean-all before fetch deps 2023-05-05 21:02:48 +02:00
Ivan Dyachkov 69d1a34461 ci: move scheduled builds to a separate workflow
so that we trigger the scheduled builds on both master and release-50
2023-05-04 19:15:27 +02:00
Ivan Dyachkov 3b5ac8321d ci: bump emqx-builder to 5.0-34 to fix el9 build 2023-04-17 21:02:07 +02:00
Serge Tupchii 761847b74a ci: update emqx-builders with OTP 24.3.4.2-3 and 25.1.2-3
These OTP versions implement mnesia_hook:unregister_hook/1
2023-03-23 11:59:43 +02:00
Ivan Dyachkov d13d54fb81 ci: emqx-builder 5.0-32 2023-03-15 19:08:51 +01:00
Ivan Dyachkov 7f71ccbf25 ci: use aws-actions/configure-aws-credentials@v2
to address EOL of Node.js 12
2023-03-15 14:22:19 +01:00
Ivan Dyachkov d337814c08 ci: tmp fix for build packages
- do not build raspbian9 and raspbian10 packages
- install krb5-devel in el9 (to be fixed in builder)
2023-03-14 19:55:03 +01:00